Unverified Commit b25cb10d authored by Andreas Marek's avatar Andreas Marek
Browse files

Update of m4 openmp macro

Newer versions of Intel compiler want "-qopenmp" NOT "-openmp"
parent 4a5c481e
......@@ -69,6 +69,7 @@ AC_DEFUN([AX_ELPA_OPENMP],
dnl GCC >= 4.2 -fopenmp
dnl SunPRO C -xopenmp
dnl Intel C -openmp
dnl Intel > 14.0 -qopenmp
dnl SGI C, PGI C -mp
dnl Tru64 Compaq C -omp
dnl IBM C (AIX, Linux) -qsmp=omp
......@@ -77,7 +78,7 @@ AC_DEFUN([AX_ELPA_OPENMP],
dnl will fail (since we know that it failed without the option),
dnl therefore the loop will continue searching for an option, and
dnl no output file called 'penmp' or 'mp' is created.
for ac_option in -openmp -fopenmp -xopenmp -mp -omp -qsmp=omp; do
for ac_option in -qopenmp -openmp -fopenmp -xopenmp -mp -omp -qsmp=omp; do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment