-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Specified to use version 1.10.0 of openstack.cloud ansible collect…
…ion to improve compatibility 2. Updated to use rocky 8.7 as base OS. 3. Configured the cluster to use gcc 12 4. Improve slurm’s reliability in launching cloud instances. 5. Configured compute nodes to send syslog to the head node to facilitate debugging 6. Fixed a syntax error in slurm.conf
- Loading branch information
Showing
7 changed files
with
142 additions
and
32 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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
collections: | ||
- openstack.cloud | ||
- name: openstack.cloud | ||
version: 1.10.0 | ||
- ansible.posix | ||
- community.general | ||
|
||
|
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,74 @@ | ||
--- | ||
- name: Add oneAPI repo | ||
dnf: | ||
name: intel-oneapi-toolkit-release-ohpc | ||
state: present | ||
|
||
- name: Import GPG key for oneAPI repo | ||
rpm_key: | ||
state: present | ||
key: https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | ||
|
||
- name: Install HPC kit | ||
dnf: | ||
name: intel-hpckit | ||
state: present | ||
|
||
- name: Integrate Intel compilers and Intel MPI with OpenHPC | ||
dnf: | ||
name: | ||
- intel-compilers-devel-ohpc | ||
- intel-mpi-devel-ohpc | ||
state: present | ||
|
||
- name: Install blacs95 | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; cd $MKLROOT/interfaces/blas95; make CFLAGS="-fPIC" libintel64 INSTALL_DIR=$MKLROOT' | ||
creates: "/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_blas95_lp64.a" | ||
|
||
- name: Install fftw2xc | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw2xc; make CFLAGS="-fPIC" libintel64' | ||
creates: "/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw2xc_double_intel.a" | ||
|
||
- name: Install fftw2xf | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw2xf; make CFLAGS="-fPIC" libintel64' | ||
creates: "/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw2xf_double_intel.a" | ||
|
||
- name: Install fftw2x_cdft | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; source /opt/intel/oneapi/mpi/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw2x_cdft; make CFLAGS="-fPIC" libintel64 mpi=intelmpi compiler=intel' | ||
creates: '/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw2x_cdft_DOUBLE_lp64.a' | ||
|
||
- name: Install fftw3xc | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw3xc; make CFLAGS="-fPIC" libintel64 compiler=intel MKLROOT=$MKLROOT INSTALL_DIR=$MKLROOT/lib/intel64' | ||
creates: '/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw3xc_intel.a' | ||
|
||
- name: Install fftw3xf | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw3xf; make CFLAGS="-fPIC" libintel64 compiler=intel MKLROOT=$MKLROOT INSTALL_DIR=$MKLROOT/lib/intel64' | ||
creates: '/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw3xf_intel.a' | ||
|
||
- name: Install fftw3x_cdft | ||
shell: | ||
cmd: 'source /opt/intel/oneapi/compiler/latest/env/vars.sh; source /opt/intel/oneapi/mkl/latest/env/vars.sh; source /opt/intel/oneapi/mpi/latest/env/vars.sh; cd $MKLROOT/interfaces/fftw3x_cdft; make CFLAGS="-fPIC" libintel64 mpi=intelmpi compiler=intel' | ||
creates: '/opt/intel/oneapi/mkl/latest/lib/intel64/libfftw2x_cdft_DOUBLE_lp64.a' | ||
|
||
- name: Install the rest of OpenHPC packages for Intel toolchain | ||
dnf: | ||
name: | ||
- ohpc-intel-io-libs | ||
- ohpc-intel-impi-io-libs | ||
- ohpc-intel-perf-tools | ||
- ohpc-intel-python3-libs | ||
- ohpc-intel-impi-parallel-libs | ||
- ohpc-intel-openmpi4-parallel-libs | ||
- python3-mpi4py-intel-impi-ohpc | ||
- pnetcdf-intel-impi-ohpc | ||
- gsl-intel-ohpc | ||
- boost-intel-impi-ohpc | ||
- hypre-intel-impi-ohpc | ||
- scalapack-intel-impi-ohpc | ||
state: present |
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
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