Open ndkeen opened 1 day ago
I think this is simply a case of needing to have a gcp12.cmake which can be moved from gcp.cmake. When I try that it builds, but get runtime error:
42: e3sm.exe: /home/ndk/E3SM/components/homme/src/share/cxx/GllFvRemapImpl.cpp:832: void Homme::GllFvRemapImpl::remap_tracer_dyn_to_fv_phys(int, int, const CPhys3T&, const Phys3T&): Assertion `qs_fv.extent_int(0) >= nelemd && qs_fv.extent_int(1) >= nf2 && qs_fv.extent_int(2) >= nq && qs_fv.extent_int(3) % packn == 0' failed.
42:
42: Program received signal SIGABRT: Process abort signal.
ie,
mv components/eamxx/cmake/machine-files/gcp.cmake components/eamxx/cmake/machine-files/gcp12.cmake
This error suggests that somehow the test has inconsistent compile-time and run-time sizes, either of number of tracers or number of levels. You could put a printf right above that assert
that prints out all the numbers that are being used in that assert.
Thanks. I tacked this into unrelated PR, but it only addresses the name of that cmake file. I don't see anything obvious in that file that's different from others. Was just thinking making progress here to avoid build error, then can make another issue with runtime error.
This just may require some configs for the machine as first time tried here.
SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.gcp12_gnu
In the e3sm build log, I do see:
but as there are so many error/warings, not sure if it's the actual issue
SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.gcp12_gnu.20241010_003548_ss6ai3/bld/cmake-bld/CMakeFiles/CMakeError.log