-
Notifications
You must be signed in to change notification settings - Fork 4
/
test-h5spark.sh
37 lines (32 loc) · 984 Bytes
/
test-h5spark.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
#SBATCH -p debug
#SBATCH -N 13
#SBATCH -t 00:30:00
#SBATCH -e mysparkjob_%j.err
#SBATCH -o mysparkjob_%j.out
#SBATCH -C haswell
#module load collectl
#start-collectl.sh
module unload darshan
module load spark/2.1.0
start-all.sh
export LD_LIBRARY_PATH=$LD_LBRARY_PATH:$PWD/lib
# 6177583 by 8096 => 400 GB dataset
k=20
partitions=2000
infile=/global/cscratch1/sd/gittens/large-datasets/ocean.h5
spark-submit --verbose\
--driver-memory 120G\
--executor-memory 120G\
--executor-cores 32 \
--driver-cores 32 \
--num-executors 12 \
--conf spark.driver.extraLibraryPath=$SCRATCH/alchemistSHELL/alchemist/lib\
--conf spark.executor.extraLibraryPath=$SCRATCH/alchemistSHELL/alchemist/lib\
--conf spark.eventLog.enabled=true\
--conf spark.eventLog.dir=$SCRATCH/spark/event_logs\
--class amplab.alchemist.testh5spark\
test/target/scala-2.11/alchemist-tests-assembly-0.0.2.jar $k $infile $partitions 2>&1 | tee test.log
stop-all.sh
exit
#stop-collectl.sh