Skip to content
Snippets Groups Projects
Commit 3a531a97 authored by Simone Bna's avatar Simone Bna
Browse files

STY: removed useless/old files

parent c4c5d988
No related branches found
No related tags found
No related merge requests found
#
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
# CUB is released in cuda 11. Using c++11 or c++14 fixed the ieee128 issue.
NVARCH ?= 70
all:
nvcc -O3 -I. -I${CUBROOT} -std=c++14 --compiler-options='-fPIC -std=c++14' -arch=sm_${NVARCH} --shared FOAM2CSR.cu -o libFOAM2CSR.so
clean:
rm -rf libFOAM2CSR.so
#!/bin/bash
# Load teh environment needed to run the job
module purge
module use /m100_scratch/userinternal/mvalent3/modules/opt/modulefiles/profiles
module load local_profile/global
# Load needed modules
module load gnu/8.4.0
module load spectrum_mpi/10.3.1--binary
module load cuda/10.2
module load hpc-sdk/2020--binary
module load openblas/0.3.9--gnu--8.4.0
module load lapack/3.9.0--gnu--8.4.0
module load AMGx/2.1.x--spectrum_mpi--10.3.1--binary
module load petsc-sytstem-openblas-hypre-viennacl-ml-kokkos/3.14.0--spectrum_mpi--10.3.1--binary
module load spectrum_mpi/10.3.1--binary
export CUBROOT="${HPC_SDK_HOME}/Linux_ppc64le/2020/cuda/11.0/include"
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment