We are successful building and running CTSM using gcc/gnu but stuck trying to get it to work with the intel compiler (2021) (which we would like to have running for other reasons). Porting to a fairly standard linux HPC cluster.
Our theory: the problem seems related to netcdf and pio (not using pnetcdf). On our cluster we have netcdf installed into the system (e.g. in /usr/bin etc.), ie. so that ncdump doesn't require any module loads, but for building cesm and other models users would typically need to load a module stack including compiler-specific netcdf and pio modules. When trying to build with intel however the build log reports it is using the netcdf system version (4.7), not the module version it claims to be using (4.9).
The specific build error seems suspicious of not using the proper netcdf/pio builds from the module stack:
pio.F90(90): error #6580: Name in only-list does not exist or is not accessible. [PIO_INQ_VAR_FILTER_IDS] PIO_inq_var_filter_ids , &
Does it seem like we are on the right track diagnosing this problem? Any suggestions?
(again, not clear why the gcc build, using a separate gcc-built modules for netcdf and pio, works for us...)
Thanks, Jeff
Our theory: the problem seems related to netcdf and pio (not using pnetcdf). On our cluster we have netcdf installed into the system (e.g. in /usr/bin etc.), ie. so that ncdump doesn't require any module loads, but for building cesm and other models users would typically need to load a module stack including compiler-specific netcdf and pio modules. When trying to build with intel however the build log reports it is using the netcdf system version (4.7), not the module version it claims to be using (4.9).
The specific build error seems suspicious of not using the proper netcdf/pio builds from the module stack:
pio.F90(90): error #6580: Name in only-list does not exist or is not accessible. [PIO_INQ_VAR_FILTER_IDS] PIO_inq_var_filter_ids , &
Does it seem like we are on the right track diagnosing this problem? Any suggestions?
(again, not clear why the gcc build, using a separate gcc-built modules for netcdf and pio, works for us...)
Thanks, Jeff