Starting with the "2018" release of the Intel fortran compiler (ifort 18), a new flag policy is enforced,
especially for compilation with OpenMP.
To generate Makefiles compatible with all versions of ifort, get the latest hpxconfig_functions.sh
as described in https://sourceforge.net/p/healpix/bugs/77/
and do the
./configure
process.
Anonymous
It seems there is still problem with hpxconfig_functions.sh as provided by Healpix 3.40,
in the use of icc with OpenMP
Line 1501 in
1500 if [ $nicc != 0 ] ; then
1501 PRCFLAGS='-openmp' # -openmp-report0
seems should be
1500 if [ $nicc != 0 ] ; then
1501 PRCFLAGS='-qopenmp' # -openmp-report0
Dmitri Pogosyan
Hi Dmitri,
thanks for the bug report.
Fixed in the branch:
https://sourceforge.net/p/healpix/code/957/tree/branches/branch_v340r946/hpxconfig_functions.sh
and in the trunck:
https://sourceforge.net/p/healpix/code/HEAD/tree/trunk/hpxconfig_functions.sh
Eric