|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002371||OpenFOAM||Patch||public||2016-12-04 22:52||2017-01-11 14:05|
|Target Version||Fixed in Version|
|Summary||0002371: Enable Intel compiler for ThirdParty software|
|Description||Patch ensures that Intel compiler is used for ThirdParty software.|
@Svensen: Please see issue #1232: http://www.openfoam.org/mantisbt/view.php?id=1232 - specifically comment #5932: http://bugs.openfoam.org/view.php?id=1232#c5932
Keep in mind that OpenFOAM is being used in a lot more platforms, not just traditional x86/x86_64 architectures. Nonetheless, if you have access to all of the other supported platforms and can test in all of them, please let us know!
@Henry: By the way, related to that other issue #1232, I've been discovering through the forums that tcsh is being used in several university clusters. I still haven't found out the reason as to why they do it like that, but at least 'bash' or some other 'sh' is installed in them. My guess is that they don't want people to go into the cluster _head first_ without thinking what they are doing?!
|There have been problems compiling ThirdParty software with icpc in the past which is why we left the default to use the system compiler for these packages. If icpc can now reliable compile OpenFOAM and all the ThirdParty packages it would be OK to set WM_CC and WM_CXX in the same manner as for Clang provided the standard gcc/g++ options are applicable, otherwise WM_CFLAGS, WM_CXXFLAGS etc. will also need to be set.|
I've tried to compile ThirdParty software with the Intel compiler. It is OK for all packages, except Paraview. You can look on my last bug report on Intel's forum: https://software.intel.com/en-us/forums/intel-c-compiler/topic/702934
The current temporary solution was proposed like:
"Currently, I have no success with 2017. It is compiled with Intel compiler 2016u1 without any problem. So, downgrading to earlier version of the Intel compiler will solve the problem."
Several people have had problems compiling OpenFOAM with icpc-17 due to bugs in the compiler which have now been fixed. Given that icpc-17 is the current release it would be unwise of us to make this the default compiler for compiling ThirdParty until it can reliable compile all ThirdParty software including ParaView.
Please let us know when the issues with icpc-17 have been fixed and a patched version released which can compile OpenFOAM and ParaView.
|2016-12-04 22:52||Svensen||New Issue|
|2016-12-04 22:52||Svensen||File Added: enableIntelCompilerForThirdPartySoftware.patch|
|2016-12-04 22:52||Svensen||Tag Attached: compilation|
|2016-12-04 22:52||Svensen||Tag Attached: icc|
|2016-12-04 23:10||wyldckat||Note Added: 0007402|
|2016-12-05 08:28||henry||Note Added: 0007403|
|2016-12-05 09:43||Svensen||Note Added: 0007405|
|2016-12-05 09:54||henry||Note Added: 0007406|
|2017-01-11 14:05||wyldckat||Relationship added||related to 0002429|