Todd Krause wrote:
> Hi,
>
> Could someone please give me advice on how to resolve the following error 
> I get with FFTW 2.1.5?  When I try to run Gadget2, a parallel cosmology 
> code that uses MPI and FFTW, I get
>
> 10:52 AM btpro:Gadget2> mpd &
> [1] 457
> 10:52 AM btpro:Gadget2> mpirun -np 1 ./Gadget2 ./parameterfiles/galaxy.param
> dyld: Symbol not found: _lam_mpi_float
>    Referenced from: /sw/lib/libsfftw_mpi.2.dylib
>    Expected in: flat namespace
>
> 10:53 AM btpro:Gadget2> mpdallexit
>
> The first and last lines are starting and quitting the MPI environment. 
> My problem was that in order to "make" Gadget2, I needed FFTW 2.1.5 with 
> MPI enabled, and an MPI package.  I installed MPICH2 myself in /usr/local, 
> and the unstable fftw-mpi via Fink.  The latter also installed gcc4.2 and 
> lammpi.  Now I get Gadget2 to "make", but it won't execute.  Does anyone 
> have any suggestions on how to fix this?
>
> I'm working on a MacBook Pro, and I have Xcode 2.4.1 installed -- in fact 
> I *reinstalled* Xcode to see if this would fix the linking problem, but to 
> no avail.
>
> Thanks for any suggestions,
> Todd
>
>   
Did you reinstall Xcode _and_ rebuild Gadget2 (or any of the other 
packages)?

One thing to check is whether your libfftw got misbuilt.  What do you 
get from

otool -L /sw/lib/libsfftw_mpi.2.dylib

?

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to