Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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
 
Top