Changeset 3836 for trunk/LMDZ.COMMON/libf/dyn3d
- Timestamp:
- Jul 7, 2025, 2:46:43 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/dyn3d/gcm.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/gcm.F90
r3615 r3836 30 30 USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, & 31 31 itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end 32 use version_info_mod, only: print_version_info32 use parse_args_mod, only: parse_args 33 33 34 34 … … 134 134 character (len=20) :: modname 135 135 character (len=80) :: abort_message 136 character(100) :: arg ! To read command-line arguments137 136 ! locales pour gestion du temps 138 137 INTEGER :: an, mois, jour … … 144 143 ! Initialisations: 145 144 ! ---------------- 146 147 if (command_argument_count() > 0) then ! Get the number of command-line arguments 148 call get_command_argument(1,arg) ! Read the argument given to the program 149 select case (trim(adjustl(arg))) 150 case('version') 151 call print_version_info() 152 stop 153 case default 154 error stop "The argument given to the program is unknown!" 155 end select 156 endif 145 ! Parse command-line options 146 call parse_args() 157 147 158 148 abort_message = 'last timestep reached'
Note: See TracChangeset
for help on using the changeset viewer.
