NCAR / spack-gust

Spack production user software stack on the Gust test system
4 stars 0 forks source link

issue building with cce/15.0.1 #45

Closed jedwards4b closed 1 year ago

jedwards4b commented 1 year ago

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.

jedwards4b commented 1 year ago

Opening a new window and trying again resolved this issue - but I can't figure out what caused it in the original environment.