Changeset 2394 for trunk/LMDZ.MARS/util
- Timestamp:
- Jul 2, 2020, 3:42:38 PM (5 years ago)
- Location:
- trunk/LMDZ.MARS/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/compile
r1193 r2394 3 3 # > compile concat 4 4 # > compile zrecast 5 6 # get from: 7 # $>:module list 8 # copy the netcdf module used (i.e. netcdf4/4.5.0-ifort15) 9 # $>:module display netcdf4/4.5.0-ifort15 10 NETCDF='/opt/netcdf45/ifort15' 5 11 6 12 # pgf90 -Bstatic $1.F90 \ … … 9 15 10 16 #ifort $1.F90 \ 11 #pgf90 $1.F90 \17 #pgf90 -Bstatic $1.F90 \ 12 18 ifort $1.F90 \ 13 19 -I$NETCDF/include \ 14 -L$NETCDF/lib -lnetcdf -o $1.e 20 #-L$NETCDF/lib -lnetcdf -o $1.e 21 -L$NETCDF/lib -lnetcdff -o $1.e # on centos 7 15 22 16 23 # Before running that on you computer you might want to change : -
trunk/LMDZ.MARS/util/concatnc.F90
r2313 r2394 28 28 include "netcdf.inc" ! NetCDF definitions 29 29 30 character (len= 80), dimension(1000) :: file30 character (len=256), dimension(1000) :: file 31 31 ! file(): input file(s) names(s) 32 32 character (len=30), dimension(16) :: notconcat … … 34 34 character (len=50), dimension(:), allocatable :: var 35 35 ! var(): name(s) of variable(s) that will be concatenated 36 character (len= 50) :: tmpvar,tmpfile,title,units36 character (len=256) :: tmpvar,tmpfile,title,units 37 37 ! tmpvar(): used to temporarily store a variable name 38 38 ! tmpfile(): used to temporarily store a file name … … 138 138 139 139 nbfile=0 140 read(*,'(a 50)') tmpfile140 read(*,'(a256)') tmpfile 141 141 do While (len_trim(tmpfile).ne.0) 142 142 nbfile=nbfile+1 143 143 file(nbfile)=tmpfile 144 read(*,'(a 50)') tmpfile144 read(*,'(a256)') tmpfile 145 145 enddo 146 146
Note: See TracChangeset
for help on using the changeset viewer.