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

Porting CESM2 intel intel-mpi buildlib.csm_share FAILED

acgvar

Alvin C.G. Varquez
Member
Hi everyone,

I am currently porting CESM2 into our university computer using intel-mpi and intel libraries. The build fails as indicated by the following line after './case.build':
...CESM/my_cesm_sandbox/cime/src/build_scripts/buildlib.csm_share FAILED, cat ......cases/b.day1.0/bld/csm_share.bldlog.191106-190425

cat ......cases/b.day1.0/bld/csm_share.bldlog.191106-190425 results to the attached file. I have replaced folder names to '/folder/' or '/folder_other/'.

The first error appears as:
/folder/CESM/my_cesm_sandbox/cime/src/share/RandNum/src/kissvec/kissvec.c(21): error: identifier "restrict" is undefined
void kiss_rng(uint32_t seed1[restrict], uint32_t seed2[restrict],

but more info regarding the error can be found in the attached file.

The compilers are:
intel-mpi/18.1.163
intel/19.0.0.117

Also ensured the environment was consistent when installing CESM, NetCDF, PNETCDF, HDF.
 

Attachments

  • error.txt
    49.6 KB · Views: 16

acgvar

Alvin C.G. Varquez
Member
Hi! Thanks to the hints of previous forums.

The problem was addressed by appending -DFORTRANUNDERSCORE -DCPRINTEL in CPPDEFS
and -std=c99 in CFLAGS.

Now building another component.

Just in case, I'm building it in Tsubame computer of Tokyo Institute of Technology.
 
Top