Skip to content

Commit 2604643

Browse files
authored
Merge pull request ComputationalRadiationPhysics#2536 from ax3l/doc-pizDaintModuleCMake
Piz Daint: Module Update
2 parents c26428d + 49e6807 commit 2604643

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

etc/picongpu/pizdaint-cscs/picongpu.profile.example

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export MY_NAME="$(whoami) <$MY_MAIL>"
1414
# module load nano
1515
#export EDITOR="nano"
1616

17-
# General Modules #############################################################
17+
# Programming Environment #####################################################
1818
#
1919
# if the wrong environment is loaded we switch to the gnu environment
2020
# note: this loads gcc/5.3.0 (6.0.4 is the version of the programming env!)
@@ -25,19 +25,29 @@ else
2525
module load PrgEnv-gnu/6.0.4
2626
fi
2727

28-
module load cudatoolkit/8.0.61_2.4.3-6.0.4.0_3.1__gb475d12
28+
module load daint-gpu
29+
# currently loads CUDA 8.0
30+
module load craype-accel-nvidia60
31+
32+
# Compile for cluster nodes
33+
# (CMake likes to unwrap the Cray wrappers)
34+
export CC=$(which cc)
35+
export CXX=$(which CC)
36+
37+
# define cray compiler target architecture
38+
# if not defined the linker crashed because wrong from */lib instead
39+
# of */lib64 are used
40+
export CRAY_CPU_TARGET=x86-64
2941

3042
# Libraries ###################################################################
43+
module load CMake/3.10.1
44+
3145
module load cray-mpich/7.6.0
3246
module load cray-hdf5-parallel/1.10.0.3
3347

34-
# Other Software ##############################################################
35-
#
36-
37-
# Environment #################################################################
48+
# Self-Build Software #########################################################
3849
#
3950
# needs to be compiled by the user
40-
export CMAKE_ROOT=$SCRATCH/lib/cmake-3.10.1
4151
export BOOST_ROOT=$SCRATCH/lib/boost-1.62.0
4252
export ZLIB_ROOT=$SCRATCH/lib/zlib-1.2.11
4353
export PNG_ROOT=$SCRATCH/lib/libpng-1.6.34
@@ -46,7 +56,6 @@ export PNGWRITER_ROOT=$SCRATCH/lib/pngwriter-0.7.0
4656
export ADIOS_ROOT=$SCRATCH/lib/adios-1.13.0
4757
export SPLASH_ROOT=$SCRATCH/lib/splash-1.7.0
4858

49-
export LD_LIBRARY_PATH=$CMAKE_ROOT/lib:$LD_LIBRARY_PATH
5059
export LD_LIBRARY_PATH=$BOOST_ROOT/lib:$LD_LIBRARY_PATH
5160
export LD_LIBRARY_PATH=$ZLIB_ROOT/lib:$LD_LIBRARY_PATH
5261
export LD_LIBRARY_PATH=$PNG_ROOT/lib:$LD_LIBRARY_PATH
@@ -55,7 +64,6 @@ export LD_LIBRARY_PATH=$PNGWRITER_ROOT/lib:$LD_LIBRARY_PATH
5564
export LD_LIBRARY_PATH=$ADIOS_ROOT/lib:$LD_LIBRARY_PATH
5665
export LD_LIBRARY_PATH=$SPLASH_ROOT/lib:$LD_LIBRARY_PATH
5766

58-
export PATH=$CMAKE_ROOT/bin:$PATH
5967
export PATH=$PNG_ROOT/bin:$PATH
6068
export PATH=$ADIOS_ROOT/bin:$PATH
6169

@@ -65,16 +73,8 @@ export CMAKE_PREFIX_PATH=$PNG_ROOT:$CMAKE_PREFIX_PATH
6573
export MPI_ROOT=$MPICH_DIR
6674
export HDF5_ROOT=$HDF5_DIR
6775

68-
# define cray compiler target architecture
69-
# if not defined the linker crashed because wrong from */lib instead
70-
# of */lib64 are used
71-
export CRAY_CPU_TARGET=x86-64
72-
73-
# Compile for cluster nodes
74-
# (CMake likes to unwrap the Cray wrappers)
75-
export CC=$(which cc)
76-
export CXX=$(which CC)
77-
76+
# Environment #################################################################
77+
#
7878
export PICSRC=$HOME/src/picongpu
7979
export PIC_EXAMPLES=$PICSRC/share/picongpu/examples
8080
export PIC_BACKEND="cuda:60"

0 commit comments

Comments
 (0)