- git clone git@gist.github.com:1ed8216fdd058c7abfe104b094b15f6a.git
# module load cray/22.11 # loads cpe/22.11
module load cray/22.12 # loads cpe/22.12
module swap PrgEnv-cray PrgEnv-gnu
# module load cray/22.11 # loads cpe/22.11
module load cray/22.12 # loads cpe/22.12
module swap PrgEnv-cray PrgEnv-gnu
# git clone git@gist.github.com:9d673b11b3e02918978e7a0414822ab2.git | |
module load cdt/22.05 | |
module swap PrgEnv-cray PrgEnv-gnu # gcc/11.2.0 | |
module swap gcc gcc/10.3.0 | |
export CUDA_HOME=/opt/nvidia/hpc_sdk/Linux_x86_64/21.5/cuda/11.3/targets/x86_64-linux | |
export LD_LIBRARY_PATH=$CRAY_LD_LIBRARY_PATH:$LD_LIBRARY_PATH | |
g++ -I $CRAY_MPICH_DIR/include -L $CRAY_MPICH_DIR/lib -Wl,-rpath=$CRAY_MPICH_DIR/lib -I $CUDA_HOME/include -L $CUDA_HOME/lib -Wl,-rpath=$CUDA_HOME/lib gpudirect.cpp -lmpichcxx_gnu_82 -lmpich -lcudart -lcuda # -L/opt/cray/dmapp/default/lib64 |
#include <stdio.h> | |
int | |
main (void) | |
{ | |
printf("start\n"); | |
volatile unsigned long long i; | |
for (i = 0; i < 15000000000ULL; ++i); |
gpg: removing stale lockfile (created by 76570)
gpg: keybox '/store/csstaff/piccinal/SPACK/spack.git.clariden/opt/spack/gpg/pubring.kbx' created
gpg: /store/csstaff/piccinal/SPACK/spack.git.clariden/opt/spack/gpg/trustdb.gpg: trustdb created
gpg: key C46F93A2AA817A7C marked as ultimately trusted
gpg: directory '/store/csstaff/piccinal/SPACK/spack.git.clariden/opt/spack/gpg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/store/csstaff/piccinal/SPACK/spack.git.clariden/opt/spack/gpg/openpgp-revocs.d/3F1172D53E77775FBED91BCEC46F93A2AA817A7C.rev'
In general, check the crt/host_config.h
file to find out which versions are supported.
Sometimes it is possible to hack the requirements there to get some newer versions working, too :)
Thrust version can be found in $CUDA_ROOT/include/thrust/version.h
.
Download Archives: https://developer.nvidia.com/cuda-toolkit-archive
Release notes for CUDA Toolkit (CTK):
cmake -S pmt.git -B build_pmt_cpu_xc -DCMAKE_INSTALL_PREFIX=pmt_cpu_xc -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Cray Programming Environment 2.7.19 C
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include "particles_data.hpp" | |
int main(int argc, char** argv) | |
{ | |
// g++ -O0 -g -std=c++20 0.cpp | |
// <Error while looking for matching xmethod workers defined in Python.> |
uenv status # there is no uenv loaded