Versions Compared

Key

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

...

Code Block
titleIBM compiler:
CC=xlc_r FC=xlf90_r  \
CFLAGS="-g -O2 -qstrict -qarch=auto -qtune=auto" FCFLAGS="-g -O2 -qstrict -qarch=auto -qtune=auto" \
./configure --prefix=$HOME/ecmwf/grib_api_xlc --enable-pthread --disable-jpeg --disable-shared
info
Note

For the IBM xlc compiler we recommend disabling the creation of 'shared libraries' which is known to cause problems with this version of grib_api.

In this example, note the use of the '_r' form of the IBM compiler to ensure grib_api is compiled 'thread-safe'. This is important as grib_api will be called by multiple threads with OpenIFS.

...