[OMPI users] mpicc, mpif90, ... not created during installation

2012-06-01 Thread denis cohen
Hello,

I am trying to install openmpi-1.6 using the Intel compilers.
Looks like everything went fine but there was no mpicc mpif90, mpic++,
  created during the installation process.
I made links to opal-wrapper (and also orterun for mpirun) but then
when trying to compile the examples/hello_c.c I get:


/usr/local/openmpi/openmpi-1.6/bin/mpicc hello_c.c
Cannot open configuration file
/usr/local/openmpi/openmpi-1.6/share/openmpi/mpicc-wrapper-data.txt
Error parsing data file mpicc: Not found


Any help appreciated.

Denis


Re: [OMPI users] mpicc, mpif90, ... not created during installation

2012-06-01 Thread denis cohen
Thanks Aurelien.
This fixed it.

Denis


On Fri, Jun 1, 2012 at 2:20 PM, Aurélien Bouteiller
 wrote:
> You need to pass the following option to configure:
> --with-devel-headers --enable-binaries
>
> I don't know exactly why the default is not to build them anymore, this is a 
> bit confusing.
>
> Aurelien
>
>
> Le 1 juin 2012 à 04:16, denis cohen a écrit :
>
>> Hello,
>>
>> I am trying to install openmpi-1.6 using the Intel compilers.
>> Looks like everything went fine but there was no mpicc mpif90, mpic++,
>>   created during the installation process.
>> I made links to opal-wrapper (and also orterun for mpirun) but then
>> when trying to compile the examples/hello_c.c I get:
>>
>>
>> /usr/local/openmpi/openmpi-1.6/bin/mpicc hello_c.c
>> Cannot open configuration file
>> /usr/local/openmpi/openmpi-1.6/share/openmpi/mpicc-wrapper-data.txt
>> Error parsing data file mpicc: Not found
>>
>>
>> Any help appreciated.
>>
>> Denis
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> --
> * Dr. Aurélien Bouteiller
> * Researcher at Innovative Computing Laboratory
> * University of Tennessee
> * 1122 Volunteer Boulevard, suite 309b
> * Knoxville, TN 37996
> * 865 974 9375
>
>
>
>
>
>
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



Re: [OMPI users] mpicc, mpif90, ... not created during installation

2012-06-01 Thread denis cohen
I have not tried separating the two options. the --help in configure
indicates that --enable-binaries is enabled by default;
--with-devel-headers isn't. Not a specialist myself so don't know the
innards of openmpi. Only thing I know is that it's now working for me.

Can try something is that would help the community. Just let me know.

Cheers,

Denis


On Fri, Jun 1, 2012 at 3:27 PM, Jeff Squyres  wrote:
> On Jun 1, 2012, at 8:20 AM, Aurélien Bouteiller wrote:
>
>> You need to pass the following option to configure:
>> --with-devel-headers --enable-binaries
>>
>> I don't know exactly why the default is not to build them anymore, this is a 
>> bit confusing.
>
> That is not correct -- the default is to build and install all OMPI binaries 
> (including mpicc and friends).  If using --enable-binaries fixed the issue 
> for you, then there's something else going on.
>
> --with-devel-headers has never been the default; it's a 
> developer-working-with-OMPI-internals kind of feature (which <1% of our 
> users), so you have to specifically enable it.
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to: 
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users