CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Problem wih Compiling under Tru64 foamFlex

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2005, 21:17
Default Hi, i try to compile OpenFo
  #1
Member
 
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17
matthias is on a distinguished road
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
matthias is offline   Reply With Quote

Old   December 1, 2005, 05:25
Default foamFlex never got built prope
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
foamFlex never got built properly. Got to $FOAM_UTIL/miscellaneous/foamFlex and type

wmake exe

and see why it does not build
mattijs is offline   Reply With Quote

Old   December 1, 2005, 06:36
Default I solved the problem by removi
  #3
Member
 
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17
matthias is on a distinguished road
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.
matthias is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:00.