Closed danielabdi-noaa closed 1 year ago
You need the "correct compiler flags" (i.e. the duct-tape solution): https://github.com/NOAA-EMC/spack/blob/a5127b4b834ffcb524dd7b34bed496a791bad962/var/spack/repos/builtin/packages/esmf/package.py#L240 - I think hpc-stack has an example in one of its site configs for how to set it.
@climbfuji Thanks! I am able to build esmf now using that hack.
Describe the bug ESMF with gnu+openmpi does not build on linux
To Reproduce Steps to reproduce the behavior:
Expected behavior ESMF should build. I noticed that even though
enable_pnetcdf: NO
, it is trying to build this particular file with-DESMF_PIO=1 -DESMF_MPIIO
System: Linux Ubuntu 20.04
Additional context Add any other context about the problem here. gnu/10.3.0 and openmpi/4.0.3 python/3.9.5 all come from my system.