[cam-users] Compiler problem on blackforest and babyblue

Tom Henderson Tom Henderson <hender@cgd.ucar.edu>
Fri, 17 Jan 2003 08:22:02 -0700 (MST)


Hi all,

A recent upgrade of the IBM machines at NCAR has broken CAM versions 
2.0.1 and earlier.  

Thanks to Brian Eaton for the work-around (see below).  

Please note that this work-around is in the development version and will 
be included in the CAM 2.0.2 release.  

Tom

==============================================================================
    Tom Henderson                       hender@ucar.edu
    National Center for Atmospheric Research
    Climate and Global Dynamics Division
    P. O. Box 3000                      voice: (303) 497-1628
    Boulder, CO 80307                   fax:   (303) 497-1324
==============================================================================


------------- Begin Forwarded Message -------------

Delivered-To: hender@ucar.edu
Date: Thu, 16 Jan 2003 17:04:09 -0700
From: Brian Eaton <eaton@ucar.edu>
To: hender@ucar.edu
Subject: makefile fix

It appears that a recent "upgrade" of some systems software on
blackforest is causing the current CAM code (2.0.1) to fail (and most
likely earlier CAM versions as well).  The fix is to edit the Makefile
(cam_root/models/atm/cam/bld/Makefile) and change the optimization from
"-O3 -qstrict" to "-O2 -qmaxmem=-1".  To do this look for the AIX section
of the Makefile which starts with the following lines:

#------------------------------------------------------------------------
# AIX
#------------------------------------------------------------------------

Look below that (about 40 lines) for the lines

else
# Inline when not debugging
  FFLAGS += -O3 -qstrict -Q

and change to

else
# Inline when not debugging
  FFLAGS += -O2 -qmaxmem=-1 -Q

------------- End Forwarded Message -------------