[mpich-discuss] mpich2 compilation with intel only

David Riethmiller rieth at phy.ohiou.edu
Mon Jun 25 17:50:45 CDT 2012


Hi -

I'm having trouble compiling mpich2 version 1.4.1p1 on a Mac OSX 10.5  
system, using only the Intel compilers.  I specifically want to avoid  
the GNU compilers, in order to match the software available on a  
supercomputer to which I will port later.

When running my configure script, I hit the following error:

...
checking for size of Fortran type integer... configure: WARNING:  
Unable to compile the C routine for finding the size of a integer

checking for size of Fortran type real... configure: WARNING: Unable  
to compile the C routine for finding the size of a real

checking for size of Fortran type double precision... configure:  
WARNING: Unable to compile the C routine for finding the size of a  
double precision

checking whether integer*1 is supported... yes
checking whether integer*2 is supported... yes
checking whether integer*4 is supported... yes
checking whether integer*8 is supported... yes
checking whether integer*16 is supported... no
checking whether real*4 is supported... yes
checking whether real*8 is supported... yes
checking whether real*16 is supported... yes
configure: error: Unable to configure with Fortran support because  
configure could not determine the size of a Fortran INTEGER.  Consider  
setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran  
INTEGER




I've saved my configure command as a shell script:

#! bin/sh

CDIR=/opt/intel/
FDIR=/opt/intel/fc/10.1.008/

sh ${CDIR}/bin/iccvars.sh ia32
sh ${CDIR}/bin/compilervars.sh ia32
sh ${FDIR}/bin/ifortvars.sh

./configure \
     --prefix=/Volumes/SecondHD/rieth/mpich2_intel \
     CC=icc \
     CFLAGS="-m32 -no-gcc -I${CDIR}/include -L${DYLD_LIBRARY_PATH}" \
     LDFLAGS="-L${CDIR}/lib -L${FDIR}/lib -L${DYLD_LIBRARY_PATH}" \
     F77=ifort \
     FFLAGS="-m32 -no-gfortran -I${FDIR}/include -L$ 
{DYLD_LIBRARY_PATH}" \
     CXX=icpc \
     CXXFLAGS="-m32 -no-gcc -I${CDIR}/include -L${DYLD_LIBRARY_PATH}" \
     LDFLAGS="-L${CDIR}/lib -L${FDIR}/lib -L${DYLD_LIBRARY_PATH}" \
     2>&1 | tee c.txt


I'm attaching the output files.  Can anyone see what I'm doing wrong?

Thanks very much,
Dave



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: c.txt
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120625/cce80c41/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 332256 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120625/cce80c41/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.system
Type: application/octet-stream
Size: 888 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120625/cce80c41/attachment-0003.obj>
-------------- next part --------------



-------------------------------------------------
David A. Riethmiller
Ph.D. Candidate, Astrophysical Institute
Ohio University

Clippinger Labs 338
http://www.phy.ohiou.edu/~rieth/






More information about the mpich-discuss mailing list