-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Fitzgerald wrote:
> 
> 
> Hi all,
> 
> I am having trouble building fftw-mpi-2.1.5-1015 on an i386 system
> running 10.4.  Here is the relevant error in the configure step:
> 
>> checking for MPI_Init... no
>> checking for MPI_Init in -lmpi... no
>> checking for MPI_Init in -lmpich... no
>> configure: error: couldn't find mpi library for --enable-mpi
>> ### execution of /var/tmp/tmp.1.P8T9gB failed, exit code 1
> 
> Note that I have openmpi installed via fink.  nm shows the existence of
> the MPI_Init symbol in /sw/lib/openmpi/libmpi.dylib.
> 
>> > locate libmpi
>> /sw/lib/openmpi/libmpi.0.dylib
>> /sw/lib/openmpi/libmpi.a
>> /sw/lib/openmpi/libmpi.dylib
>> /sw/lib/openmpi/libmpi.la
>> /sw/lib/openmpi/libmpi_cxx.0.dylib
> <snip>
> 
> Perhaps the linker needs to be told of the /sw/lib/openmpi path?
> 
> Thanks for the attention,
> Mike
> 
> 
> 
> 

It works for me.

Just because you installed openmpi via fink, that doesn't guarantee that
the configuration step is finding that rather than some other
installation of openmpi.  In what you snipped from your "locate libmpi"
output, was there, per chance, /usr/local/lib/openmpi or another
instance of openmp ?

And what do you get from running

        which mpicc

?

Also, check the config.log file in the openmpi-fftw build directory in
/sw/src/fink.build, which will hopefully display the commands that are
being run when it checks for functionalities.

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqAVSQACgkQB8UpO3rKjQ9CBgCfULjScT5wegokblJPNAicUuS4
xDQAnRSUvIr0tLx2bA3YHZKWaQyvpDzq
=kASw
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to