Changeset 3574 for trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
- Timestamp:
- Jan 13, 2025, 4:52:20 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3400 r3574 21 21 use mod_const_mpi, only: init_const_mpi 22 22 use parallel_lmdz, only: init_parallel 23 use version_info_mod, only: print_version_info 23 24 24 25 implicit none … … 77 78 real, dimension(:,:,:), allocatable :: q ! tracer mixing ratio (e.g. kg/kg) 78 79 real, dimension(1) :: wstar = 0. ! Thermals vertical velocity 80 character(100) :: arg ! To read command-line arguments 79 81 80 82 ! Physical and dynamical tendencies (e.g. m.s-2, K/s, Pa/s) … … 100 102 ! INITIALISATION 101 103 !======================================================================= 104 if (command_argument_count() > 0) then ! Get the number of command-line arguments 105 call get_command_argument(1,arg) ! Read the argument given to the program 106 select case (trim(adjustl(arg))) 107 case('version') 108 call print_version_info() 109 stop 110 case default 111 error stop 'The argument given to the program is unknown!' 112 end select 113 endif 114 102 115 #ifdef CPP_XIOS 103 116 call init_const_mpi
Note: See TracChangeset
for help on using the changeset viewer.