PIO2 build is not working

adrienD

Adrien Damseaux
Member
Hi everyone, I am trying to run a default run with CTSM on the new supercomputer mistral.

I've been successfully able to make the porting and build the model with the ctsm5.1.dev013 (which use PIO1) version on mistral. However for other reasons (see here), I try to remake this porting with ctsm5.1.dev029. Unfortunately, this is not working anymore and the PIO2 build is failing.

You can find the different log files attached (the config files can be found here). I don't really know what PIO1/PIO2 are but I think the error might be here in the log CMakeError.log:
Run Build Command:/usr/bin/gmake "cmTryCompileExec1256494339/fast"
gmake[1]: Entering directory `/mnt/lustre02/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/pio/pio2/CMakeFiles/CMakeTmp'
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1256494339.dir/build.make CMakeFiles/cmTryCompileExec1256494339.dir/build
gmake[2]: Entering directory `/mnt/lustre02/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/pio/pio2/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/pio/pio2/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1256494339.dir/src.c.o
/opt/mpi/bullxmpi_mlx/1.2.8.3/bin/mpicc -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DTIMING -DLINUX -DCESMCOUPLED -DFORTRANUNDERSCORE -DCPRINTEL -DNDEBUG -DHAVE_MPI -DMCT_INTERFACE -DPIO2 -DHAVE_SLASHPROC -DATM_PRESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -DMED_PRESENT -DPIO2 -I. -I/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/include -I/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/mct/noesmf/c1a1l1i1o1r1g1w1i1e1/include -I/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/finclude -I/sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48/include -I/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-intel14//include -I/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/include -DHAVE_NETCDF4 -I/sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48/include -o CMakeFiles/cmTryCompileExec1256494339.dir/src.c.o -c /work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/pio/pio2/CMakeFiles/CMakeTmp/src.c
/work/aa0049/a271098/CTSM/scratch/I1850CLM50_010/bld/intel/openmpi/nodebug/nothreads/mct/pio/pio2/CMakeFiles/CMakeTmp/src.c(2): catastrophic error: cannot open source file "netcdf_meta.h"
#include <netcdf_meta.h>
^

Thanks in advance!
Adrien
 

Attachments

adrienD

Adrien Damseaux
Member
Sorry for the later answer I had to fix other issues. But thanks the netcdf version was the problem! If anyone has the same problem, I share my last config_machine.xml which fixed the issue
 

Attachments

Back
Top