Changeset 3869 for trunk/LMDZ.COMMON/libf/misc/parse_args_mod.F90
- Timestamp:
- Jul 28, 2025, 4:56:58 PM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/misc/parse_args_mod.F90
r3837 r3869 12 12 13 13 use pgrm_version_mod, only: print_pgrm_version 14 use job_id_mod, only: get_job_id 14 15 use job_timelimit_mod, only: get_job_timelimit 15 16 … … 30 31 !---- Variables 31 32 integer :: narg, i, eq_pos 32 character(256) :: arg, key, vlu 33 character(256) :: arg, key, vlu, jobid 33 34 34 35 !---- Code … … 73 74 write(*,*) 'SSO fields will be included in "start_archive.nc"' 74 75 75 case ('--jobid') 76 call get_job_timelimit(vlu) 76 case ('--auto-exit') 77 call get_job_id(jobid) 78 call get_job_timelimit(jobid) 77 79 78 80 case default … … 93 95 write(*,*) ' --version [file] Print program version and exit (optional output file)' 94 96 write(*,*) ' --add-sso Add SSO fields to "start_archive.nc" (only available for Mars start2archive)' 95 write(*,*) ' --jobid <id> Query the time limit for the specified job ID,' 96 write(*,*) ' enabling self-termination before timeout (only available for the PEM)' 97 write(*,*) ' --auto-exit Enable automatic termination before reaching the job time limit (only available for the PEM)' 97 98 write(*,*) 98 99 END SUBROUTINE print_usage
Note: See TracChangeset
for help on using the changeset viewer.