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

Error in building cesm_share at CESM1.2.2

santos

Member
There are two different XML modules used by the CESM scripts. One is XML "Lite", which ships with CESM, and the other is LibXML, which should come with your Perl installation. The problem you are having is from in ConfigCase.pm, which uses LibXML, so make sure that the file "LibXML.pm" is installed on your machine and can be read from the compute nodes (where the job is running) as well as from the login nodes (where you are entering commands).
 
Hi Everyone,

So after a long posponement from the previous post I finally continuing this project.

Basically I'm trying to port CESM 1.2.2 into a cluster server based on Redhat Enterprise. Now I'm actually starting a new case by using back intel compiler instead of pgi. Although the compilation was also stoped at cesm_share (build log file attached) like last time but it seems not to be the same problem. So this time it's stoped when compiling shr_dmodel_mod.F90.

Here i also attach my Macros. I still don't really understand what actually the problem is so your help will be much appreciated. Thank you in advance.

 

jedwards

CSEG and Liaisons
Staff member
What version of the intel compiler is this from?   You might try again with the DEBUG flags.   Set DEBUG=TRUE in env_build.xml, clean_build and build again.    
 

jedwards

CSEG and Liaisons
Staff member
This is a problem with the compiler version that you are using.  Please consult your system administrators and update to a recent version of the Intel compiler.   
 
Hi,
Thank you for the info. So is there a references for compiler version that are compatible for CESM 1.2.2 ?I will try porting the model in another cluster machine, it has Intel Compiler version 13.0.1, will this be ok ?
 
Hi,

So I've tried to use the new cluster machine. It has Intel compiler 13.0.1, openmpi-1.8.3 and netcdf3

There are some progress in compiling, now I manage to reach almost at the end (cesm.exe). Here I attach the cesm.bldlog.xxxx file.

I don't quite understand the main issue, is it something wrong with the path of openmpi or else? Thanks.
 
Hi Everyone,

So for the past two weeks I've been compiling NetCDF for CESM1.2.2 using intel-13.0.1.117 and openmpi-1.8.3

Previously I missed the info in the tutorial about having NetCDF 4.2.0 or newer and need to be compiled using the same compiler as the model. So I compile the latest one which is NetCDF-C-4.4.0 and NetCDF-fortran-4.4.3. I did two ways of compilation, one I consider as 'normal' compilation, second is by having 'parallel I/O support'. The NetCDF compilation is following these tutorials :

https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers
http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#building
http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html

Unfortunately both NetCDF compilation doesn't manage to fully compile the model.

The error messages for each compilation are :

- NetCDF Normal : netcdf-c-4.4.0_intel-13.0.1.17.zip
- NetCDF with Parallel I/O support : netcdf-c-4.4.0_intel-13.0.1.PT.zip

I'm actually still not very clear which one is needed for CESM1.2.2. But if I suspect the one with Parallel I/O then why is it stopped even earlier than the normal one ?

Regards,
Yudha




 
Top