BUG: Failure of tutorial cases
Activity
- Owner
It looks as though you cannot run cases with dynamic code/codeStream?
/home/alex2/prashant/OpenFOAM/ThirdParty-dev-OpenCFD/platforms/linux64/gcc-4.6.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/x86_64-unknown-linux-gnu/bits/os_defines.h:40:22: fatal error: features.h: No such file or directory compilation terminated.
Is your gcc install complete? - can you try with the system compiler? For the same case (potentialFoam/cylinder) I do not see any errors on my local machine
- Author Developer
I found the issue for failure in dynamicCode on other nodes of muttley.
Do following in muttley1 and muttley* to see the difference
ls -ltr /usr/include/
There is a features.h file which is missing on other nodes.
- Maintainer
So it is the combination of a gcc compiled on a machine with features.h ("This file is a GNU parallel extension to the Standard C++ Library") and one without.
- Author Developer
So, does it makes sense to compile on muttley2 or such machine where this features.h is not present?
Would that work on machines with this file? (combination of muttley1 and muttley2 then?)
@Pawan : adding to circulation list
Edited by Prashant Sonakar - Maintainer
The idea is that the dynamicCode gets compiled on the same machine as you compile the code itself. So as long as the master process is on muttley1 (which includes features.h) it will be the only one that compiles and the others will just do a dlopen without trying to compile.
- Author Developer
Strange, but reproducible error in muttley3.
I tried testing same case in muttley1, and it succeed. Both cases are available under:
/home/alex2/prashant/OpenFOAM/OpenFOAM-dev-OpenCFD.develop/tutorialsTest/basic/potentialFoam
Yes, the compilation of gcc is compelte (/home/alex2/prashant/OpenFOAM/ThirdParty-dev-OpenCFD.develop/platforms/linux64/gcc-4.6.2/bin/gcc)
- Author Developer
I retested the tutorials on muttley1.
This time all except foamyHexMesh related tests succeed.
/home/alex2/prashant/OpenFOAM/OpenFOAM-dev-OpenCFD.develop/tutorialsTest.07Dec-muttley1/testLoopReport
- Prashant Sonakar Status changed to closed
Status changed to closed
- Prashant Sonakar Status changed to reopened
Status changed to reopened
- Prashant Sonakar Status changed to closed
Status changed to closed
- Mattijs Janssens mentioned in commit 13493c88
mentioned in commit 13493c88