|
[Sponsors] |
Truncated terminal output using 'Run-time Code Compilation in parallel' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 5, 2014, 08:15 |
Truncated terminal output using 'Run-time Code Compilation in parallel'
|
#1 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Hi FOAMers,
I am working on Debian Squeeze (x64). Since version 2.2.x I need to install OF via Code:
foamCompiler=ThirdParty Compilation went smooth, foamInstallationTest reports: Code:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: computer OS: Linux version 2.6.32-5-amd64 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /prgz/OpenFOAM yes yes $WM_PROJECT_USER_DIR /storage001/me/usrDev-2.3.x no no $WM_THIRD_PARTY_DIR /prgz/OpenFOAM/ThirdParty-2.3.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /prgz/OpenFOAM/OpenFOAM-2.3.x yes yes yes $FOAM_APPBIN ...-2.3.x/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.3.x/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.3.x/platforms/linux64GccDPOpt/bin no no $WM_DIR /prgz/OpenFOAM/OpenFOAM-2.3.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...-2.3.x/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.3.x/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.3.x/platforms/linux64GccDPOpt/lib no no $MPI_ARCH_PATH ...x/platforms/linux64Gcc/openmpi-1.6.5 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.37 .../ThirdParty-2.3.x/platforms/linux64/gcc-4.8.2/bin/flex [: 460: -lt: unexpected operator [: 460: -gt: unexpected operator [: 460: -lt: unexpected operator [: 460: -gt: unexpected operator [: 460: !=: unexpected operator gcc ...M/ThirdParty-2.3.x/platforms/linux64/gcc-4.8.2/bin/gcc gzip 1.3.12 /bin/gzip tar 1.23 /bin/tar icoFoam 2.3.x ...M/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Code:
31 Pstream initialized with: 32 floatTransfer : 0 33 nProcsSimpleSum : 0 34 commsType : nonBlocking 35 polling iterations : 0 36 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). 37 fileModificationChecking : Monitoring run-time modified files using timeStampMaster 38 allowSystemOperations : Allowing user-supplied system call operations 39 40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 41 Create time 42 43 Create mesh for time = 0 44 45 Reading field p 46 47 Reading field U 48 49 Reading/calculating face flux field phi 50 51 Using #calcEntry at line 34 in file "/storage002/daum/runs/cpu/wigley/ms--hullNo03-doubleHullTest/constant/transportProperties" 52 Using #codeStream with "/storage002/daum/runs/cpu/wigley/ms--hullNo03-doubleHullTest/dynamicCode/platforms/linux64GccDPOpt/lib/libcodeStream_9a1af66df5a41e153af5341b0be9738563cb3a41.so" Does anyone know why or experienced the same? With version 2.1.x everything is working fine. I guessed that it might be due to OpenMPI, but I tried both the system version and that one provided by ThirdParty with no difference. The foamInstallationTest-script also outputs the some warning lines, which were discussed somewhere else in this forum. But this should not be related to the problem above, shouldn' it? Code:
[: 460: -lt: unexpected operator [: 460: -gt: unexpected operator [: 460: -lt: unexpected operator [: 460: -gt: unexpected operator [: 460: !=: unexpected operator /Stefan |
|
March 6, 2014, 16:54 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Stefan,
I assume that at the beginning of your post, you meant to write "2.3.x" and not "2.2.x", since the script refers to 2.3.x . A few questions, to help diagnose the problem:
Best regards, Bruno
__________________
Last edited by wyldckat; March 6, 2014 at 16:55. Reason: see "edit:" |
|
March 7, 2014, 07:51 |
|
#3 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Thank you Bruno for taking a look!
I mean since "2.2.x", so it happens with 2.2.x and 2.3.x as well.
The log output is truncated when using the modified system/forceCoeffs dict above. So the problem might be related to functionObjects!? Edit: I checked this issue with Debian Wheezy and fresh compiled OF 2.2.x and 2.3.x via foamCompiler=System. It is still not working there. Something within 'Pstream implementation' and OpenMPI must changed from 2.1.x to 2.2.x in my opinion. /Stefan Last edited by SD@TUB; March 11, 2014 at 08:12. |
|
March 23, 2014, 14:17 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Stefan,
I finally managed to give a look into this and I've used the latest commit on 2.3.x. Here's what I've gotten:
Best regards, Bruno
__________________
|
|
April 15, 2014, 15:28 |
Solved
|
#5 | |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Quote:
Today, I updated OF with the latest commit and the bug seems to be fixed indeed. So I do not have to rely on your workaround Thanks, Stefan |
||
Tags |
dynamiccode, truncated output |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 14:52 |
Cannot run the code in parallel. Help please (urgent). | crst15 | OpenFOAM | 11 | February 17, 2014 02:02 |
How to make code run in parallel? | cwang5 | OpenFOAM Programming & Development | 1 | May 30, 2011 05:47 |
lift and drag on ship superstructures | vaina74 | OpenFOAM Running, Solving & CFD | 3 | June 8, 2010 13:30 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |