source: trunk/MESOSCALE/LMD_MM_MARS/SRC/POSTPROC/comp_api @ 1228

Last change on this file since 1228 was 1193, checked in by aslmd, 11 years ago

changed default symbolic links to ifort since we use mostly this compiler on clusters

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