-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add toolchain for lassen with gnu12 compilers * Define compilers in compile.sh to fix lassen dependency issue * Minor tweaks to parmetis compile commands * Add power9 tuning flags for gcc * Adjust setup.sh to use existing CFLAGS if set * Update authors in README * Add section to README for LC machines
- Loading branch information
Showing
4 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Toolchain for Lawrence Livermore National Laboratory CORAL machines | ||
# (e.g., Lassen), assuming the following dependencies: | ||
# | ||
# - OpenMPI with GNU 12.2.1 compilers | ||
# - LAPACK 3.11 | ||
# - HDF5 1.14.0 | ||
|
||
# Use MPI compiler wrappers because it simplifies detection of MPI | ||
set(CMAKE_C_COMPILER /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-12.2.1/bin/mpicc) | ||
set(CMAKE_CXX_COMPILER /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-12.2.1/bin/mpicxx) | ||
set(CMAKE_Fortran_COMPILER /usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-12.2.1/bin/mpif90) | ||
|
||
execute_process( | ||
COMMAND "echo $(which h5diff) | sed -e s/'/bin/h5diff'//" | ||
OUTPUT_VARIABLE hdf5_serial_path | ||
) | ||
set(HDF5_ROOT ${hdf5_serial_path}) | ||
|
||
set(BLAS_ROOT /usr/tcetmp/packages/lapack/lapack-3.11.0-gcc-11.2.1/) | ||
set(LAPACK_ROOT /usr/tcetmp/packages/lapack/lapack-3.11.0-gcc-11.2.1/) | ||
|
||
set(ScaLAPACK_ROOT /usr/tcetmp/packages/lapack/lapack-3.11.0-gcc-11.2.1/) | ||
set(SCALAPACKDIR /usr/tcetmp/packages/lapack/lapack-3.11.0-gcc-11.2.1/) | ||
|
||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-lblas -llapack") | ||
|
||
# Set flags to tune for the POWER9 architecture | ||
set(CMAKE_C_FLAGS_INIT "-mcpu=powerpc64le -mtune=powerpc64le") | ||
set(CMAKE_CXX_FLAGS_INIT "-mcpu=powerpc64le -mtune=powerpc64le") | ||
|
||
set(CMAKE_LIBRARY_ARCHITECTURE ppc64le) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters