#2007: MoL fails to build with Intel compiler ---------------------+------------------------------------------------------ Reporter: hinder | Owner: eschnett Type: defect | Status: new Priority: blocker | Milestone: Component: Cactus | Version: development version Keywords: | ---------------------+------------------------------------------------------ Compiling MoL gives this error:
{{{ /home/ianhin/Cactus/EinsteinToolkitGit/arrangements/CactusNumerical/MoL/src/RK4-RK2.c(60): error: unrecognized OpenMP #pragma #pragma omp /*parallel for*/ ^
compilation aborted for /home/ianhin/Cactus/EinsteinToolkitGit/configs/sim/build/MoL/RK4-RK2.c (code 2) }}}
This code was introduced in https://bitbucket.org/cactuscode/cactusnumerical/commits/09a209266daa281a3ea....
Removing the commented portion doesn't help. Replacing it with
{{{ #pragma omp parallel }}}
allows the code to compile.
This is on Minerva, with icc (ICC) 16.0.1 20151021.