| 1 | #! /bin/bash |
|---|
| 2 | |
|---|
| 3 | # |
|---|
| 4 | # NETCDF should be defined |
|---|
| 5 | # |
|---|
| 6 | |
|---|
| 7 | #pgf90 api.F90 -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Mfree -o api |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | g95 api.F90 -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Wall -Wno=112,141,137,155 -fno-second-underscore -ffree-form -o api |
|---|
| 11 | #g95 api.F90 -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Wall -Wno=112,141,137,155 -ffree-form -o api |
|---|
| 12 | #pgf90 -mcmodel=medium -Mlarge_arrays api.F90 -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -Mfree -o p_interp |
|---|
| 13 | #ifort api.F90 -L$NETCDF/lib -lnetcdf -lm -I$NETCDF/include -o api |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | #!=================================Make Executable============================ |
|---|
| 18 | #! Make executable: |
|---|
| 19 | #! DEC Alpha |
|---|
| 20 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 21 | #! -I/usr/local/netcdf/include -free -o p_interp |
|---|
| 22 | #! |
|---|
| 23 | #! Linux flags |
|---|
| 24 | #! pgf90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 25 | #! -I/usr/local/netcdf/include -Mfree -o p_interp |
|---|
| 26 | #! |
|---|
| 27 | #! Sun flags |
|---|
| 28 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 29 | #! -I/usr/local/netcdf/include -free -o p_interp |
|---|
| 30 | #! |
|---|
| 31 | #! SGI flags |
|---|
| 32 | #! f90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 33 | #! -I/usr/local/netcdf/include -freeform -o p_interp |
|---|
| 34 | #! |
|---|
| 35 | #! IBM flags |
|---|
| 36 | #! xlf p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 37 | #! -I/usr/local/netcdf/include -qfree=f90 -o p_interp |
|---|
| 38 | #! |
|---|
| 39 | #! Mac flags (with xlf compiler) |
|---|
| 40 | #! xlf p_interp.F90 -L/usr/local/netcdf-xlf/lib -lnetcdf -lm \ |
|---|
| 41 | #! -I/usr/local/netcdf-xlf/include -qfree=f90 -o p_interp |
|---|
| 42 | #! |
|---|
| 43 | #! Mac flags (with g95 compiler) |
|---|
| 44 | #! g95 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 45 | #! -I/usr/local/netcdf/include -ffree-form -o p_interp |
|---|
| 46 | #! |
|---|
| 47 | #! Mac flags (with pgf90 compiler) |
|---|
| 48 | #! pgf90 p_interp.F90 -L/usr/local/netcdf/lib -lnetcdf -lm \ |
|---|
| 49 | #! -I/usr/local/netcdf/include -Mfree -o p_interp |
|---|
| 50 | #! |
|---|
| 51 | #!============================================================================ |
|---|
| 52 | |
|---|