- Timestamp:
- Mar 8, 2020, 2:49:02 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- a54f79b
- Parents:
- f127aee (diff), 50f9ca6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- Source/Python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Mods/checks.py
r0f89116 r50f9ca6 479 479 ''' 480 480 if queue in _config.QUEUES_LIST and \ 481 (not gateway or not destination or 482 not ecuid or not ecgid): 483 raise ValueError('\nEnvironment variables GATEWAY, DESTINATION, ECUID ' 481 (not ecuid or not ecgid): 482 raise ValueError('\nEnvironment variables ECUID ' 484 483 'and ECGID were not set properly! \n ' 485 484 'Please check for existence of file "ECMWF_ENV" ' 486 485 'in the run directory!') 486 elif queue in _config.QUEUES_LIST and \ 487 (not gateway or not destination): 488 print('WARNING: Parameters GATEWAY and DESTINATION were ' 489 'not properly set for working on ECMWF server. \n' 490 'There will be no transfer of output files to the ' 491 'local gateway server possible!') 487 492 return 488 493 -
Source/Python/install.py
r0f89116 r50f9ca6 285 285 286 286 if c.install_target and c.install_target != 'local': 287 if not c.ecgid or not c.ecuid or \ 288 not c.gateway or not c.destination: 289 print('Please enter your ECMWF user id and group id as well ' + 290 'as the \nname of the local gateway and the ectrans ' + 291 'destination ') 292 print('with command line options --ecuid --ecgid \ 293 --gateway --destination') 287 if not c.ecgid or not c.ecuid: 288 print('Please enter your ECMWF user id and group id ' 289 ' with command line options --ecuid --ecgid') 294 290 print('Try "' + sys.argv[0].split('/')[-1] + \ 295 291 ' -h" to print usage information') 296 print('Please consult ecaccess documentation or ECMWF user \297 support for further details')292 print('Please consult ecaccess documentation or ECMWF user ' 293 'support for further details.\n') 298 294 sys.exit(1) 299 295 if not c.gateway or not c.destination: 296 print('WARNING: Parameters GATEWAY and DESTINATION were ' 297 'not properly set for working on ECMWF server. \n' 298 'There will be no transfer of output files to the ' 299 'local gateway server possible!') 300 300 if not c.installdir: 301 301 c.installdir = '${HOME}'
Note: See TracChangeset
for help on using the changeset viewer.