|
[Sponsors] |
[OpenFOAM.com] compile v2006 PDRsetFields failed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2020, 22:59 |
compile v2006 PDRsetFields failed
|
#1 |
New Member
Ery Djunaedy
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Folks, I tried to build OpenFoam v2006, but found the following error.
I am using Ubuntu 18.04. I have followed the system requirement instructions (https://www.openfoam.com/documentati...quirements.php) and foamSystemCheck says I can continue to installation. Here is the pertinent part of the log file: Code:
wmake objects moveDynamicMesh g++: error: /opt/OpenFOAM/OpenFOAM-v2006/build/linux64GccDPInt32Opt/applications/utilities/preProcessing/PDRsetFields/PDRsetFields/PDRsetFields.o: No such file or directory /opt/OpenFOAM/OpenFOAM-v2006/wmake/makefiles/general:148: recipe for target '/opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/PDRsetFields' failed make[2]: *** [/opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/PDRsetFields] Error 1 /opt/OpenFOAM/OpenFOAM-v2006/wmake/makefiles/apps:29: recipe for target 'PDRsetFields' failed make[1]: *** [PDRsetFields] Error 2 /opt/OpenFOAM/OpenFOAM-v2006/wmake/makefiles/apps:29: recipe for target 'preProcessing' failed make: *** [preProcessing] Error 2 make: *** Waiting for unfinished jobs.... Ctoo: mergeMeshes.C |
|
August 11, 2020, 02:03 |
|
#2 |
New Member
Santiago Mosca
Join Date: Aug 2018
Location: La Plata, Buenos Aires, Argentina
Posts: 1
Rep Power: 0 |
Hi Ery,
I ran into the same error when trying to compile v2006. I got to compile OpenFOAM running the Allwmake script with '-k' flag (ignore errors). The first pass I got error warnings not only about PDRsetFields, but also regarding the applications where OpenQBMM libraries were involved. After this first pass, if tried to run the tutorial case in $FOAM_TUTORIALS/preProcessing/PDRsetFields/simplePipeCage, and had no troubles. Later I performed a second run of Allwmake, without -k flag. This time the log had no errors reported. Let me know if this worked for you. Santiago Last edited by _el_jugador; August 12, 2020 at 16:57. Reason: Clarify sintax. Noticed the previous post already used a suggestion mentioned in my reply. |
|
September 22, 2020, 14:03 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
The problem was that the Allwmake for PDRsetFields was not managing the wmake '-q' (queuing option) properly. This has been fixed in the master branch. The simple solution is to compile without the '-q' option.
Adding the '-k' option will simply have compilation keep-goong (ignoring the failure). If you don't need PDRsetFields, it won't matter either way which solution you pick. |
|
October 26, 2020, 15:37 |
|
#4 | |
New Member
Jeffrey Johnston
Join Date: Oct 2020
Location: Belfast, Northern Ireland
Posts: 21
Rep Power: 6 |
Quote:
I found that when using Allwmake with the -q option not only resulted in the error described above but meant that openfoam commands were not being recognised (e.g. icoFoam, blockMesh...) Building the code again but without the -q option seems to have resolved the issue (although this took much longer to run). Hope this helps somebody in a similar predicament. |
||
November 3, 2020, 16:11 |
|
#5 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
This was fixed in the master branch a while ago. But you can (or should?) just use the Ubuntu binary packs.
https://develop.openfoam.com/Develop...ompiled/debian |
|
Tags |
compile from source |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 04:35 |
Initial conditions for uniform flow | andreas | OpenFOAM | 5 | November 16, 2012 16:00 |
[OpenFOAM] ParaView/Parafoam error when making animation | Disco_Caine | ParaView | 6 | September 28, 2010 10:54 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |