How to make CAM3.1 64-bit with intel compilers with MPI

I am a complete neophyte trying to do a build of CAM3.1 using intel compilers with MPI on an Intel Dell Linux cluster.

I get the following error when I invoke

ERROR: PATH set up wrong for driver: mpiifort
ifort compiler was found in /opt/intel/fce/9.0/bin/ifort
(PATH appears to have 9.0 (Intel(R) EM64T) compilers set up instead of expected 8.x(+) (32-bit))

I poked around on the web and there are a few pages that mention changing the Makefile so that it is expecting 64-bit compilers, but in my poking about the Makefile I do not see any flag to set for a 64-bit make. So my questions are:

1. What do I need to do to make an mpi version of CAM3.1 on an Intel Linux cluster using 64-bit intel compilers?

2. Was there someplace I could have gone to get this answer without posting the question here?

Thanks for your help,

Ken
 

pjr

Member
kcaldeira said:
I am a complete neophyte trying to do a build of CAM3.1 using intel compilers with MPI on an Intel Dell Linux cluster.

I get the following error when I invoke

ERROR: PATH set up wrong for driver: mpiifort
ifort compiler was found in /opt/intel/fce/9.0/bin/ifort
(PATH appears to have 9.0 (Intel(R) EM64T) compilers set up instead of expected 8.x(+) (32-bit))

I poked around on the web and there are a few pages that mention changing the Makefile so that it is expecting 64-bit compilers, but in my poking about the Makefile I do not see any flag to set for a 64-bit make. So my questions are:

1. What do I need to do to make an mpi version of CAM3.1 on an Intel Linux cluster using 64-bit intel compilers?

2. Was there someplace I could have gone to get this answer without posting the question here?

Thanks for your help,

Ken

Hi Ken, mpifort is part of the MPI library routines.

I am also not an expert in this, but I suspect what might be happening is that you are using an MPI install that was built for a different version of the compiler. I would check to make sure that libmpi and the ifort compilers are
all sitting on the same directory tree.

Phil
 
Back
Top