Subversion Repositories lagranto.wrf

Rev

Rev 13 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 15
Line 19... Line 19...
19
# Set path for development
19
# Set path for development
20
set path_devel = "${DYN_TOOLS}/lagranto.wrf/"
20
set path_devel = "${DYN_TOOLS}/lagranto.wrf/"
21
set path_sync  = "${DYN_TOOLS}/lagranto/"
21
set path_sync  = "${DYN_TOOLS}/lagranto/"
22
 
22
 
23
# Init Fortran compiler and set netCDF acccordingly
23
# Init Fortran compiler and set netCDF acccordingly
24
setenv FORTRAN pgf90 
24
setenv FORTRAN  gfortran
25
 
25
 
26
# Init netCDF library depending on the Fortran compiler
26
# Init netCDF library depending on the Fortran compiler
27
if ( "${FORTRAN}" == "pgf90" ) then
27
if ( "${FORTRAN}" == "pgf90" ) then
28
  module load netcdf/4.2.1-pgf90
28
  module load netcdf/4.2.1-pgf90
29
 
29
 
30
else if ( "${FORTRAN}" == "gfortran" ) then
30
else if ( "${FORTRAN}" == "gfortran" ) then
31
  module load gfortran
31
  module load gfortran
32
  module load netcdf/4.1.1
32
  module load netcdf/4.3.2
33
 
33
 
34
else if ( "${FORTRAN}" == "ifort" ) then
34
else if ( "${FORTRAN}" == "ifort" ) then
35
  module load ifort/10.1.017
35
  module load ifort/10.1.017
36
  module load netcdf/4.1.1-ifort
36
  module load netcdf/4.1.1-ifort
37
 
37
 
Line 69... Line 69...
69
 
69
 
70
# Set list of core programs
70
# Set list of core programs
71
set core  = "caltra trace select"
71
set core  = "caltra trace select"
72
 
72
 
73
# Set list of goodies
73
# Set list of goodies
74
set tools = "extract gettidiff getvars list2lsl lsl2list mergetra newtime reformat timeres trainfo difference datelist tracal wrfmap" 
74
set tools = "extract gettidiff getvars list2lsl lsl2list mergetra newtime reformat timeres trainfo difference datelist wrfmap" 
75
 
75
 
76
# Set list of libraries
76
# Set list of libraries
77
set libs  = "iotra inter times libcdfio libcdfplus libwrf"
77
set libs  = "iotra inter times libcdfio libcdfplus libwrf"
78
 
78
 
79
# Core programs
79
# Core programs
Line 115... Line 115...
115
end
115
end
116
\rm -f goodies/*.mod
116
\rm -f goodies/*.mod
117
 
117
 
118
\rm lib/*.a lib/*.o
118
\rm lib/*.a lib/*.o
119
 
119
 
120
\rm -f bin/caltra bin/caltra.sh
120
\rm -f bin/caltra bin/caltra.sh bin/caltra.wrf
121
\rm -f bin/select bin/select.sh bin/seltra bin/seltra.sh
121
\rm -f bin/select bin/select.sh bin/seltra bin/seltra.sh bin/seltra.wrf bin/select.wrf
122
\rm -f bin/trace  bin/trace.sh
122
\rm -f bin/trace  bin/trace.sh bin/trace.wrf 
123
foreach tool ( $tools )
123
foreach tool ( $tools )
124
  \rm -f bin/${tool} bin/${tool}.sh 
124
  \rm -f bin/${tool} bin/${tool}.sh bin/${tool}.wrf
125
end
125
end
126
\rm -f bin/lagrantohelp.sh
126
\rm -f bin/lagrantohelp.sh bin/lagrantohelp.wrf
127
 
127
 
128
exit 0
128
exit 0
129
	
129
	
130
endif
130
endif
131
 
131