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

PStream problems

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By msrinath80

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2006, 20: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: 703
Rep Power: 21
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, 05: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: 703
Rep Power: 21
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.
tonnykz likes this.
msrinath80 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
Problems with Fluent on simple 1D problems agg FLUENT 3 November 21, 2008 11: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 09:10.