Commit fc099c08 authored by Plaszczynski Stephane's avatar Plaszczynski Stephane

change MCMC long nersc queue to regular

parent 82413c15
......@@ -92,11 +92,11 @@ arraydir=\$SCRATCH/$dirout-$zeval\$SLURM_ARRAY_JOB_ID
TMPDIR=\$arraydir/run.\$SLURM_ARRAY_TASK_ID
mkdir -p \$TMPDIR
cd \$TMPDIR
echo "TMPDIR=\$TMPDIR"
export PYTHONPATH=${PICO_CODE}
export OMP_NUM_THREADS=$NCORES
cd \$TMPDIR
cp $myexec .
#enleve precision pour MCMC
grep -v precision $parFile > $parbase
......@@ -109,7 +109,7 @@ echo "seedU=\$RANDOM" >> $parbase
cp $parbase $PWD/camel.par
./$localexec $parbase $PWD/samples\${SLURM_ARRAY_TASK_ID}.txt
srun -n 1 -c $NCORES ./$localexec $parbase $PWD/samples\${SLURM_ARRAY_TASK_ID}.txt
cp ar_vs_length.txt $PWD/ar_vs_length\${SLURM_ARRAY_TASK_ID}.txt
cp scale_vs_length.txt $PWD/scale_vs_length\${SLURM_ARRAY_TASK_ID}.txt
......@@ -121,10 +121,12 @@ eof
#default QSUB command (if not overriden by user)
# on shared partition and LONG
if [ -z "${QSUB_CMD}" ] ; then
QSUB_CMD="sbatch -p shared -n $NCORES -J $dirout -L SCRATCH "
QSUB_CMD="sbatch -p regular -N 1 -c $NCORES -J $dirout -L SCRATCH "
fi
#use max time
jobsub="$QSUB_CMD -a 1-$NCHAINS zerun.sh"
echo " enter time : "
read zetime
jobsub="$QSUB_CMD -a 1-$NCHAINS -t $zetime zerun.sh"
echo $jobsub
echo "Is this OK? [y/n]"
read answer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment