...
Code Block | ||
---|---|---|
| ||
CC=icc FC=ifort \
CFLAGS="-g -O2 -m64 -fp-model precise" FCFLAGS="-g -O2 -fp-model precise" \
./configure --prefix=../grib_api_icc --enable-pthread --disable-jpeg --disable-omp-packing --disable-vector |
Code Block | ||
---|---|---|
| ||
CC=pgcc FC=pgf90 \
CFLAGS="-g -O2 -m64" FCFLAGS="-g -O2 -m64" \
./configure --prefix=../grib_api_pgcc --enable-pthread --disable-jpeg --disable-omp-packing --disable-vector |
Code Block | ||
---|---|---|
| ||
CC=xlc_r FC=xlf90_r \
CFLAGS="-g -O2 -qstrict -qarch=auto -qtune=auto" FCFLAGS="-g -O2 -qstrict -qarch=auto -qtune=auto" \
./configure --prefix=../grib_api_xlc --enable-pthread --disable-jpeg --disable-omp-packing --disable-vector |
Info |
---|
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. |
...