Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Configuration with Intel C++ Composer 12.0.2 on OSX 10.7.5
From: Tim Prince (n8tm_at_[hidden])
Date: 2013-05-16 22:13:26

On 5/16/2013 2:16 PM, Geraldine Hochman-Klarenberg wrote:
> Maybe I should add that my Intel C++ and Fortran compilers are
> different versions. C++ is 12.0.2 and Fortran is 13.0.2. Could that be
> an issue? Also, when I check for the location of ifort, it seems to be
> in usr/bin - which is different than the C compiler (even though I
> have folders /opt/intel/composer_xe_2013 and
> /opt/intel/composer_xe_2013.3.171 etc.). And I have tried /source
> /opt/intel/bin/ intel64/ too.
> Geraldine
> On May 16, 2013, at 11:57 AM, Geraldine Hochman-Klarenberg wrote:
>> I am having trouble configuring OpenMPI-1.6.4 with the Intel C/C++
>> composer (12.0.2). My OS is OSX 10.7.5.
>> I am not a computer whizz so I hope I can explain what I did properly:
>> 1) In bash, I did /source /opt/intel/bin/ intel64/
>> and then /echo PATH/ showed:
>> //opt/intel/composerxe-2011.2.142/bin/intel64:/opt/intel/composerxe-2011.2.142/mpirt/bin/intel64:/opt/intel/composerxe-2011.2.142/bin:/Library/Frameworks/EPD64.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:.:/Library/Frameworks/EPD64.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin/
>> /
>> /
>> 2)/which icc /and /which icpc /showed:
>> //opt/intel/composerxe-2011.2.142/bin/intel64/icc/
>> and
>> //opt/intel/composerxe-2011.2.142/bin/intel64/icpc/
>> /
>> /
>> So that all seems okay to me. Still when I do
>> /./configure CC=icc CXX=icpc F77=ifort FC=ifort
>> --prefix=/opt/openmpi-1.6.4/
>> from the folder in which the extracted OpenMPI files sit, I get
>> /============================================================================/
>> /== Configuring Open MPI/
>> /============================================================================/
>> /
>> /
>> /*** Startup tests/
>> /checking build system type... x86_64-apple-darwin11.4.2/
>> /checking host system type... x86_64-apple-darwin11.4.2/
>> /checking target system type... x86_64-apple-darwin11.4.2/
>> /checking for gcc... icc/
>> /checking whether the C compiler works... no/
>> /configure: error: in
>> `/Users/geraldinehochman-klarenberg/Projects/openmpi-1.6.4':/
>> /configure: error: C compiler cannot create executables/
>> /See `config.log' for more details/
>> /
>> /
You do need to examine config.log and show it to us if you don't
understand it.
Attempting to use the older C compiler and libraries to link .o files
made by the newer Fortran is likely to fail.
If you wish to attempt this, assuming the Intel compilers are installed
in default directories, I would suggest you source the environment
setting for the older compiler, then the newer one, so that the newer
libraries will be found first and the older ones used only when they
aren't duplicated by the newer ones.
You also need the 64-bit g++ active.

Tim Prince