View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003756||OpenFOAM||Bug||public||2021-11-24 16:27||2021-11-25 10:09|
|Status||closed||Resolution||no change required|
|Platform||GNU/Linux||OS||CentOS Linux||OS Version||8|
|Fixed in Version|
|Summary||0003756: Pstream Compilation Fails|
|Description||Building OpenFOAM v5.0 using Allwmake script in $WM_PROJECT_DIR gives following error when trying to compile Pstream library:|
touch: cannot touch '/gpfs/home/t/ttjrjw2/OpenFOAM/OpenFOAM-5.0/platforms/linux64IccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/using:openmpi-system': No such file or directory
The full output from src/Pstream/Allwmake is attached. As far as I can tell the actual compilation completes successfully, it is just the touch command that is failing. I am using Intel compilers version 2019.5.281 and OpenMPI version 4.1.1. I've not encountered this issue on any previous OpenFOAM builds, however this is on a different, newer machine and is my first attempt using Intel compilers.
I noticed some other issues reported here with similar issues (0003303 and 0002204), but as far as I could see the proposed fixes didn't work for me.
Based on the previously reported issues, here are the outputs from a few commands:
[ttjrjw2@login01(sulis) OpenFOAM-5.0]$ pwd
[ttjrjw2@login01(sulis) OpenFOAM-5.0]$ pwd -P
[ttjrjw2@login01(sulis) OpenFOAM-5.0]$ echo $WM_PROJECT_DIR
[ttjrjw2@login01(sulis) OpenFOAM-5.0]$ realpath $WM_PROJECT_DIR
Commenting out the touch command in src/Pstream/Allwmake allows the compilation to proceed, but I imagine it is there for a reason.
|Tags||No tags attached.|
output.log (6,358 bytes)
OpenFOAM-5 is not being maintained to compile with recent compilers, you will need to either upgrade to OpenFOAM-9 and use the last version of the old compiler or upgrade to OpenFOAM-dev and use the new OneAPI compiler:
Author: Henry Weller <http://cfd.direct>
Date: Tue Jul 20 16:51:09 2021 +0100
wmake: Added support for the new OneAPI Intel compiler
The icx and icpx Intel compilers are selected by
These compilers are based on the Clang front-end and hence the configuration
files are based on and nearly identical to those for Clang.
Support for the new OneAPI compilers replaces the now deprecated Intel icc, icpc
||Or you could use gcc instead of the Intel compilers.|
Okay, unfortunately the gcc version on the machine is too new, I run into issues with the linker (see issue 0000685).
If I managed to get an earlier version of the intel compilers installed, will I be able to continue with the build? Updating to a newer version of OpenFOAM would require a significant re-write of some of my solvers.
User support request for outdated version of OpenFOAM.
|2021-11-24 16:27||jackdoubleyou||New Issue|
|2021-11-24 16:27||jackdoubleyou||File Added: output.log|
|2021-11-24 16:41||henry||Priority||normal => none|
|2021-11-24 16:41||henry||Severity||block => minor|
|2021-11-24 16:41||henry||Description Updated||View Revisions|
|2021-11-24 16:45||henry||Note Added: 0012273|
|2021-11-24 16:46||henry||Note Added: 0012274|
|2021-11-25 09:52||jackdoubleyou||Note Added: 0012276|
|2021-11-25 10:09||henry||Assigned To||=> henry|
|2021-11-25 10:09||henry||Status||new => closed|
|2021-11-25 10:09||henry||Resolution||open => no change required|
|2021-11-25 10:09||henry||Note Added: 0012277|