Build from sources of OpenFOAM v2006 failed with Intel Icc - issue in setAlphaField
The utility setAlphaField is not compiling with Intel Icc (I tried different versions from 2016 to 2019).
Errors of the Intel Compiler :
Internal error loop: assertion failed: find_seq_in_lookup_table: seq_number not found (shared/cfe/edgcpfe/il.c, line 4118)
The files that are crashing the Intel compiler are :
$FOAM_APP/utilities/preProcessing/setAlphaField/alphaFieldFunctions/implicitFunctions/cylinder/cylinderImplicitFunction.?
and also
$FOAM_APP/utilities/preProcessing/setAlphaField/alphaFieldFunctions/implicitFunctions/sin/sinImplicitFunction.?
Temporary workaround (which is however reducing the funtionnalities of setAlphaField) is to comment those sources in the Make/files :
$> foam
$> git diff applications/utilities/preProcessing/setAlphaField/alphaFieldFunctions/Make/files
diff --git a/applications/utilities/preProcessing/setAlphaField/alphaFieldFunctions/Make/files b/applications/utilities/preProcessing/setAlphaField/alphaFieldFunctions/Make/files
index b7585a9..db18694 100644
--- a/applications/utilities/preProcessing/setAlphaField/alphaFieldFunctions/Make/files
+++ b/applications/utilities/preProcessing/setAlphaField/alphaFieldFunctions/Make/files
@@ -1,11 +1,11 @@
/* Run-time selectable implicitFunctions */
implicitFunctions/implicitFunction.C
implicitFunctions/sphere/sphereImplicitFunction.C
-implicitFunctions/sin/sinImplicitFunction.C
+/* implicitFunctions/sin/sinImplicitFunction.C */
implicitFunctions/ellipsoid/ellipsoidImplicitFunction.C
implicitFunctions/paraboloid/paraboloidImplicitFunction.C
implicitFunctions/plane/planeImplicitFunction.C
-implicitFunctions/cylinder/cylinderImplicitFunction.C
+/* implicitFunctions/cylinder/cylinderImplicitFunction.C */
implicitFunctions/composedFunction/composedFunctionImplicitFunction.C
LIB = $(FOAM_LIBBIN)/libalphaFieldFunctions