Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] ptrdiff_t undefined error on intel 64bit machine with intel compilers
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-02-20 08:09:16


Can you send your config.log as well?

It looks like you forgot to specify FC=ifort on your configure line
(i.e., you need to specify F77=ifort for the Fortran 77 *and* FC=ifort
for the Fortran 90 compiler -- this is an Autoconf thing; we didn't
make it up).

That shouldn't be the problem here, but I thought I'd mention it.

On Feb 19, 2009, at 12:00 PM, Tamara Rogers wrote:

>
> Jeff:
> You're correct. That was the incorrect config file. I've attached
> the correct one as per the recommendations in the help page.
>
> Thanks for your help
>
> --- On Thu, 2/19/09, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> From: Jeff Squyres <jsquyres_at_[hidden]>
> Subject: Re: [OMPI users] ptrdiff_t undefined error on intel 64bit
> machine with intel compilers
> To: talmesha_r_at_[hidden], "Open MPI Users" <users_at_[hidden]>
> Date: Thursday, February 19, 2009, 8:32 AM
>
> Your config.log looks incomplete -- it failed saying that your C and
> C++
> compilers were incompatible with each other.
>
> This does not seem related to what you described -- are you sure
> you're
> sending the right config.log?
>
> Specifically, can you send all the information listed here:
>
> http://www.open-mpi.org/community/help/
>
>
> On Feb 17, 2009, at 5:10 PM, Tamara Rogers wrote:
>
> > 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!
> >
> > <config.log>_______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --Jeff Squyres
> Cisco Systems
>
>
>
> <
> openmp
> -1.3_output.tar.gz>_______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems