Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Jun 11, 2024
1 parent 8a50bd0 commit 30d6f02
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci_run_scm_rts_nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,23 @@ jobs:
wget -q https://developer.download.nvidia.com/hpc-sdk/24.1/nvhpc_2024_241_Linux_x86_64_cuda_12.3.tar.gz
tar xpzf nvhpc_2024_241_Linux_x86_64_cuda_12.3.tar.gz
nvhpc_2024_241_Linux_x86_64_cuda_12.3/install
export PATH=${PATH}:${NVCOMPILERS}/${NVARCH}/24.1/compilers/bin
export PATH=${PATH}:${NVCOMPILERS}/${NVARCH}/24.1/comm_libs/mpi/bin
export MANPATH=${MANPATH}:${NVCOMPILERS}/${NVARCH}/24.1/compilers/man
echo "The nvfortran installed is:"
nvfortran --version
echo "The path to nvfortran is:"
command -v nvfortran
echo "The mpifort installed is:"
mpifort --version
echo "The path to mpifort is:"
command -v mpifort
echo "Removing tarball"
rm nvhpc_2024_241_Linux_x86_64_cuda_12.3.tar.gz
echo "SWALES"
ls /home/runner/hpc_sdk/Linux_x86_64/24.1/compilers/bin/
ls /home/runner/hpc_sdk/Linux_x86_64/24.1/comm_libs/mpi/bin
- name: Set environment for Nvidia compiler.
run: |
echo "CC=/home/runner/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvc" >> $GITHUB_ENV
echo "FC=/home/runner/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvfortran" >> $GITHUB_ENV
echo "CMAKE_C_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvc" >> $GITHUB_ENV
echo "CMAKE_Fortran_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/24.1/compilers/bin/nvfortran" >> $GITHUB_ENV
echo "CC=/home/runner/hpc_sdk/Linux_x86_64/24.1/comm_libs/mpi/bin/mpicc" >> $GITHUB_ENV
echo "FC=/home/runner/hpc_sdk/Linux_x86_64/24.1/comm_libs/mpi/bin/mpifort" >> $GITHUB_ENV
echo "CMAKE_C_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/24.1/comm_libs/mpi/bin/mpicc" >> $GITHUB_ENV
echo "CMAKE_Fortran_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/24.1/comm_libs/mpi/bin/mpifort" >> $GITHUB_ENV
#######################################################################################
# Install FORTRAN dependencies
Expand Down

0 comments on commit 30d6f02

Please sign in to comment.