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/ifortvars.sh 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/compilervars.sh 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
> 
> I'd really appreciate any pointers on how to solve this, because I'm running 
> out of ideas on how to solve this (and so seems Google).
> 
> Thanks!
> Geraldine
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to