Changeset 2394 for trunk/LMDZ.MARS/util


Ignore:
Timestamp:
Jul 2, 2020, 3:42:38 PM (5 years ago)
Author:
cmathe
Message:

improvedco2clouds_mod: clean

Location:
trunk/LMDZ.MARS/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/compile

    r1193 r2394  
    33# > compile concat
    44# > 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
     10NETCDF='/opt/netcdf45/ifort15'
    511
    612# pgf90 -Bstatic   $1.F90 \
     
    915
    1016#ifort $1.F90 \
    11 #pgf90 $1.F90 \
     17#pgf90 -Bstatic $1.F90 \
    1218ifort $1.F90 \
    1319-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
    1522
    1623# Before running that on you computer you might want to change :
  • trunk/LMDZ.MARS/util/concatnc.F90

    r2313 r2394  
    2828include "netcdf.inc" ! NetCDF definitions
    2929
    30 character (len=80), dimension(1000) :: file
     30character (len=256), dimension(1000) :: file
    3131! file(): input file(s) names(s)
    3232character (len=30), dimension(16) :: notconcat
     
    3434character (len=50), dimension(:), allocatable :: var
    3535! var(): name(s) of variable(s) that will be concatenated
    36 character (len=50) :: tmpvar,tmpfile,title,units
     36character (len=256) :: tmpvar,tmpfile,title,units
    3737! tmpvar(): used to temporarily store a variable name
    3838! tmpfile(): used to temporarily store a file name
     
    138138
    139139nbfile=0
    140 read(*,'(a50)') tmpfile
     140read(*,'(a256)') tmpfile
    141141do While (len_trim(tmpfile).ne.0)
    142142   nbfile=nbfile+1
    143143   file(nbfile)=tmpfile
    144    read(*,'(a50)') tmpfile
     144   read(*,'(a256)') tmpfile
    145145enddo
    146146
Note: See TracChangeset for help on using the changeset viewer.