[cam-users] compiling history.F90 in cam2
Erik Kluzek
erik@ucar.edu
Fri, 27 Sep 2002 09:51:34 -0600 (MDT)
On Mon, 23 Sep 2002, Chris Hennon wrote:
> I have run into the "history.F90" compilation problem. I am on a IA32
> cluster running Linux with the Portland Group compilers. However, I am
> not running in DEBUG mode, but I do have SPMD enabled. The work around on
> the web site
> (www.ccsm.ucar.edu/models/atm-cam/UsersGuide/UG-12.html#BUGS) suggests to
> try to recompile. I tried this several times without success. The second
> suggestion is to recompile without DEBUG mode turned on. But as I said
> before I do not have DEBUG mode enabled in the first place.
>
Chris. First note that this problem is NOT the problem documented
above. The problem documented above is due to a bug in the IBM
compilers. The only suggestion I have with your PGI compiler
problem is to make sure you have the latest stable compiler.
We are using pgf90, and pgcc 3.3-2, and don't run into this
problem. On a different machine we have pgf90 3.2-3, and don't
have this problem either. As such I suspect this isn't a code
problem as much as a compiler bug with a specific release of
the Portland group compiler.
As one suggestion you may be able to get it to work with your
current compiler, by compiling history in DEBUG mode (or with
less optimization) and everything else in production mode.
Good luck...
Erik Kluzek, (CGD at NCAR)
National Center for Atmospheric Research
Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
--------- Home page and public PGP key---------------
http://www.cgd.ucar.edu/~erik
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!