Changeset 5cff464 in flex_extract.git
- Timestamp:
- Oct 20, 2022, 8:22:51 PM (18 months ago)
- Branches:
- dev
- Children:
- c31ee05
- Parents:
- 73d2e4e
- Location:
- Source/Python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/_config.py
r01bd8aa r5cff464 17 17 # - modified to account for changes on Bologna servers, 18 18 # e.g. queue names and hostnames 19 # August 2022 - Anne Tipka (formerly Philipp) 20 # - changed name of compilejob.ksh to compilejob.sh 19 21 # 20 22 # @License: … … 92 94 FILE_USER_ENVVARS = 'ECMWF_ENV' 93 95 TEMPFILE_INSTALL_COMPILEJOB = 'installscript.template' 94 FILE_INSTALL_COMPILEJOB = 'compilejob. ksh'96 FILE_INSTALL_COMPILEJOB = 'compilejob.sh' 95 97 TEMPFILE_INSTALL_JOB = 'jobscript.template' 96 98 TEMPFILE_JOB = 'submitscript.template' -
Source/Python/install.py
r01bd8aa r5cff464 94 94 from Mods.tools import (make_dir, put_file_to_ecserver, submit_job_to_ecserver, 95 95 silent_remove, execute_subprocess, none_or_str, 96 overwrite_lines_in_file, check_for_string_in_file) 96 overwrite_lines_in_file, check_for_string_in_file, 97 submit_sbatch_job) 97 98 98 99 # ------------------------------------------------------------------------------ … … 114 115 c.assign_args_to_control(args) 115 116 check_install_conditions(c) 116 117 117 118 if c.install_target.lower() not in ['local', 'syslocal']: # ecmwf servers e.g. ecgate (ecs) and hpc 118 119 install_via_gateway(c) … … 206 207 mk_compilejob(c.makefile, c.ecuid, c.installdir) 207 208 208 mk_job_template(c.ecuid, c. ecgid, c.installdir)209 mk_job_template(c.ecuid, c.installdir) 209 210 210 211 mk_env_vars(c.ecuid, c.ecgid, c.gateway, c.destination) … … 214 215 put_file_to_ecserver(_config.PATH_FLEXEXTRACT_DIR, tarball_name) 215 216 216 submit_job_to_ecserver(c.install_target, 217 os.path.join(_config.PATH_REL_JOBSCRIPTS, 218 _config.FILE_INSTALL_COMPILEJOB)) 217 submit_sbatch_job(os.path.join(_config.PATH_REL_JOBSCRIPTS, 218 _config.FILE_INSTALL_COMPILEJOB)) 219 220 # submit_job_to_ecserver(c.install_target, 221 # os.path.join(_config.PATH_REL_JOBSCRIPTS, 222 # _config.FILE_INSTALL_COMPILEJOB)) 219 223 220 224 silent_remove(tar_file)
Note: See TracChangeset
for help on using the changeset viewer.