job 565 Bytes
Newer Older
Andrew Emerson's avatar
Andrew Emerson committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# Batch file for using the Intel APS trace facility
# on Marconi KNL
#
#SBATCH -N 4
#SBATCH --ntasks-per-node=64
#SBATCH --error=ta205-err.%j
#SBATCH --mem=80GB
#SBATCH --time=00:30:00
#SBATCH -A cin_staff
#SBATCH -p knl_usr_prod

start_time=$(date +"%s")
module purge
module load profile/knl
module load autoload  qe/6.3_knl
export OMP_NUM_THREADS=1
source $INTEL_HOME/performance_snapshots/apsvars.sh
srun --cpu-bind=cores aps  pw.x -npool 2 -ndiag 32 -input pw.in

end_time=$(date +"%s")
walltime=$(($end_time-$start_time))
echo "walltime $walltime"