ofi-cray / fab-utils

Random useful stuff for using and developing the libfabric GNI provider
1 stars 7 forks source link

avoid -qopenmp when building Nekbone #23

Closed tenbrugg closed 8 years ago

tenbrugg commented 8 years ago

The Nekbone build instructions list the following makefile mods when building with Intel:

b) When using Intel and building for KNL, specify automatic cpu dispatch to allow the executable to be run on KNL and non-KNL.

F77="mpif77"

F77="mpif77 -qopenmp -axMIC-AVX512"

CC="mpicc"

CC="mpicc -qopenmp -axMIC-AVX512"

Nekbone is a single-threaded code and -qopenmp should not be added. This change in the build process allows Nekbone to run successfully on jupiter and avalon when built with Intel.