#!/bin/bash

#BSUB -n 1
#BSUB -oo clustering+folding.%J.out
#BSUB -eo clustering+folding.%J.err
#BSUB -W 01:30

module load folding

/apps/CEPBATOOLS/ClusteringSuite/2.6.1/bin/BurstClustering -d cluster_papi.xml -i mpi_64_sampling_new_compilation_opt_myjpbl.chop1.prv -o mpi_64_sampling_new_compilation_opt_myjpbl.chop1.clustered.prv

folding -model intel-snb-architecture-impact.xml -model intel-snb-instruction-mix.xml -model intel-snb-stall-distribution.xml mpi_64_sampling_new_compilation_opt_myjpbl.chop1.clustered.prv "Cluster ID"
