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

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.
 
Back
Top