This modifies some of the setup and compile scripts and adds a CMake toolchain file to make libROM compile on the IBM Power9 machines (such as Lassen).
Currently this is toolchain is only for the GNU 12 compilers. A toolchain using the IBM XL compiler will need some more work and will be added in a separate PR.
To Test:
Due to some of the system module defaults and how the libROM dependencies are compiled, the following modules will need to be loaded before using compile.sh with the toolchain.
Note: if libROM has not been cloned from scratch, be sure to remove all folders in dependencies/ to ensure they get recompiled for the correct architecture.
Then the toolchain can be used to compile libROM (with MFEM and GSLIB):
This modifies some of the setup and compile scripts and adds a CMake toolchain file to make libROM compile on the IBM Power9 machines (such as Lassen).
Currently this is toolchain is only for the GNU 12 compilers. A toolchain using the IBM XL compiler will need some more work and will be added in a separate PR.
To Test: Due to some of the system module defaults and how the libROM dependencies are compiled, the following modules will need to be loaded before using
compile.sh
with the toolchain.Note: if libROM has not been cloned from scratch, be sure to remove all folders in
dependencies/
to ensure they get recompiled for the correct architecture.Then the toolchain can be used to compile libROM (with MFEM and GSLIB):