2 #PBS -l walltime=00:05:00
3 #PBS -l nodes=4:ppn=4,pmem=1gb
7 WORKDIR
="/workdir/auder/ppam_mpi/src"
13 saveLibPath
=$LD_LIBRARY_PATH
14 LD_LIBRARY_PATH
=/workdir
/cds
/lib
:/opt
/openmpi
/lib
:$LD_LIBRARY_PATH
15 export LD_LIBRARY_PATH
17 # ppam args (in case of clustering) =
18 # 1: path to binary dataset
19 # 2: series per processor
20 # 3: number of clusters
21 # 4: boolean to randomize series sampling
22 # 5: type of distance (1 for L1, 2 for L2...)
23 mpirun
-np 16 ppam cluster ..
/data
/2009_first10000.bin
300 7 0 1
25 LD_LIBRARY_PATH
=$saveLibPath
26 export LD_LIBRARY_PATH