|
[Sponsors] |
December 23, 2006, 21:23 |
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 |
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 |
|
December 25, 2006, 06:38 |
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 |
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.
|
|
|
|
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 09:43 |
2D and 3D Problems | Soon | CFX | 5 | June 23, 2005 22:23 |
Vr problems | Mark | Phoenics | 3 | June 18, 2002 10:31 |