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

buildlib.gptl fails for intel compiler

Shruti

Shruti Joshi
Member
Hello,

I was trying to run CESM2.1.2 with intel compiler.
I am setting the compiler settings as follows:

export CC=icc
export CXX=icpc
export F90=ifort
export F77=ifort
export FC=ifort

I am facing error with GPTL lib build.
PFA the log for the same.
The file seems to be going by default to GCC settings.
Can you please let me know the solution?
 

Attachments

  • gptl.bldlog.200429-184804.txt
    2 KB · Views: 19

jedwards

CSEG and Liaisons
Staff member
Please review documentation on porting. I assume that you want a parallel build and so the system will look for mpicc not icc and your mpicc is pointing to gcc. Settng for example CC=icc in the environment will be overwritten by the settings in config_machines.xml and config_compilers.xml.
 

Albert

Albert
New Member
Hello,

I was trying to run CESM2.1.2 with intel compiler.
I am setting the compiler settings as follows:

export CC=icc
export CXX=icpc
export F90=ifort
export F77=ifort
export FC=ifort

I am facing error with GPTL lib build.
PFA the log for the same.
The file seems to be going by default to GCC settings.
Can you please let me know the solution?
Has the problem been solved?
 

Albert

Albert
New Member
Please review documentation on porting. I assume that you want a parallel build and so the system will look for mpicc not icc and your mpicc is pointing to gcc. Settng for example CC=icc in the environment will be overwritten by the settings in config_machines.xml and config_compilers.xml.
I facing the problem,too.Although I have read port a few times, I don't know how to figure it out.These are my config_machines.xml and config_compilers.xml.Can you please point out the error?
 

Attachments

  • my_config_machines&conpiler.txt
    3.7 KB · Views: 15

jedwards

CSEG and Liaisons
Staff member
mpicc --version should give the same output as icc --version, if it does not you will need to adjust your path so that it does so.
 

tyh-iap

tyh-iap
New Member
mpicc --version should give the same output as icc --version, if it does not you will need to adjust your path so that it does so.
When I input the icc -v and the output is icc version 13.1.1 (gcc version 4.7.0 compatibility). But the gcc in my environment is gcc4.9.2. Does this mean that I need to install gcc4.7.0 before I build the CESM2.1.3
 
Top