Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Error when build openmpi on Mac Pro
From: Reem Alraddadi (raba500_at_[hidden])
Date: 2013-06-14 05:31:27


Hi all,
Jeff -- I am not sure want do you mean by STL but currently I am using
mpich-3.0.4 with gcc and I don't have any problem. Is there a way to know
if C++ still works on Mac or not? I am sure that on Mac I use C++ but i
haven't try to use it before.

Gus-- I tried to use CXX=g++ but the configure step fail. since gcc has C
compiler I just switch to gcc.

Thanks,
Reem

On 13 June 2013 22:13, Gus Correa <gus_at_[hidden]> wrote:

> Hi all
>
>
> On 06/13/2013 05:02 PM, Jeff Squyres (jsquyres) wrote:
>
>> It looks like you might have a busted C++ compiler.
>>
>>
> Why not use CXX=g++?
> Would this be the problem?
>
> >> $ export CXX=gcc
>
> Gus Correa
>
>
>
> Can you compile any non-MPI C++ programs that use the STL?
>>
>>
>> On Jun 12, 2013, at 6:58 AM, Reem Alraddadi<raba500_at_[hidden]> wrote:
>>
>> Dear all,
>>>
>>> I am trying to build openmpi-1.6.1 on Mac os x version 10.7.5. The
>>> configuration process goes without any error. However, when I did "make
>>> all" I got an error:
>>>
>>> std::allocator<std::pair<**unsigned int const, unsigned int> > >*)
>>> constin Stats.o
>>> ld: symbol(s) not found for architecture x86_64
>>> collect2: ld returned 1 exit status
>>> make[9]: *** [otfaux] Error 1
>>> make[8]: *** [all-recursive] Error 1
>>> make[7]: *** [all-recursive] Error 1
>>> make[6]: *** [all] Error 2
>>> make[5]: *** [all-recursive] Error 1
>>> make[4]: *** [all-recursive] Error 1
>>> make[3]: *** [all] Error 2
>>> make[2]: *** [all-recursive] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all-recursive] Error 1
>>>
>>> you can see the whole make file in attachement. In configure step I
>>> wrote the following:
>>>
>>> $ export F77=gfortran
>>>
>>> $ export FFLAGS='-m64'
>>>
>>> $ export FC=gfortran
>>>
>>> $ export FCFLAGS='-m64'
>>>
>>> $ export CC=gcc
>>>
>>> $ export CXX=gcc
>>>
>>> $export ARCHFLAGS="-arch x86_64"
>>>
>>> $ ~/Desktop/openmpi-1.6.1/**configure --prefix=/Users/reemalraddadi/**openmpi-install
>>> 2>&1 |tee c.txt --enable-gfortran -with-gnu-ld -o
>>>
>>>
>>>
>>> I am pretty sure that I use my Mac is 64-bit :
>>>
>>> $ file /usr/lib/libffi.dylib
>>>
>>> /usr/lib/libffi.dylib: Mach-O universal binary with 2
>>> architectures/usr/lib/libffi.**dylib (for architecture x86_64):
>>> Mach-O 64-bit dynamically linked shared library x86_64
>>> /usr/lib/libffi.dylib (for architecture i386): Mach-O dynamically
>>> linked shared library i386
>>>
>>> Does anyone has an idea where the wrong is?
>>>
>>>
>>> Thanks,
>>> Reem
>>>
>>> <make output.txt>___________________**____________________________
>>> 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>
>