[Dart-dev] [3856] DART/trunk/ncep_obs/prep_bufr/install.sh: add the -O flag; improves performance a lot

nancy at ucar.edu nancy at ucar.edu
Wed May 6 15:02:43 MDT 2009


An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090506/f45b8260/attachment.html 
-------------- next part --------------
Modified: DART/trunk/ncep_obs/prep_bufr/install.sh
===================================================================
--- DART/trunk/ncep_obs/prep_bufr/install.sh	2009-05-06 21:00:57 UTC (rev 3855)
+++ DART/trunk/ncep_obs/prep_bufr/install.sh	2009-05-06 21:02:43 UTC (rev 3856)
@@ -14,6 +14,13 @@
 #  environment variable.  Type "which ar" to check if this is done. **
 #  ------------------------------------------------------------------------
  
+#  ------------------------------------------------------------------------
+#  if you get a link or runtime error about bort being undefined, go into
+#  the lib directory and read the README_BUFRLIB file about how to fix it.
+#  you can do something like:  cc='cc -DUNDERSCORE' to set the flag for all
+#  compiles at once.
+#  ------------------------------------------------------------------------
+
 set -eua
  
 #  ------------------------------------------------------------------------
@@ -36,7 +43,7 @@
    cc=cc; ff=ifort
 elif [ $CPLAT = aix ]
 then
-   cc=cc; ff=f77
+   cc='cc -O'; ff='f77 -O'
 elif [ $CPLAT = sun ]
 then
    cc=cc; ff=f77


More information about the Dart-dev mailing list