[cam-users] compiling history.F90 in cam2

Chris Hennon chennon@polarmet1.mps.ohio-state.edu
Wed, 2 Oct 2002 16:46:40 -0400 (EDT)


Erik,
I talked with the people at the supercomputing center and we have found
that the fortran PGI compiler version 4.0.1 is not stable and CAM2 will
fail to compile at history.F90.  We switched to PGI version 3.3.2 and the
model compiled successfully.

Chris

On Fri, 27 Sep 2002, Erik Kluzek wrote:

> 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
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> 
> _______________________________________________
> cam-users mailing list
> cam-users@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/cam-users
>