Subversion Repositories lagranto.wrf

Rev

Rev 15 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 23
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  gfortran
24
setenv FORTRAN pgf90 
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
 
Line 66... Line 66...
66
# Set netCDF paths
66
# Set netCDF paths
67
setenv NETCDF_LIB `nc-config --flibs`
67
setenv NETCDF_LIB `nc-config --flibs`
68
setenv NETCDF_INC `nc-config --fflags`
68
setenv NETCDF_INC `nc-config --fflags`
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 density"
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 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
Line 107... Line 107...
107
if ( "${mode}" == "clean" ) then
107
if ( "${mode}" == "clean" ) then
108
 
108
 
109
\rm -f caltra/caltra caltra/caltra.o
109
\rm -f caltra/caltra     caltra/caltra.o
110
\rm -f select/select select/select.o select/special.o
110
\rm -f select/select     select/select.o select/special.o
111
\rm -f trace/trace   trace/trace.o
111
\rm -f trace/trace       trace/trace.o
-
 
112
\rm -f density/density   density/density.o
-
 
113
 
112
 
114
 
113
foreach tool ( $tools )
115
foreach tool ( $tools )
114
  \rm -f goodies/${tool} goodies/${tool}.o 
116
  \rm -f goodies/${tool} goodies/${tool}.o 
115
end
117
end
116
\rm -f goodies/*.mod
118
\rm -f goodies/*.mod
Line 329... Line 331...
329
ln -svf ${LAGRANTO}/bin/lagrantohelp        lagrantohelp.wrf
331
ln -svf ${LAGRANTO}/bin/lagrantohelp        lagrantohelp.wrf
330
 
332
 
331
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra.sh
333
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra.sh
332
ln -svf ${LAGRANTO}/select/select.sh        select.sh
334
ln -svf ${LAGRANTO}/select/select.sh        select.sh
333
ln -svf ${LAGRANTO}/trace/trace.sh          trace.sh
335
ln -svf ${LAGRANTO}/trace/trace.sh          trace.sh
-
 
336
ln -svf ${LAGRANTO}/density/density.sh      density.sh
334
 
337
 
335
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra
338
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra
336
ln -svf ${LAGRANTO}/select/select.sh        select
339
ln -svf ${LAGRANTO}/select/select.sh        select
337
ln -svf ${LAGRANTO}/trace/trace.sh          trace
340
ln -svf ${LAGRANTO}/trace/trace.sh          trace
-
 
341
ln -svf ${LAGRANTO}/density/density.sh      density
338
 
342
 
339
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra.wrf
343
ln -svf ${LAGRANTO}/caltra/caltra.sh        caltra.wrf
340
ln -svf ${LAGRANTO}/select/select.sh        select.wrf
344
ln -svf ${LAGRANTO}/select/select.sh        select.wrf
341
ln -svf ${LAGRANTO}/trace/trace.sh          trace.wrf
345
ln -svf ${LAGRANTO}/trace/trace.sh          trace.wrf
342
 
-
 
-
 
346
ln -svf ${LAGRANTO}/density/density.sh      density.wrf
343
 
347
 
344
foreach tool ( $tools )
348
foreach tool ( $tools )
345
 
349
 
346
ln -svf ${LAGRANTO}/goodies/${tool}.sh     ${tool}.sh 
350
ln -svf ${LAGRANTO}/goodies/${tool}.sh     ${tool}.sh 
347
ln -svf ${LAGRANTO}/goodies/${tool}.sh     ${tool} 
351
ln -svf ${LAGRANTO}/goodies/${tool}.sh     ${tool} 
Line 375... Line 379...
375
ln -svf ${path_devel}/caltra/caltra.sh           caltra.wrf
379
ln -svf ${path_devel}/caltra/caltra.sh           caltra.wrf
376
ln -svf ${path_devel}/select/select.sh           select.wrf
380
ln -svf ${path_devel}/select/select.sh           select.wrf
377
ln -svf ${path_devel}/trace/trace.sh             trace.wrf
381
ln -svf ${path_devel}/trace/trace.sh             trace.wrf
378
ln -svf ${path_devel}/lidar/seltra.sh            seltra.wrf
382
ln -svf ${path_devel}/lidar/seltra.sh            seltra.wrf
379
 
383
 
-
 
384
 
380
foreach tool ( $tools )
385
foreach tool ( $tools )
381
 
386
 
382
ln -svf ${path_devel}/goodies/${tool}.sh      ${tool}.wrf
387
ln -svf ${path_devel}/goodies/${tool}.sh      ${tool}.wrf
383
 
388
 
384
end
389
end