|
[Sponsors] |
November 30, 2005, 21:17 |
Hi,
i try to compile OpenFo
|
#1 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 |
Hi,
i try to compile OpenFoam under Tru64 and get the following problem: I added a decAlpha rule file into the rules directory, the one which you can get in this forum. After modifying the cshrc and .cshrc with the OSF1 variable, i run Allwmake. I selected the LAM as my favourite MPI. Now after few compiler steps, i get an error like this: SOURCE_DIR=triSurface/interfaces/STL SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/decAlphaGccOpt/readSTLASCII.C ; g++ -DFOAM_EXCEPTION -DLITTLE_ENDIAN -DdecAlpha -DdecAlphaGccOpt -DscalarMachine -DoptSolvers -Wall -O2 -fno-schedule-insns -DNoRepository -ftemplate-depth-30 -I/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/src/meshTools/lnInclude -I/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude -IlnInclude -I. -I/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/src/lam-7.1.1/platforms/decAlphaGccOpt/i nclude -fPIC -c Make/decAlphaGccOpt/readSTLASCII.C -o Make/decAlphaGccOpt/readSTLASCII.o 336806:/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/applications/bin/decAlphaGccOpt/foa mFlex++: /sbin/loader: Error: libPstream.so: symbol "_ZN4Foam7Pstream8msgType_E" unresolved 336806:/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/applications/bin/decAlphaGccOpt/foa mFlex++: /sbin/loader: Fatal Error: Load of "/usr/user4/foam/OpenFOAM/OpenFOAM-1.2/applications/bin/decAlphaGccOpt/foamFlex+ +" failed: Unresolved symbol name mv: lex.yy.cc: (null) g++: Make/decAlphaGccOpt/readSTLASCII.C: No such file or directory g++: no input files make: *** [Make/decAlphaGccOpt/readSTLASCII.o] Error 1 The compiler goes on, but serveral errors occured during the compilation can't locate libLESdeltas.so can't locate libincompressibleLESmodels.so and so on. Over a half of the libraries are missing after that. Any ideas? mfg Matthias |
|
December 1, 2005, 05:25 |
foamFlex never got built prope
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
foamFlex never got built properly. Got to $FOAM_UTIL/miscellaneous/foamFlex and type
wmake exe and see why it does not build |
|
December 1, 2005, 06:36 |
I solved the problem by removi
|
#3 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 |
I solved the problem by removing the -lPStream option in the rule file of c++ when build foamFlex++ and then i added it again. Now it compiles without any errors.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the difference between flex and foamFlex | allenzhao | OpenFOAM Installation | 1 | August 14, 2008 18:17 |
Flex vs foamFlex | lel | OpenFOAM Installation | 2 | October 11, 2006 07:23 |
OpenFOAM on OSF1 V51 tru64 | andras | OpenFOAM Installation | 0 | April 26, 2006 07:45 |
Build OpenFOAM on Tru64 | francois | OpenFOAM Installation | 18 | April 4, 2006 06:45 |
LAM trouble with tru64 | matthias | OpenFOAM Installation | 7 | December 6, 2005 14:18 |