- Timestamp:
- Jul 2, 2020, 3:42:39 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/compile
r2394 r2395 3 3 # > compile concat 4 4 # > compile zrecast 5 6 # get from:7 # $>:module list8 # copy the netcdf module used (i.e. netcdf4/4.5.0-ifort15)9 # $>:module display netcdf4/4.5.0-ifort1510 NETCDF='/opt/netcdf45/ifort15'11 5 12 6 # pgf90 -Bstatic $1.F90 \ … … 15 9 16 10 #ifort $1.F90 \ 17 #pgf90 -Bstatic$1.F90 \11 #pgf90 $1.F90 \ 18 12 ifort $1.F90 \ 19 13 -I$NETCDF/include \ 20 #-L$NETCDF/lib -lnetcdf -o $1.e 21 -L$NETCDF/lib -lnetcdff -o $1.e # on centos 7 14 -L$NETCDF/lib -lnetcdf -o $1.e 22 15 23 16 # Before running that on you computer you might want to change : -
trunk/LMDZ.MARS/util/concatnc.F90
r2394 r2395 28 28 include "netcdf.inc" ! NetCDF definitions 29 29 30 character (len= 256), dimension(1000) :: file30 character (len=80), 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= 256) :: tmpvar,tmpfile,title,units36 character (len=50) :: 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 256)') tmpfile140 read(*,'(a50)') tmpfile 141 141 do While (len_trim(tmpfile).ne.0) 142 142 nbfile=nbfile+1 143 143 file(nbfile)=tmpfile 144 read(*,'(a 256)') tmpfile144 read(*,'(a50)') tmpfile 145 145 enddo 146 146
Note: See TracChangeset
for help on using the changeset viewer.