I am getting a bad include path in my build leading to error:
ftn-1644 ftn: ERROR DSHR_METHODS_MOD, File = ../../../../../work/jedwards/sandboxes/cesm2_x_alpha/components/cdeps/streams/dshr_methods_mod.F90, Line = 5, Column = 7
File "/glade/u/apps/cseg/spack/var/spack/environments/esmfbld/.spack-env/view/include/esmf.mod" is not compatible with this compiler or is corrupt. The compiler expected to find information about module "ESMF".
The above path points to
/glade/u/apps/cseg/spack/opt/spack/linux-sles15-zen3/intel-2021.7.1/esmf-8.5.0b10-yc42patc6qumy6yqv4wo4zalxlxsmd25/include/esmf.mod
This should be
/glade/u/apps/cseg/spack/opt/spack/linux-sles15-zen3/cce-15.0.1/esmf-8.5.0b16-hld3o2oecevthzxhicxnrgnn724gu35y/include/
and a module show on esmf/8.5.0b16-debug indicates the correct path.
I am getting a bad include path in my build leading to error:
The above path points to
/glade/u/apps/cseg/spack/opt/spack/linux-sles15-zen3/intel-2021.7.1/esmf-8.5.0b10-yc42patc6qumy6yqv4wo4zalxlxsmd25/include/esmf.mod
This should be
/glade/u/apps/cseg/spack/opt/spack/linux-sles15-zen3/cce-15.0.1/esmf-8.5.0b16-hld3o2oecevthzxhicxnrgnn724gu35y/include/
and a module show on esmf/8.5.0b16-debug indicates the correct path.