autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OPENMP_FLAGS in autoconf not working


From: Rudra Banerjee
Subject: OPENMP_FLAGS in autoconf not working
Date: Thu, 23 Jun 2016 13:54:01 +0200

I am trying to compile a fortran code with gnu-autotools. The openmp
specific lines in configure.ac is:

AC_OPENMP
AC_PROG_FC([gfortran])
FCFLAGS="$OPENMP_FFLAGS -fcheck=all"

If I compile with this, I am not getting omp related compiler options,
as described in the AC_OPENMP macro in autoconf manual.

If I explicitly place -fopenmp in place of $OPENMP_FFLAGS, only then
its working.

Any help please?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]