CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

PStream problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 23, 2006, 21:23
Default Can anyone point out what I ha
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 700
Rep Power: 12
msrinath80 is on a distinguished road
Can anyone point out what I have to do to solve this problem?

Thanks!

[madhavan@head01 Pstream]$ ./Allwmake
make: Nothing to be done for `allFiles'.
make: `lnInclude/uptodate' is up to date.
make: `Make/linuxAMD64Gcc4DPOpt/dependencies' is up to date.
libso
`/homes/madhavan/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/dummy/libPstream. so' is up to date.
make: Nothing to be done for `allFiles'.
make: `lnInclude/uptodate' is up to date.
make: `Make/linuxAMD64Gcc4DPOptLAM/dependencies' is up to date.
libso
/homes/madhavan/OpenFOAM/OpenFOAM-1.3/wmake/tcshScripts/mkObjectDir /homes/madhavan/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/libPstream
rm -f so_locations
cd Make/linuxAMD64Gcc4DPOptLAM ; \
g++ -m64 -DlinuxAMD64 -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-30 -I/opt/lam-7.0.6/include -I/homes/madhavan/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -shared OPwrite.o IPread.o Pstream.o -L/homes/madhavan/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOptLAM -L/opt/lam-7.0.6/lib -lmpi -llam -lpthread -lutil -o /homes/madhavan/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/libPstream.so
/usr/bin/ld: /opt/lam-7.0.6/lib/libmpi.a(tlb.o): relocation R_X86_64_32 against `lam_mpi_comm_world' can not be used when making a shared object; recompile with -fPIC
/opt/lam-7.0.6/lib/libmpi.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [/homes/madhavan/OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/libPstream.so] Error 1
msrinath80 is offline   Reply With Quote

Old   December 25, 2006, 06:38
Default It was a problem with the mpi
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 700
Rep Power: 12
msrinath80 is on a distinguished road
It was a problem with the mpi libraries being static instead of shared. I solved the problem by downloading lam version 7.0.6 and making changes to the LAM version etc in the cshrc file and executing Allwmake to recompile the source with the appropriate LAM version.
msrinath80 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Fluent on simple 1D problems agg FLUENT 3 November 21, 2008 12:55
Prallel run error Pstream library tsjb00 OpenFOAM Running, Solving & CFD 1 April 12, 2008 08:43
2D and 3D Problems Soon CFX 5 June 23, 2005 21:23
Vr problems Mark Phoenics 3 June 18, 2002 09:31


All times are GMT -4. The time now is 05:30.