Closed balos1 closed 11 months ago
@abhyshr and @wperkins this error is occuring with a build of exago+mpi+python+ipopt~rocm~cuda
. Key here is ~ipopt
means https://github.com/pnnl/ExaGO/blob/828db06af5e0345b641b6d03ef7e2456d13469ea/src/opflow/interface/opflowregi.cpp#L79 and https://github.com/pnnl/ExaGO/blob/828db06af5e0345b641b6d03ef7e2456d13469ea/src/opflow/model/power_bal_hiop/pbpolrajahiopsparse.cpp#L3 end up being guarded by different compiler macros.
@balos1 I am curious why you are building on Frontier without HIP, but thank you for catching this edge case.
We also don't print this particular bit of information at configure time (we should), but I assume hiop~sparse+raja
was the hiop configuration built, and so minimal spack spec to repro on any platform is exago+hiop+raja~ipopt ^hiop+raja~sparse
@cameronrutherford I was not attempting to build without rocm. It looks like doing xsdk+rocm
did not propagate the rocm variant to exago. Ill fix that.
https://github.com/pnnl/ExaGO/pull/41 should close the original issue. Feel free to open new one with +rocm
and close this IMO
ExaGO fails when building xsdk with rocm and PrgEnv-gnu on Frontier:
Full log: spack-build-out.txt