Skip to content

epsilon script

pwu edited this page Oct 7, 2019 · 1 revision
#!/bin/bash
### Specify job parameters
#SBATCH -J tensorSVM_susy # name of the job
#SBATCH --output=epsilon.%j
#SBATCH -t 1:00:00 # time requested
#SBATCH -N 1 -n 1 # total number of nodes and processes
#SBATCH -p volta
#SBATCH --gres=gpu:1
### Tell SLURM which account to charge this job to
#SBATCH -A pwu 
#SBATCH --mem=64000


#cd .. && make 
#cd tests
git branch
echo "GIT Rep commit number"
git rev-parse --short HEAD
module load iomkl CUDA
cp ../tensorsvm-train-mixed tensorsvm-train

time ./tensorsvm-train  -analysis -k 400 -c 0.01 -g 1 -t 2  /project/pwu/epsilon_normalized /tmp/epsilon.model &&\
/home/pwu6/thundersvm/build/bin/thundersvm-predict /project/pwu/epsilon_normalized.t  /tmp/epsilon.model output

echo ""
echo ""

echo "ThunderSVM"

time /home/pwu6/thundersvm/build/bin/thundersvm-train -g 1 -c 0.01 /project/pwu/epsilon_normalized /project/pwu/epsilon_normalized.thunder
/home/pwu6/thundersvm/build/bin/thundersvm-predict /project/pwu/epsilon_normalized.t  /project/pwu/epsilon_normalized.thunder output
Clone this wiki locally