Changeset 3574 for trunk/LMDZ.COMMON/libf/dyn3dpar
- Timestamp:
- Jan 13, 2025, 4:52:20 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/gcm.F
r3316 r3574 27 27 & ecritstart 28 28 use cpdet_mod, only: ini_cpdet 29 use version_info_mod, only: print_version_info 29 30 30 31 … … 134 135 character (len=20) :: modname 135 136 character (len=80) :: abort_message 137 character(100) :: arg ! To read command-line arguments 136 138 ! locales pour gestion du temps 137 139 INTEGER :: an, mois, jour … … 156 158 c Initialisations: 157 159 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 ' 169 &//'is unknown!' 170 end select 171 endif 158 172 159 173 abort_message = 'last timestep reached'
Note: See TracChangeset
for help on using the changeset viewer.