Changeset 5cff464 in flex_extract.git for Source/Python/install.py
- Timestamp:
- Oct 20, 2022, 8:22:51 PM (19 months ago)
- Branches:
- dev
- Children:
- c31ee05
- Parents:
- 73d2e4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.