[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031015: a simpler way to build netCDF using the Intel Fortran compiler



Arnaud,

> To: <address@hidden>
> From: "Arnaud Desitter" <address@hidden>
> Subject: netcdf installation on Linux/intel compiler
> Organization: ?
> Keywords: netCDF Intel Fortran

The above message contained the following:

> Related:
> http://www.unidata.ucar.edu/packages/netcdf/other-builds.html
> a simpler way to build netcdf with the intel fortran compiler is:
> 
> env \
>  FC="ifc" \
>  FLIBS="-Vaxlib" \
>  FFLAGS="-O -mp -cm -w95"\
>  CPPFLAGS="-DNDEBUG -DpgiFortran" \
>  CC=gcc \
>  ./configure --prefix=/path/to/installdir
> 
> The rationale for the Fortran compiler options is:
> "-O"    Enable reasonable optimization.
> "-mp"  Maintain floating point accuracy. Necessary so that "make test"
> succeed.
> "-cm -w95" Suppress all comment messages and messages about use of non
> standard Fortran. Useful for "make test".
> "-Vaxlib" Link with portability library. Necessary for "make test".
> "-DpgiFortran" Portland Group compiler has the same default calling
> conventions.

Thanks for the feedback.

What version of the LDM did you do this with?

Regards,
Steve Emmerson