-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I see. There's not an automatic way to tell Fink to switch which implementation it builds against--a package needs to be configured with openmpi and lammpi variants specifically.
The fftw package description would thus have to be modified to allow for different alternatives. I'll cc the fftw maintainer to see if such an option could be provided. Our openmpi is at 1.2.4, so it's newer than the system's. Todd Krause wrote: | | Ah, wow, I didn't realize. Sorry. What I was actually trying to do was use a cosmology program called Gadget2, and it requires the older version 2.1.5 of FFTW. I had installed the latter with Fink's LAM/MPI (not knowing that I had other options), and so things work okay. But then I only recently realized that Leopard includes OpenMPI. So I tried to compile fftw-2.1.5 myself with Leopard's OpenMPI to try to minimize redundancy on my system. When that didn't work, I was told by someone on the FFTW list: | | Two options: | | a) get a different/newer MPI implementation (e.g. the latest OpenMPI). | | and/or | | b) try using static libraries instead of shared (don't use --enable-shared). | | | Well, option b) didn't work; so for me fftw-2.1.5 won't compile if I use "--enable-mpi" (for some reason it can't find "fftw_gettimeofday..." in the file timer.c). Hence my whole reason for using FFTW in the first place is shot. And as for option a), well if I have to upgrade (though OpenMPI in Leopard is at, I guess 1.2.3, and the OpenMPI group just released 1.2.5), then Fink would be my method of choice (I haven't yet figured out how to upgrade the Apple package itself, without just waiting for Apple to update it). But I didn't know I could tell Fink to use OpenMPI rather than LAM/MPI to compile against. Good thing I'm on the beginners-list. | | Best, | Todd | | On Mon, 11 Feb 2008, Alexander K. Hansen wrote: | |> On Monday 11 February 2008 11:43:28 am Todd Krause wrote: |>> Howdy, |>> |>> I just wanted to ask if there's any possibility of changing the LAM/MPI |>> dependencies in the near future to OpenMPI for the version of Fink geared |>> towards Leopard (since this now comes with OpenMPI included)? I |>> understand that Fink doesn't like to assume any given computer has |>> everything it needs, and so imports its own. It's just that I recently |>> encountered some errors with LAM/MPI, and when I asked for help on the |> LAM/MPI listserve, they said "switch to OpenMPI" -- in so many words! But |>> if I do that, I essentially have to trash everything mpi-ish in Fink |>> (unless I'm missing something). However, it seems even LAM/MPI has |>> stopped maintaining LAM/MPI... |> |>> I recognize the package maintainers have a lot on their plate right |>> now.... I'm not a slick enough programmer to know how to help with the |>> FInk package maintenance, though I guess I'd be willing to learn if |>> someone could tell me how to get started. |>> |>> Best, |>> Todd |>> |>> |> A lot of our MPI-using packages have the option to use either openmpi or |> lammpi. (we use our own rather than the system's, though). |> |> What are you using right now that only works with lammpi? |> -- |> Alexander K. Hansen |> akh AT finkproject DOT org |> Fink User Liaison and Documenter |> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsIt8B8UpO3rKjQ8RAiGVAJ0cgULwjrna3/0KXBWADdUEmgMmTwCffFEJ oYSliIh+0EC/4jS+o1MND54= =WG08 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
