Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Openmpi - Mac OS X SnowLeopard linking error
From: Pierre-Olivier Dallaire (pierre-olivier.dallaire_at_[hidden])
Date: 2009-09-28 19:06:46


This error only comes out when I try to build the fortran wrappers /
will not fail if only building with gcc/g++

I had to included -all_load in several individual Makefile / using the
env variable LIBS with ./configure does not work.

Thanks !

PO

On 2009-09-28, at 6:57 PM, Ralph Castain wrote:

> Nope - I've been running on Snow Leopard almost since the day it
> came out without problem.
>
> Key was that I had to re-install all my 3rd party software (e.g.,
> compilers) from Macports or wherever as none of the stuff I had
> installed on Leopard would work properly after the upgrade.
>
> Didn't realize that until I found a thread on the Macports list
> where it was pointed out that you have to completely reinstall all
> such software after every major Mac OSX upgrade (i.e., from Tiger to
> Leopard to Snow Leopard).
>
> On Sep 28, 2009, at 4:42 PM, Pierre-Olivier Dallaire wrote:
>
>> Hi,
>>
>> when compiling openmpi-1.3.3 with GNU or PGI compilers, the
>> following occurs :
>>
>> ibtool: link: gcc-4.2 -O3 -DNDEBUG -m64 -finline-functions -fno-
>> strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o ../../../
>> orte/.libs/libopen-rte.a /Users/podallaire/Downloads/openmpi-1.3.3/
>> opal/.libs/libopen-pal.a -lutil
>> Undefined symbols:
>> "_orte_iof", referenced from:
>> _main in orte-iof.o
>> _abort_exit_callback in orte-iof.o
>> "_orte_routed", referenced from:
>> _orte_read_hnp_contact_file in libopen-rte.a(hnp_contact.o)
>> _orte_rml_base_update_contact_info in libopen-rte.a
>> (rml_base_contact.o)
>> _orte_rml_base_update_contact_info in libopen-rte.a
>> (rml_base_contact.o)
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [orte-iof] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>>
>> From the following thread, it seems that an extra linking flag
>> shoud be added : -all_load
>> See : http://www.pgroup.com/userforum/viewtopic.php?t=1594&sid=a9139f8d260d438afc74b5243e06679a
>>
>> Anybody else had this problem ?
>>
>> Thanks
>>
>> PO
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users