Changeset 3836 for trunk/LMDZ.COMMON/libf/dyn3dpar
- Timestamp:
- Jul 7, 2025, 2:46:43 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/gcm.F
r3615 r3836 27 27 & ecritstart 28 28 use cpdet_mod, only: ini_cpdet 29 use version_info_mod, only: print_version_info29 use parse_args_mod, only: parse_args 30 30 31 31 … … 135 135 character (len=20) :: modname 136 136 character (len=80) :: abort_message 137 character(100) :: arg ! To read command-line arguments138 137 ! locales pour gestion du temps 139 138 INTEGER :: an, mois, jour … … 158 157 c Initialisations: 159 158 c ---------------- 160 161 if (command_argument_count() > 0) then ! Get the number of command-line arguments 162 call get_command_argument(1,arg) ! Read the argument given to the program 163 select case (trim(adjustl(arg))) 164 case('version') 165 call print_version_info() 166 stop 167 case default 168 error stop 'The argument given to the program is ' 169 &//'unknown!' 170 end select 171 endif 159 ! Parse command-line options 160 call parse_args() 172 161 173 162 abort_message = 'last timestep reached'
Note: See TracChangeset
for help on using the changeset viewer.