... | ... | @@ -13,4 +13,14 @@ module load cray-hdf5 |
|
|
# We also need to modify each Makefile to remove -xSSE4.2 -axAVX -axMIC-AVX512 and replace them with just -xMIC-AVX512
|
|
|
|
|
|
make clean; make -j 6
|
|
|
|
|
|
# To run, use `aprun` and use `-d 64` which specifies the number of threads per processing element,
|
|
|
# `-n 1` for one processing element and `-cc depth` which allows the threads of each process to
|
|
|
# wander over the available set of cores/hyperthreads as determined by the `-d` and `-j`
|
|
|
# See http://docs.cray.com/cgi-bin/craydoc.cgi?mode=Show;q=;f=man/alpsm/10/cat1/aprun.1.html for details of `aprun`
|
|
|
# Also see https://www.archer.ac.uk/documentation/knl-guide/ for the ARCHER KNL guide
|
|
|
# `numactl --preferred=1` is used when the KNL is in Flat mode and allocates all memory to MCDRAM until it runs out of space and allocates the remaining to DRAM
|
|
|
|
|
|
aprun -n 1 -d 64 -cc depth numactl --preferred=1 ../swift -s -a -t $NTHREADS -n 4096 eagle_25.yml
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |