|
61 | 61 | from easybuild.tools.build_log import init_logging, log_start, print_msg, print_warning, raise_easybuilderror |
62 | 62 | from easybuild.tools.config import CONT_IMAGE_FORMATS, CONT_TYPES, DEFAULT_CONT_TYPE, DEFAULT_ALLOW_LOADED_MODULES |
63 | 63 | from easybuild.tools.config import DEFAULT_BRANCH, DEFAULT_ENV_FOR_SHEBANG, DEFAULT_ENVVAR_USERS_MODULES |
64 | | -from easybuild.tools.config import DEFAULT_FORCE_DOWNLOAD, DEFAULT_INDEX_MAX_AGE |
65 | | -from easybuild.tools.config import DEFAULT_JOB_BACKEND, DEFAULT_LOGFILE_FORMAT, DEFAULT_MAX_FAIL_RATIO_PERMS |
| 64 | +from easybuild.tools.config import DEFAULT_FORCE_DOWNLOAD, DEFAULT_INDEX_MAX_AGE, DEFAULT_JOB_BACKEND |
| 65 | +from easybuild.tools.config import DEFAULT_JOB_EB_CMD, DEFAULT_LOGFILE_FORMAT, DEFAULT_MAX_FAIL_RATIO_PERMS |
66 | 66 | from easybuild.tools.config import DEFAULT_MINIMAL_BUILD_ENV, DEFAULT_MNS, DEFAULT_MODULE_SYNTAX, DEFAULT_MODULES_TOOL |
67 | 67 | from easybuild.tools.config import DEFAULT_MODULECLASSES, DEFAULT_PATH_SUBDIRS, DEFAULT_PKG_RELEASE, DEFAULT_PKG_TOOL |
68 | 68 | from easybuild.tools.config import DEFAULT_PKG_TYPE, DEFAULT_PNS, DEFAULT_PREFIX, DEFAULT_PR_TARGET_ACCOUNT |
@@ -798,6 +798,7 @@ def job_options(self): |
798 | 798 | 'cores': ("Number of cores to request per job", 'int', 'store', None), |
799 | 799 | 'deps-type': ("Type of dependency to set between jobs (default depends on job backend)", |
800 | 800 | 'choice', 'store', None, [JOB_DEPS_TYPE_ABORT_ON_ERROR, JOB_DEPS_TYPE_ALWAYS_RUN]), |
| 801 | + 'eb-cmd': ("EasyBuild command to use in jobs", 'str', 'store', DEFAULT_JOB_EB_CMD), |
801 | 802 | 'max-jobs': ("Maximum number of concurrent jobs (queued and running, 0 = unlimited)", 'int', 'store', 0), |
802 | 803 | 'max-walltime': ("Maximum walltime for jobs (in hours)", 'int', 'store', 24), |
803 | 804 | 'output-dir': ("Output directory for jobs (default: current directory)", None, 'store', os.getcwd()), |
|
0 commit comments