Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] ptrdiff_t undefined error on intel 64bit machine with intel compilers
From: Tamara Rogers (talmesha_r_at_[hidden])
Date: 2009-02-17 17:10:47


Hello all:
I was unable to compile the latest version (1.3) on my intel 64bit system with the intel compilers (version 9.0). Configuration goes fine, but I get this error when running make:
 
.../../ompi/include/mpi.h(203): error: identifier "ptrdiff_t" is undefined
     typedef OMPI_PTRDIFF_TYPE MPI_Aint;
 
compilation aborted for dt_args.c (cod 21)
 
My config line was:
../configure CC=icc CXX=icpc F77=ifort FC=ifort --prefix=xxx
 
I've attached my config.log file. Has anyone encourtered this? I was able to build openmpi on this exact system using the gcc/g++ compilers, however the intel compilers are substantially faster on our system.
 
Thanks!