Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] compile fail on 64bit AMD cluster with intel compilers
From: Tod A. Charles-Pascal (tod_at_[hidden])
Date: 2008-07-10 02:17:11


Hello all:

While attempting to compile openmip-1.2.6 on an 64bit AMD cluster with Intel
compilers (v 10.1.015 and v 9.1.038) make fails with the following error:

Making all in datatype

make[2]: Entering directory `/home/test/openmpi-1.2.7rc2/ompi/datatype'

depbase=`echo dt_args.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

/bin/sh ../../libtool --tag=CC --mode=compile icc -DHAVE_CONFIG_H -I.
-I../../opal/include -I../../orte/include -I../../ompi/include -I../..
-O3 -DNDEBUG -finline-functions -fno-strict-aliasing -restrict -pthread -MT
dt_args.lo -MD -MP -MF $depbase.Tpo -c -o dt_args.lo dt_args.c &&\

mv -f $depbase.Tpo $depbase.Plo

libtool: compile: icc -DHAVE_CONFIG_H -I. -I../../opal/include
-I../../orte/include -I../../ompi/include -I../.. -O3 -DNDEBUG
-finline-functions -fno-strict-aliasing -restrict -pthread -MT dt_args.lo
-MD -MP -MF .deps/dt_args.Tpo -c dt_args.c -fPIC -DPIC -o .libs/dt_args.o

../../ompi/include/mpi.h(182): error: identifier "ptrdiff_t" is undefined

  typedef OMPI_PTRDIFF_TYPE MPI_Aint;

                    ^

The compile works with the native gcc type compilers. Have anyone
encountered this before?

 

Best,

Tod