Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleIntel compiler:
CC=icc FC=ifort  \
CFLAGS="-g -O2O1 -m64 -fp-model precise" FCFLAGS="-g -O2O1 -fp-model precise"  \
./configure --prefix=$HOME/ecmwf/grib_api_icc --enable-pthread --disable-jpeg
Note

We currently recommend not using a higher optimization level than -O1 with the Intel compiler. Failures have been seen with grib_api and the Intel compiler when compiled with -O2.

Code Block
titlePortland compiler:
CC=pgcc FC=pgf90  \
CFLAGS="-g -O2 -m64" FCFLAGS="-g -O2 -m64"  \
./configure --prefix=$HOME/ecmwf/grib_api_pgcc --enable-pthread --disable-jpeg

...