Closed mrnorman closed 1 year ago
Update: PAM now compiles C++ scream physics and interfaces successfully on Nvidia GPUs including Summit.
We can now run PAM successfully on CPUs, Nvidia GPUs, and AMD GPUs end-to-end on the device using C++ scream P3 and SHOC. Big thanks to @bartgol for help with the scream compilation side.
This PR enables C++ scream P3 and SHOC on the CPU within PAM.
pam::deallocate_scream_cxx_globals()
routine deallocates all C++ scream globals, which are currently only the p3 tablespam::call_kokkos_finalize()
routine finalizes Kokkos at the end of the standalone model run.PAM/standalone/machines/lnux*
environment files to be used in thecmakescript.sh
scripts when building. Scream C++ code needs this knowledge at compile time.