Changeset dba4221 in flexpart.git for src/FLEXPART.f90
- Timestamp:
- Nov 9, 2022, 4:50:39 PM (18 months ago)
- Branches:
- bugfixes+enhancements
- Children:
- 8ad70c7
- Parents:
- 49e63b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FLEXPART.f90
r49e63b9 rdba4221 44 44 implicit none 45 45 46 integer :: i, j,ix,jy,inest, iopt46 integer :: i, j, ix, jy, inest, iopt 47 47 integer :: idummy = -320 48 48 character(len=256) :: inline_options !pathfile, flexversion, arg2 … … 62 62 ! FLEXPART version string 63 63 flexversion_major = '10' ! Major version number, also used for species file names 64 flexversion='Version '//trim(flexversion_major)//'.4.1 (202 0-08-05)'64 flexversion='Version '//trim(flexversion_major)//'.4.1 (2022-11-09)' 65 65 verbosity=0 66 66 … … 69 69 70 70 inline_options='none' 71 select case ( iargc())71 select case (command_argument_count()) ! Portable standard Fortran intrinsic procedure 72 72 case (2) 73 call get arg(1,arg1)73 call get_command_argument(1,arg1) ! Portable standard Fortran intrinsic procedure 74 74 pathfile=arg1 75 call get arg(2,arg2)75 call get_command_argument(2,arg2) ! Portable standard Fortran intrinsic procedure 76 76 inline_options=arg2 77 77 case (1) 78 call get arg(1,arg1)78 call get_command_argument(1,arg1) ! Portable standard Fortran intrinsic procedure 79 79 pathfile=arg1 80 80 if (arg1(1:1).eq.'-') then … … 90 90 print*,'Welcome to FLEXPART ', trim(flexversion) 91 91 print*,'FLEXPART is free software released under the GNU General Public License.' 92 92 93 93 94 94 ! Ingest inline options … … 112 112 endif 113 113 if (trim(inline_options).eq.'-i') then 114 115 116 114 print*, 'Info mode: provide detailed run specific information and stop' 115 verbosity=1 116 info_flag=1 117 117 endif 118 118 if (trim(inline_options).eq.'-i2') then 119 120 121 119 print*, 'Info mode: provide more detailed run specific information and stop' 120 verbosity=2 121 info_flag=1 122 122 endif 123 123 endif … … 138 138 !print*,'length(4)',length(4) 139 139 !count=0,count_rate=1000 140 CALL SYSTEM_CLOCK(count_clock0, count_rate, count_max)140 call system_clock(count_clock0, count_rate, count_max) 141 141 !WRITE(*,*) 'SYSTEM_CLOCK',count, count_rate, count_max 142 142 !WRITE(*,*) 'SYSTEM_CLOCK, count_clock0', count_clock0 … … 159 159 CALL SYSTEM_CLOCK(count_clock, count_rate, count_max) 160 160 write(*,*) 'SYSTEM_CLOCK',(count_clock - count_clock0)/real(count_rate) !, count_rate, count_max 161 endif 161 endif 162 162 endif 163 163 … … 217 217 ! both for the mother domain and eventual nests 218 218 !********************************************** 219 220 if (verbosity.gt.0) then 221 219 220 if (verbosity.gt.0) then 221 write(*,*) 'call gridcheck' 222 222 endif 223 223 … … 258 258 259 259 if (verbosity.eq.1) then 260 260 print*,'call readreceptors' 261 261 endif 262 262 call readreceptors … … 267 267 !call readspecies 268 268 269 270 269 ! Read the landuse inventory 271 270 !*************************** … … 329 328 if (verbosity.gt.0) then 330 329 print*,'numpart=0, numparticlecount=0' 331 endif 330 endif 332 331 numpart=0 333 332 numparticlecount=0
Note: See TracChangeset
for help on using the changeset viewer.