#!/bin/csh
# Submit this script as : sbatch ./[script-name]
#SBATCH -A m3525
#SBATCH -q regular
#SBATCH -t 48:00:00
#SBATCH -N 2
#SBATCH  --job-name=ncclimo_ctrl
#SBATCH  --output=job%j 
#SBATCH  --exclusive 
#SBATCH  --constraint=knl,quad,cache

set workdir = `pwd`
set hpssdir = "/home/z/zhan391/DARPA_ML_Train_Data"
cd $workdir

foreach dir (e3sm_v2*)

echo $dir

htar -cvf $hpssdir/$dir.tar $dir

wait

end

