[Dart-dev] [4883] DART/trunk/observations/NCEP/prep_bufr/install.sh: Update the default linux line to a combination that works
nancy at ucar.edu
nancy at ucar.edu
Tue May 3 14:19:06 MDT 2011
Revision: 4883
Author: nancy
Date: 2011-05-03 14:19:06 -0600 (Tue, 03 May 2011)
Log Message:
-----------
Update the default linux line to a combination that works
with the intel compiler. This script should probably be
reworked to select a compiler (pgi, ifort, etc) instead of
a platform (sun, ibm, linux, etc).
Modified Paths:
--------------
DART/trunk/observations/NCEP/prep_bufr/install.sh
-------------- next part --------------
Modified: DART/trunk/observations/NCEP/prep_bufr/install.sh
===================================================================
--- DART/trunk/observations/NCEP/prep_bufr/install.sh 2011-05-03 20:15:26 UTC (rev 4882)
+++ DART/trunk/observations/NCEP/prep_bufr/install.sh 2011-05-03 20:19:06 UTC (rev 4883)
@@ -30,6 +30,7 @@
# CPLAT - platform type (linux, sgi, aix, sun, macosx)
# ------------------------------------------------------------------------
+# this choice here should really be compiler, i.e. ifort, pgi, gfortran
#CPLAT=macosx
CPLAT=linux
#CPLAT=aix
@@ -42,8 +43,10 @@
cc=cc; ff=f77
elif [ $CPLAT = linux ]
then
+# possible different compiler choices
# cc=cc; ff=pgf90
- cc=cc; ff=ifort
+# cc=icc; ff=ifort
+ cc='gcc -DUNDERSCORE -O'; ff='ifort -O'
elif [ $CPLAT = aix ]
then
cc='cc -O'; ff='f77 -O'
More information about the Dart-dev
mailing list