1 | #! /bin/bash |
---|
2 | |
---|
3 | |
---|
4 | ### pb with name of file with pgf90 32 bits |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | # |
---|
9 | # NETCDF should be defined |
---|
10 | # |
---|
11 | |
---|
12 | pgf90 w2g.f -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Mfree -o w2g |
---|
13 | |
---|
14 | #g95 w2g.f -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Wall -Wno=137,155 -fno-second-underscore -ffree-form -o w2g |
---|
15 | |
---|
16 | #pgf90 -mcmodel=medium -Mlarge_arrays w2g.f -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Mfree -o w2g |
---|
17 | |
---|
18 | |
---|
19 | #!=================================Make Executable============================ |
---|
20 | #! Make executable: |
---|
21 | #! DEC Alpha |
---|
22 | #! f90 WRFnc2ctl.f -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
23 | #! -I/usr/local/netcdf/include -free -o WRFnc2ctl |
---|
24 | #! |
---|
25 | #! linux flags |
---|
26 | #! pgf90 WRFnc2ctl.f -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
27 | #! -I/usr/local/netcdf/include -Mfree -o WRFnc2ctl |
---|
28 | #! |
---|
29 | #! Sun flags |
---|
30 | #! f90 WRFnc2ctl.f -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
31 | #! -I/usr/local/netcdf/include -free -o WRFnc2ctl |
---|
32 | #! |
---|
33 | #! SGI flags |
---|
34 | #! f90 WRFnc2ctl.f -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
35 | #! -I/usr/local/netcdf/include -freeform -o WRFnc2ctl |
---|
36 | #! |
---|
37 | #! IBM flags |
---|
38 | #! xlf WRFnc2ctl.f -L/usr/local/lib32/r4i4 -lnetcdf -lm \ |
---|
39 | #! -I/usr/local/netcdf/include -qfree=f90 -o WRFnc2ctl |
---|
40 | #! |
---|
41 | #! Mac flags (with xlf compiler) |
---|
42 | #! xlf WRFnc2ctl.f -L/usr/local/netcdf-xlf/lib -lnetcdf -lm \ |
---|
43 | #! -I/usr/local/netcdf-xlf/include -qfree=f90 -o WRFnc2ctl |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | #!=================================Make Executable============================ |
---|
48 | #! Make executable: |
---|
49 | #! DEC Alpha |
---|
50 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
51 | #! -I/usr/local/netcdf/include -free -o p_interp |
---|
52 | #! |
---|
53 | #! Linux flags |
---|
54 | #! pgf90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
55 | #! -I/usr/local/netcdf/include -Mfree -o p_interp |
---|
56 | #! |
---|
57 | #! Sun flags |
---|
58 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
59 | #! -I/usr/local/netcdf/include -free -o p_interp |
---|
60 | #! |
---|
61 | #! SGI flags |
---|
62 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
63 | #! -I/usr/local/netcdf/include -freeform -o p_interp |
---|
64 | #! |
---|
65 | #! IBM flags |
---|
66 | #! xlf p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
67 | #! -I/usr/local/netcdf/include -qfree=f90 -o p_interp |
---|
68 | #! |
---|
69 | #! Mac flags (with xlf compiler) |
---|
70 | #! xlf p_interp.F90 -L/usr/local/netcdf-xlf/lib -lnetcdf -lm \ |
---|
71 | #! -I/usr/local/netcdf-xlf/include -qfree=f90 -o p_interp |
---|
72 | #! |
---|
73 | #! Mac flags (with g95 compiler) |
---|
74 | #! g95 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
75 | #! -I/usr/local/netcdf/include -ffree-form -o p_interp |
---|
76 | #! |
---|
77 | #! Mac flags (with pgf90 compiler) |
---|
78 | #! pgf90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
---|
79 | #! -I/usr/local/netcdf/include -Mfree -o p_interp |
---|
80 | #! |
---|
81 | #!============================================================================ |
---|
82 | |
---|