-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from ecmwf-ifs/nabr-nvidia-ci
Switch to CTest for CI and add NVHPC 23.5 to CI testing
- Loading branch information
Showing
9 changed files
with
133 additions
and
137 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 was deleted.
Oops, something went wrong.
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
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,36 @@ | ||
# (C) Copyright 1988- ECMWF. | ||
# | ||
# This software is licensed under the terms of the Apache Licence Version 2.0 | ||
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
# In applying this licence, ECMWF does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an intergovernmental organisation | ||
# nor does it submit to any jurisdiction. | ||
|
||
# Source me to get the correct configure/build/run environment | ||
|
||
### Variables | ||
export NVHPC_INSTALL_DIR=${GITHUB_WORKSPACE}/nvhpc-install | ||
export NVHPC_VERSION=23.5 | ||
export NVHPC_DIR=${NVHPC_INSTALL_DIR}/Linux_x86_64/${NVHPC_VERSION} | ||
|
||
### Compilers | ||
export PATH=${NVHPC_DIR}/compilers/bin:${PATH} | ||
export NVHPC_LIBRARY_PATH=${NVHPC_DIR}/compilers/lib | ||
export LD_LIBRARY_PATH=${NVHPC_LIBRARY_PATH} | ||
|
||
### MPI | ||
export MPI_HOME=${NVHPC_DIR}/comm_libs/mpi | ||
export PATH=${MPI_HOME}/bin:${PATH} | ||
|
||
### HDF5 | ||
export HDF5_DIR=${GITHUB_WORKSPACE}/hdf5-install | ||
export LD_LIBRARY_PATH=${HDF5_DIR}/lib:${LD_LIBRARY_PATH} | ||
export PATH=${HDF5_DIR}/bin:${PATH} | ||
|
||
### Compiler variables | ||
export CC=nvc | ||
export CXX=nvc++ | ||
export FC=nvfortran | ||
|
||
# Increase stack size to maximum | ||
ulimit -S -s unlimited |
Oops, something went wrong.