Open MPI logo

Open MPI User's Mailing List Archives

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

From: Xiaoning (David) Yang (xyang_at_[hidden])
Date: 2006-02-15 11:28:19


Brian,

Thank you for your help. I've asked our system administrator to install Open
MPI on a server. I hope she will succeed.

David

***** Correspondence *****

> From: Brian Barrett <brbarret_at_[hidden]>
> Reply-To: Open MPI Users <users_at_[hidden]>
> Date: Tue, 14 Feb 2006 19:19:22 -0500
> To: Open MPI Users <users_at_[hidden]>
> Subject: Re: [OMPI users] Installing OpenMPI on a solaris
>
> Can you send me the config.log file generated by Open MPI's
> configure? It should give some indication as to what is wrong. If
> you are on a Ultra Sparc machine (pretty much any machine built after
> the Ultra 1), you might want to set the compiler flags to set the
> default build mode to v8plus (aka 32 bit sparc v9). The difference
> between the default v8 assembly and the v8plus assembly is pretty
> great in terms of performance. Configuring Open MPI with something
> like:
>
> ./configure CFLAGS="-mv8plus" CXXFLAGS="-mv8plus" FFLAGS="-mv8plus" \
> FCFLAGS="-mv8plus" <other options>
>
> should do the trick.
>
> Brian
>
> On Feb 14, 2006, at 3:48 PM, Xiaoning (David) Yang wrote:
>
>> Brian,
>>
>> Thank you for your help. It turned out that my path pointed to an
>> older
>> version of gcc. After correcting that, I no longer get the same
>> error. But
>> now the error becomes, after I issued "make all install",
>>
>> ......
>> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../
>> include
>> -I../.. -I../.. -I../../include -I../../opal -I../../orte -I../../ompi
>> -D_REENTRANT -O3 -DNDEBUG -fno-strict-aliasing -c req_test.c
>> -Wp,-MD,.deps/req_test.TPlo -fPIC -DPIC -o .libs/req_test.o
>> /usr/ccs/bin/as: "/var/tmp//cc5lFbCH.s", line 17: error: cannot use
>> v8plus
>> instructions in a non-v8plus target binary
>> /usr/ccs/bin/as: "/var/tmp//cc5lFbCH.s", line 155: error: cannot
>> use v8plus
>> instructions in a non-v8plus target binary
>> *** Error code 1
>> make: Fatal error: Command failed for target `req_test.lo'
>> Current working directory /home/xyang/openmpi/openmpi-1.0.1/ompi/
>> request
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /home/xyang/openmpi/openmpi-1.0.1/ompi
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>>
>> Any clue what went wrong this time? Thanks a lot!
>>
>> David
>>
>> ***** Correspondence *****
>>
>>
>>
>>> From: Brian Barrett <brbarret_at_[hidden]>
>>> Reply-To: Open MPI Users <users_at_[hidden]>
>>> Date: Tue, 14 Feb 2006 13:54:21 -0500
>>> To: Open MPI Users <users_at_[hidden]>
>>> Subject: Re: [OMPI users] Installing OpenMPI on a solaris
>>>
>>> On Feb 14, 2006, at 11:57 AM, Xiaoning (David) Yang wrote:
>>>
>>>> Thanks for the info. I tried to compile the simple code in your
>>>> email with
>>>> 'c++ -c foo.c' and got the similar error. Does it mean that my
>>>> compiler was
>>>> not configured correctly? Thanks.
>>>
>>> Yes, it points to a configuration issue with your C++ compiler.
>>> Until that issue is resolved, it will be impossible to compile Open
>>> MPI on that machine.
>>>
>>> Brian
>>>
>>>
>>>> ***** Correspondence *****
>>>>
>>>>
>>>>
>>>>> From: Brian Barrett <brbarret_at_[hidden]>
>>>>> Reply-To: Open MPI Users <users_at_[hidden]>
>>>>> Date: Tue, 14 Feb 2006 08:48:49 -0500
>>>>> To: Open MPI Users <users_at_[hidden]>
>>>>> Subject: Re: [OMPI users] Installing OpenMPI on a solaris
>>>>>
>>>>> On Feb 13, 2006, at 12:29 PM, Xiaoning (David) Yang wrote:
>>>>>
>>>>>> I'm installing OpenMPI on a solaris system and got the following
>>>>>> error
>>>>>> message when running make:
>>>>>>
>>>>>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95/../../../../
>>>>>> include/g++-3/s
>>>>>> tl_config.h:151: _G_config.h: No such file or directory
>>>>>>
>>>>>> What does it mean and how to solve the problem. Thanks for any
>>>>>> help!
>>>>>
>>>>> It is hard to tell without seeing the surrounding output, but it
>>>>> appears that your C++ compiler is configured incorrectly and not
>>>>> able
>>>>> to compile STL code. You might want to try building a simple
>>>>> Hello,
>>>>> World example using the IOStreams (like the one below) -- if that
>>>>> doesn't work, you need to talk to your sysadmin or the supplier of
>>>>> the GCC binaries you are using and figure out how to get simple
>>>>> applications to compile. If the simple example compiles, please
>>>>> send
>>>>> us the config.log from your Open MPI source tree and a bit more of
>>>>> the output from make.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Brian
>>>>>
>>>>> --
>>>>> Brian Barrett
>>>>> Open MPI developer
>>>>> http://www.open-mpi.org/
>>>>>
>>>>>
>>>>> #include <iostream>
>>>>>
>>>>> int
>>>>> main(int argc, char *argv[])
>>>>> {
>>>>> std::cout << "Hello, World" << std::endl;
>>>>> return 0;
>>>>> }
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>> --
>>> Brian Barrett
>>> Open MPI developer
>>> http://www.open-mpi.org/
>>>
>>>
>>> _______________________________________________
>>> 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
>
> --
> Brian Barrett
> Open MPI developer
> http://www.open-mpi.org/
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users