On Tue, 2009-07-14 at 16:00 -0600, Dave Allured wrote:
> When necessary, add the compiler level number, e.g. gfortran_4.3,
> gfortran_4.4. We are (generally) managing to keep the installed
> software packages current, so we have not even felt the need for
> version numbers. And as Ed just said, gfortran seems to be the only
> one that currently has module file discrepancies between versions.
>
for completeness, the same issue arises with different versions of the
Portland Group Compiler.
> Careful use of environment variables as input to user make files
> makes switching between compilers easy. I use $F90_CMD and
> $LIB_NETCDF for this purpose, as well as a few others. The second
> one contains the associated library path. HTH.
>
you can use modules for managing environments:
http://modules.sourceforge.net/
this is what we are switching to at the moment. It's working pretty
well.
Cheers
magi
--
Magnus Hagdorn
Specialist Computing Officer
School of GeoSciences
The University of Edinburgh
Grant Institute
West Mains Road
Edinburgh EH9 3JW
Scotland
PHONE: (+44) 131 650 5894
FAX: (+44) 131 668 3184
email: Magnus.Hagdorn@xxxxxxxx