FWIW, I have found that the -lmpi used by LAM's wrapper compilers may
actually find /usr/lib/libmpi rather than your LAM libmpi. I'm not
enough of an OS X expert to chase this further.
If I manually compiled an MPI app with the result of "mpicc --
showme" (using the full pathname to LAM's libmpi instead of -lmpi),
then LAM 7.1.4 worked fine for me on my Leopard MBP.
But as suggested, Open MPI is a better bet -- that's where we're all
spending our time these days (a slightly earlier version of Open MPI
is what ships in Leopard, but since Apple doesn't ship a fortran
compiler, fortran support was disabled).
On Mar 28, 2008, at 12:26 PM, Artur Tyliszczak wrote:
> Hi Greg,
>
> I had a lot of problems installing LAM on my MacBookPro (Intel
> processor) under Leopard. Using Tiger everything was fine but with
> Leopard......... Anyway, finally I managed to compile (Intel fortran
> compiler) and install LAM 7.1.4, then I could also compile my programs
> without any problems. BUT when I tried to start whatever, even the
> simplest "Hello world" some strange errors were reported. If you are
> interested you can try to find my thread on LAM forum.
>
> Instead of LAM I installed OpenMPI (this has nothing common with Open
> MP transfer protocol) which uses MPI standard. Now everything works
> perfectly.
>
> You can try to do the same.
>
> Regards,
> Artur.
>
> On 2008-03-28, at 17:07, Gregory John Orris wrote:
>
>> Artur,
>>
>> Without going into the gory details, the native mpicc does not
>> include
>> a fortran compiler. I thought I'd install LAM, since I used it under
>> Tiger and was more than satisfied. The compiling of the software was
>> done to ensure that the correct set of compilers. Sorry but, if it
>> were that easy I'd not sent out the query. I did notice that several
>> years ago a similar problem was found on the Itaniums. Wondering if
>> the problems are related since they seem to be internal to LAM?
>>
>> Regards,
>> Greg
>>
>> On Mar 28, 2008, at 4:41 AM, Artur Tyliszczak wrote:
>>
>>> Hi,
>>>
>>> Leopard has its own mpirun.
>>> Please check which one you are actually using. That one from LAM or
>>> from the system.
>>> How did you compile 'hello' program.
>>>
>>> Regards,
>>> Artur Tyliszczak.
>>>
>>> On 2008-03-27, at 21:42, Gregory John Orris wrote:
>>>
>>>> I just re-installed LAM on my Leopard cluster and after a lot of
>>>> difficulties in the configure and compile I've reached the
>>>> following
>>>> error
>>>>
>>>> [mymachine:lam-7.1.4/examples/hello] myname% mpirun -np 4 hello
>>>> mpirun (set_stdio): Bad file descriptor
>>>>
>>>> Any hints?
>>>>
>>>> Laminfo output
>>>>
>>>> LAM/MPI: 7.1.4
>>>> Prefix: /opt/local
>>>> Architecture: i386-apple-darwin9.2.0
>>>> Configured by: myname
>>>> Configured on: Thu Mar 27 14:38:43 EDT 2008
>>>> Configure host: mymachine
>>>> Memory manager: darwin7malloc
>>>> C bindings: yes
>>>> C++ bindings: yes
>>>> Fortran bindings: yes
>>>> C compiler: /usr/local/bin/gcc
>>>> C++ compiler: /usr/local/bin/g++
>>>> Fortran compiler: /usr/local/bin/gfortran
>>>> Fortran symbols: underscore
>>>> C profiling: yes
>>>> C++ profiling: yes
>>>> Fortran profiling: yes
>>>> C++ exceptions: no
>>>> Thread support: yes
>>>> ROMIO support: yes
>>>> IMPI support: no
>>>> Debug support: no
>>>> Purify clean: no
>>>> SSI boot: globus (API v1.1, Module v0.6)
>>>> SSI boot: rsh (API v1.1, Module v1.1)
>>>> SSI boot: slurm (API v1.1, Module v1.0)
>>>> SSI coll: lam_basic (API v1.1, Module v7.1)
>>>> SSI coll: shmem (API v1.1, Module v1.0)
>>>> SSI coll: smp (API v1.1, Module v1.2)
>>>> SSI rpi: crtcp (API v1.1, Module v1.1)
>>>> SSI rpi: lamd (API v1.0, Module v7.1)
>>>> SSI rpi: sysv (API v1.0, Module v7.1)
>>>> SSI rpi: tcp (API v1.0, Module v7.1)
>>>> SSI rpi: usysv (API v1.0, Module v7.1)
>>>> SSI cr: self (API v1.0, Module v1.0)
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>>>
>>> _______________________________________________
>>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>>>
>>
>> _______________________________________________
>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
Jeff Squyres
Cisco Systems
|