Discussion:
[OMPI users] Error during installation
Alessandra Bonazzi
2017-02-13 08:57:44 UTC
Permalink
Goodmorning,
I'm facing a problem during the installation of Open MPI.
The error appears on terminal at a certain point during the compilation and is the following:

*** C++ compiler and preprocessor
checking whether we are using the GNU C++ compiler... no
checking whether gcpc accepts -g... no
checking dependency style of gcpc... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/Users/Alessandra/Desktop/openmpi-2.0.2':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

but GCC is installed on my MacBook. My OS is OS X El Capitan (10.11.6).

I hope you can help me, thank you for your time!
Best regards,
Alessandra Bonazzi
Jeff Squyres (jsquyres)
2017-02-13 15:23:08 UTC
Permalink
Can you send all the information listed here:

https://www.open-mpi.org/community/help/


> On Feb 13, 2017, at 3:57 AM, Alessandra Bonazzi <***@tiscali.it> wrote:
>
> Goodmorning,
> I'm facing a problem during the installation of Open MPI.
> The error appears on terminal at a certain point during the compilation and is the following:
>
> *** C++ compiler and preprocessor
> checking whether we are using the GNU C++ compiler... no
> checking whether gcpc accepts -g... no
> checking dependency style of gcpc... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/Users/Alessandra/Desktop/openmpi-2.0.2':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>
> but GCC is installed on my MacBook. My OS is OS X El Capitan (10.11.6).
>
> I hope you can help me, thank you for your time!
> Best regards,
> Alessandra Bonazzi
> _______________________________________________
> users mailing list
> ***@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users


--
Jeff Squyres
***@cisco.com
Alessandra Bonazzi
2017-02-13 15:53:17 UTC
Permalink
1 Open MPI version: 2.0.2
2 The config.log file: see attachment
3 Output from when you ran "./configure" to configure Open MPI: see attachment (config_output)

Thank you



3
> Il giorno 13 feb 2017, alle ore 16:23, Jeff Squyres (jsquyres) <***@cisco.com> ha scritto:
>
> Can you send all the information listed here:
>
> https://www.open-mpi.org/community/help/
>
>
>> On Feb 13, 2017, at 3:57 AM, Alessandra Bonazzi <***@tiscali.it> wrote:
>>
>> Goodmorning,
>> I'm facing a problem during the installation of Open MPI.
>> The error appears on terminal at a certain point during the compilation and is the following:
>>
>> *** C++ compiler and preprocessor
>> checking whether we are using the GNU C++ compiler... no
>> checking whether gcpc accepts -g... no
>> checking dependency style of gcpc... none
>> checking how to run the C++ preprocessor... /lib/cpp
>> configure: error: in `/Users/Alessandra/Desktop/openmpi-2.0.2':
>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>>
>> but GCC is installed on my MacBook. My OS is OS X El Capitan (10.11.6).
>>
>> I hope you can help me, thank you for your time!
>> Best regards,
>> Alessandra Bonazzi
>> _______________________________________________
>> users mailing list
>> ***@lists.open-mpi.org
>> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
>
>
> --
> Jeff Squyres
> ***@cisco.com
>
> _______________________________________________
> users mailing list
> ***@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Gilles Gouaillardet
2017-02-14 02:22:07 UTC
Permalink
Alessandra,


your configure command line is

./configure CC=gcc CXX=gcpc F77=gfortran FC=gfortran --prefix=/usr/local


i guess gcpc is a typo and you meant g++ instead.

fwiw, the default prefix is /usr/local, so you do not really need
'--prefix=/usr/local'


Cheers,


Gilles


On 2/14/2017 12:53 AM, Alessandra Bonazzi wrote:
>
>
>
>
>
> 1 Open MPI version: 2.0.2
> 2 The config.logfile: see attachment
> 3 Output from when you ran "|./configure|" to configure Open MPI: see
> attachment (config_output)
>
> Thank you
>
>
>
> 3
>> Il giorno 13 feb 2017, alle ore 16:23, Jeff Squyres (jsquyres)
>> <***@cisco.com <mailto:***@cisco.com>> ha scritto:
>>
>> Can you send all the information listed here:
>>
>> https://www.open-mpi.org/community/help/
>>
>>
>>> On Feb 13, 2017, at 3:57 AM, Alessandra Bonazzi
>>> <***@tiscali.it <mailto:***@tiscali.it>>
>>> wrote:
>>>
>>> Goodmorning,
>>> I'm facing a problem during the installation of Open MPI.
>>> The error appears on terminal at a certain point during the
>>> compilation and is the following:
>>>
>>> *** C++ compiler and preprocessor
>>> checking whether we are using the GNU C++ compiler... no
>>> checking whether gcpc accepts -g... no
>>> checking dependency style of gcpc... none
>>> checking how to run the C++ preprocessor... /lib/cpp
>>> configure: error: in `/Users/Alessandra/Desktop/openmpi-2.0.2':
>>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>>>
>>> but GCC is installed on my MacBook. My OS is OS X El Capitan (10.11.6).
>>>
>>> I hope you can help me, thank you for your time!
>>> Best regards,
>>> Alessandra Bonazzi
>>> _______________________________________________
>>> users mailing list
>>> ***@lists.open-mpi.org <mailto:***@lists.open-mpi.org>
>>> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
>>
>>
>> --
>> Jeff Squyres
>> ***@cisco.com <mailto:***@cisco.com>
>>
>> _______________________________________________
>> users mailing list
>> ***@lists.open-mpi.org
>> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> ***@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Jeff Squyres (jsquyres)
2017-02-14 12:18:27 UTC
Permalink
+1 on what Gilles said.

From config.log:


configure:18397: gcpc --version >&5

./configure: line 18399: gcpc: command not found

configure:18408: $? = 127


That's the failure.

Sent from my phone. No type good.

On Feb 13, 2017, at 9:23 PM, Gilles Gouaillardet <***@rist.or.jp<mailto:***@rist.or.jp>> wrote:


Alessandra,


your configure command line is

./configure CC=gcc CXX=gcpc F77=gfortran FC=gfortran --prefix=/usr/local


i guess gcpc is a typo and you meant g++ instead.

fwiw, the default prefix is /usr/local, so you do not really need '--prefix=/usr/local'


Cheers,


Gilles

On 2/14/2017 12:53 AM, Alessandra Bonazzi wrote:





1 Open MPI version: 2.0.2
2 The config.log file: see attachment
3 Output from when you ran "./configure" to configure Open MPI: see attachment (config_output)

Thank you



3
Il giorno 13 feb 2017, alle ore 16:23, Jeff Squyres (jsquyres) <***@cisco.com<mailto:***@cisco.com>> ha scritto:

Can you send all the information listed here:

https://www.open-mpi.org/community/help/


On Feb 13, 2017, at 3:57 AM, Alessandra Bonazzi <***@tiscali.it<mailto:***@tiscali.it>> wrote:

Goodmorning,
I'm facing a problem during the installation of Open MPI.
The error appears on terminal at a certain point during the compilation and is the following:

*** C++ compiler and preprocessor
checking whether we are using the GNU C++ compiler... no
checking whether gcpc accepts -g... no
checking dependency style of gcpc... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/Users/Alessandra/Desktop/openmpi-2.0.2':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

but GCC is installed on my MacBook. My OS is OS X El Capitan (10.11.6).

I hope you can help me, thank you for your time!
Best regards,
Alessandra Bonazzi
_______________________________________________
users mailing list
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users


--
Jeff Squyres
***@cisco.com<mailto:***@cisco.com>

_______________________________________________
users mailing list
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Loading...