Skip to content

Commit 6afb4a4

Browse files
authored
Update Exercises_Instructions.md
1 parent f44709a commit 6afb4a4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Exercises_Instructions.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,17 @@ This is another SYCL implementation with support for many type of devices. No s
156156

157157
Set up the environment:
158158

159-
module purge
160-
module use /scratch/project_2012125/cristian/spack/share/spack/modules/linux-rhel8-x86_64_v3/
161-
module load hipsycl/24.06.0-gcc-10.4.0-4nny2ja
162159
module load gcc/10.4.0
160+
module load cuda/12.6.0
161+
module load openmpi/4.1.5-cuda # Needed for using GPU-aware MPI
163162
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
164163
export LD_LIBRARY_PATH=/appl/spack/v020/install-tree/gcc-8.5.0/gcc-10.4.0-2oazqj/lib64/:$LD_LIBRARY_PATH
165-
export LD_PRELOAD=/scratch/project_2012125/cristian/spack/opt/spack/linux-rhel8-x86_64_v3/gcc-10.4.0/llvm-18.1.8-bgdmsbegf2oymsvhmukkr22s2cjb4zxz/lib/libomp.so
166-
164+
export export LD_PRELOAD=/projappl/project_2015315/apps/LLVM/lib/x86_64-unknown-linux-gnu/libomp.so
165+
167166

168167
Compile sycl code:
169168

170-
acpp -fuse-ld=lld -O3 -L/appl/spack/v020/install-tree/gcc-8.5.0/gcc-10.4.0-2oazqj/lib64/ --acpp-targets="omp.accelerated;cuda:sm_80" <sycl_code>.cpp
169+
acpp -fuse-ld=lld -O3 -L/appl/spack/v020/install-tree/gcc-8.5.0/gcc-10.4.0-2oazqj/lib64/ --acpp-targets="omp.accelerated;cuda:sm_80" -lstdc++ <sycl_code>.cpp
171170

172171
#### AdaptiveCpp on LUMI
173172

0 commit comments

Comments
 (0)