Changeset 3836 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jul 7, 2025, 2:46:43 PM (2 weeks ago)
- Location:
- trunk/LMDZ.GENERIC/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/newstart.F
r3621 r3836 50 50 & latitude, ! latitudes (rad) 51 51 & cell_area ! physics grid area (m2) 52 use version_info_mod, only: print_version_info52 use parse_args_mod, only: parse_args 53 53 54 54 implicit none … … 192 192 193 193 194 if (command_argument_count() > 0) then ! Get the number of command-line arguments 195 call get_command_argument(1,txt) ! Read the argument given to the program 196 select case (trim(adjustl(txt))) 197 case('version') 198 call print_version_info() 199 stop 200 case default 201 error stop 'The argument given to the program is ' 202 &//'unknown!' 203 end select 204 endif 194 ! Parse command-line options 195 call parse_args() 205 196 206 197 c sortie visu pour les champs dynamiques -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/start2archive.F
r3576 r3836 39 39 & east_gwstress, west_gwstress 40 40 use exner_hyb_m, only: exner_hyb 41 use version_info_mod, only: print_version_info41 use parse_args_mod, only: parse_args 42 42 43 43 implicit none … … 148 148 c Initialisations 149 149 c----------------------------------------------------------------------- 150 if (command_argument_count() > 0) then ! Get the number of command-line arguments 151 call get_command_argument(1,txt) ! Read the argument given to the program 152 select case (trim(adjustl(txt))) 153 case('version') 154 call print_version_info() 155 stop 156 case default 157 error stop 'The argument given to the program is ' 158 &//'unknown!' 159 end select 160 endif 150 ! Parse command-line options 151 call parse_args() 161 152 162 153 CALL defrun_new(99, .TRUE. ) -
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/kcm1d.F90
r3716 r3836 22 22 use dimphy, only : init_dimphy 23 23 use gases_h, only: ngasmx 24 use version_info_mod, only: print_version_info24 use parse_args_mod, only: parse_args 25 25 26 26 implicit none … … 111 111 integer :: k 112 112 113 character(100) :: arg ! To read command-line arguments114 113 115 114 ! -------------- 116 115 ! Initialisation 117 116 ! -------------- 118 if (command_argument_count() > 0) then ! Get the number of command-line arguments 119 call get_command_argument(1,arg) ! Read the argument given to the program 120 select case (trim(adjustl(arg))) 121 case('version') 122 call print_version_info() 123 stop 124 case default 125 error stop 'The argument given to the program is unknown!' 126 end select 127 endif 117 ! Parse command-line options 118 call parse_args() 128 119 129 120 pi=2.E+0*asin(1.E+0) -
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r3788 r3836 43 43 & nf90_strerror,NF90_INQ_VARID, NF90_GET_VAR, 44 44 & NF90_CLOSE 45 use version_info_mod, only: print_version_info45 use parse_args_mod, only: parse_args 46 46 !use inichim_1D_mod, only: inichim_1D 47 47 !use initracer_1D_mod, only: initracer_1D … … 169 169 c INITIALISATION 170 170 c======================================================================= 171 if (command_argument_count() > 0) then ! Get the number of command-line arguments 172 call get_command_argument(1,txt) ! Read the argument given to the program 173 select case (trim(adjustl(txt))) 174 case('version') 175 call print_version_info() 176 stop 177 case default 178 error stop 'The argument given to the program is ' 179 &//'unknown!' 180 end select 181 endif 171 ! Parse command-line options 172 call parse_args() 182 173 183 174 ! check if 'rcm1d.def' file is around
Note: See TracChangeset
for help on using the changeset viewer.