Last change
on this file since 2468 was
1284,
checked in by milmd, 10 years ago
|
LMDZ.GENERIC. added a tool to create start.nc files with perturbated horizontal wind and temperature.
|
-
Property svn:executable set to
*
|
File size:
517 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | #netcdfPath=/d2/emlmd/netcdf64-4.0.1_gfortran |
---|
4 | netcdfPath=/san/home/indurain/PROG/netcdf/netcdf64-4.0.1_gfortran |
---|
5 | |
---|
6 | export FC=gfortran |
---|
7 | #export FFLAGS="-fdefault-real-8 -O0 -g -fbounds-check -Wall -ffpe-trap=invalid,zero,overflow,underflow -ftrapv -fimplicit-none -fno-automatic" |
---|
8 | export FFLAGS="" |
---|
9 | |
---|
10 | command="${FC} -c $FFLAGS -I${netcdfPath}/include $1.f90" |
---|
11 | echo $command |
---|
12 | $command |
---|
13 | |
---|
14 | command="${FC} -o $1 $1.o -L${netcdfPath}/lib -lnetcdf" |
---|
15 | echo $command |
---|
16 | $command |
---|
17 | |
---|
18 | |
---|
19 | command="rm -f $1.o" |
---|
20 | echo $command |
---|
21 | $command |
---|
22 | |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.