2 #PBS -l walltime=00:05:00
3 #PBS -l nodes=2:ppn=8,pmem=1gb
6 WORKDIR
="/workdir2/auder/edfclust/code"
11 saveLibPath
=$LD_LIBRARY_PATH
13 #TODO: CDS as a module
14 LD_LIBRARY_PATH
=/workdir
2/cds
/lib
:/opt
/openmpi
/lib
:$LD_LIBRARY_PATH
15 export LD_LIBRARY_PATH
17 #TODO: externalize (de)serialization, do not make assumptions on "how is data stored" (...)
19 # ppam args (in case of clustering) =
20 # 1: path to binary dataset
21 # 2: series per processor
22 # 3: number of clusters
23 # 4: boolean to randomize series sampling
24 # 5: type of distance (1 for L1, 2 for L2...)
26 #TODO: Hybrid MPI+OpenMP
27 mpirun
-np 16 ppam cluster ..
/data
/2009_first10000.bin
300 7 0 1
29 LD_LIBRARY_PATH
=$saveLibPath
30 export LD_LIBRARY_PATH