Subversion Repositories lagranto.um

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/sh
2
 
3
# n.b. no trailing /traj on TRAJ_HOME
4
TRAJ_HOME=/export/borg/disk1/sws98slg
5
 
6
NETCDF=$1
7
NETCDF_LIB=${NETCDF:=netcdf}
8
 
9
echo "netcdf library"
10
echo $NETCDF_LIB
11
 
12
# N.B. -O3 is only safe with SUN f77 compiler
13
 
14
#f77 -O3 ppf2cdf_lam.f -o ppf2cdf_lam.x \
15
#  -L /usr/local/lib -l$NETCDF_LIB \
16
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
17
 
18
#f77 -O3 ppf2cdf_ukmm.f -o ppf2cdf_ukmm.x \
19
#  -L /usr/local/lib -l$NETCDF_LIB \
20
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
21
 
22
#f77 -O3 ppf2cdf_ukmm_p.f -o ppf2cdf_ukmm_p.x \
23
#  -L /usr/local/lib -l$NETCDF_LIB \
24
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
25
 
26
#f77 -O3 ppf2cdf_ukmm_new.f -o ppf2cdf_ukmm_new.x \
27
#  -L /usr/local/lib -l$NETCDF_LIB \
28
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
29
 
30
#f77 -O3 ppf2cdf_270_113.f -o ppf2cdf_270_113.x \
31
#  -L /usr/local/lib -l$NETCDF_LIB \
32
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
33
 
34
#f77 -O3 ppf2cdf_116_106.f -o ppf2cdf_116_106.x \
35
#  -L /usr/local/lib -l$NETCDF_LIB \
36
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra
37
 
38
#f77 -O3 ppf2cdf_300_350.f -o ppf2cdf_300_350.x \
39
#  -L $TRAJ_HOME/traj/libnew -lcdfio -lcdfplus -ltra \
40
#  -L /usr/local/libnew -l$NETCDF_LIB 
41
 
42
#f77 -O3 ppf2cdf_300_350.f -o ppf2cdf_300_350.x \
43
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
44
#  -L /opt/graphics/include -l$NETCDF_LIB
45
 
46
#f77 -O3 pp2cdf_p20nae.f -o pp2cdf_p20nae.x \
47
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
48
#  -L /opt/graphics/include -l$NETCDF_LIB 
49
 
50
#f77 -O3 pp2cdf_p39nae.f -o pp2cdf_p39nae.x \
51
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
52
#  -L /opt/graphics/include -l$NETCDF_LIB 
53
 
54
f77 -I/opt/graphics/include -O3 pp2cdf_p20_Andy_Elvidge.f -o pp2cdf_p20_Andy_Elvidge.x \
55
    -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
56
    -L/opt/graphics/lib \
57
    -lnetcdf -lhdf5_hl -lhdf5
58
 
59
#f77 -O3 pp2cdf_p33_Laura.f -o pp2cdf_p33_Laura.x \
60
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
61
#  -L /opt/graphics/include -lnetcdf -lhdf5_hl -lhdf5
62
 
63
#f77 -O3 pp2cdf_p39.f -o pp2cdf_p39.x \
64
#  -L $TRAJ_HOME/traj/lib -lcdfio -lcdfplus -ltra \
65
#  -L /opt/graphics/include -l$NETCDF_LIB 
66
 
67
 
68
#chmod a+rx ppf2cdf_lam.x ppf2cdf_ukmm.x ppf2cdf_270_113.x
69
chmod a+rx *.x
70
 
71
exit 0