-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbatch_Bz_center_5_with_Mx.sh
37 lines (35 loc) · 1.01 KB
/
sbatch_Bz_center_5_with_Mx.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/bash
#SBATCH --nodes=1
#SBATCH --time=24:00:00
#SBATCH --job-name=1-2_B_z_center_5_with_Mx
#SBATCH --partition=short
#SBATCH --kill-on-invalid-dep=yes
#SBATCH --mail-type=ALL
#SBATCH --mem-per-cpu=4GB
#SBATCH --output=slurm_job_info/%j/slurm-%j.out
module load anaconda3/2022.05
OUTDIR=/work/pstevenson/n.beaver/2024/floquet-simulations/${SLURM_JOB_ID}
LOG=time_out/time_$(date +%F_%s_%N).txt
mkdir -p "${OUTDIR}"
# Save environment and job information to local directory.
local_dir=./slurm_job_info/${SLURM_JOB_ID}
mkdir -p "${local_dir}"
cp "$0" "${local_dir}"
env > "${local_dir}/env.txt"
echo "$0" > "${local_dir}/info.txt"
echo "$*" >> "${local_dir}/info.txt"
/usr/bin/time --output=${LOG} --verbose \
python3 monte_carlo_odmr_floquet_B_z.py --verbose \
--out-dir="${OUTDIR}" \
--tag="${SLURM_JOB_ID}" \
--param-start=2.0e-4 \
--param-stop=1.0e-4 \
--param-steps=51 \
--mu-Bz=5e-4 \
--Mx='5e6*pi*2' \
--Bx=0.0 \
--By=0.0 \
--omega-rf-power=0.0 \
--omega-rf=0.0 \
--MW-step='100*kHz' \
--n-avg=200