MOOSE Newsletter (April 2022)
LibTorch Support
MOOSE can now be configured to compile with LibTorch (the C++ back end of Pytorch). This allows the utilization of neural networks for scientific machine learning directly in MOOSE and consequently in MOOSE-based applications. For the installation instructions, click here. More information on the utilization of artificial neural networks can be found here: LibtorchArtificialNeuralNet.
The MOOSE-LibTorch coupling only supports serial neural net training and does not support GPU-based training.
MOOSE Improvements
The Thermal hydraulics module can now run with distributed memory parallelism (MPI). Note that HeatTransferFromHeatStructure1Phase currently requires a replicated mesh; see issue.
libMesh-level Changes
2022.04.07
Update
Deprecated shims to C++11 features -
libmesh_make_unique
should be replaced bystd::make_unique
-UniquePtr
should be replaced bystd::unique_ptr
-std::is_sorted
andstd::iota
alternatives are deprecatedUpdated many string APIs to take
std::string_view
ExodusII updates - Always get sideset + nodeset data indices -
set_hdf_writing()
is now runtime-configurableParallel (TIMPI) support for communication and reductions of
NumberArray
, soADReal
can now be used withMPI
in both sparse and non-sparse configurationsAssorted warning fixes, bug fixes - Another small memory leak with Exodus attributes is fixed -
MeshFunction::set_subdomain_ids()
now works - TIMPIPacking
for data types which were failing with large subtypes now communicate correctly