Skip to content
Snippets Groups Projects
Commit d98a35bf authored by Francisco Jimenez Forteza's avatar Francisco Jimenez Forteza
Browse files

code for sumit

parent 67fc3e18
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
universe = vanilla
getenv = true
# run script -- make sure that condor has execute permission for this file (chmod a+x script.py)
executable = run_m_af.sh
# file to dump stdout (this directory should exist)
output = ./out_files/run_m_af.out
# file to dump stderr
error = ./out_files/run_m_af.err
# condor logs
log = ./out_files/run_m_af.log
initialdir = .
notify_user = frjifo@aei.mpg.de
notification = Complete
arguments = "-processid $(Process)"
request_memory = 16GB
request_cpus = 8
on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11))
accounting_group = cbc.dev.test
queue 1
[nr-paths]
rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json
simulation_number = 0305
[output-folder]
output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
[setup]
export = True
overwrite = False
plot_down_factor = 100
sampler = rwalk
nr_code = SXS
dlogz = 0.01
qnm_model = berti
[rd-model]
model = w-tau-fixed-m-af
error_str = True
;error_val = 0
;sumit change this line!
error_val = 0.0002
;end of the change.
phase_alignment = True
fit_noise = True
[time-setup]
tshift = 0
tend = 90
t_align = 0
[n-tones]
nmax = 0
[n-live-points]
npoints=4000
[prior-mass]
mass_min = 0.5
mass_max = 1.5
[prior-spin]
spin_min = 0
spin_max = 0.95
[prior-w0]
w0_min = 0.4
w0_max = 0.6
[prior-w1]
w1_min = 0.35
w1_max = 0.7
[prior-w2]
w2_min = 0.35
w2_max = 0.7
[prior-w3]
w3_min = 0.35
w3_max = 0.7
[prior-w4]
w4_min = 0.35
w4_max = 0.7
[prior-tau0]
tau0_min = 8
tau0_max = 16
[prior-tau1]
tau1_min = 0
tau1_max = 7.7
[prior-tau2]
tau2_min = 2.35
tau2_max = 3.05
[prior-tau3]
tau3_min = 1.8
tau3_max = 2.35
[prior-tau4]
tau4_min = 0
tau4_max = 1.8
[prior-q0]
q0_min = 12
q0_max = 30
[prior-q1]
q1_min = 0
q1_max = 15
[prior-q2]
q2_min = 0
q2_max = 15
[prior-q3]
q3_min = 0
q3_max = 15
[prior-q4]
q4_min = 0
q4_max = 15
[prior-amp0]
amp0_min = 0
amp0_max = 3
[prior-amp1]
amp1_min = 0
amp1_max = 15
[prior-amp2]
amp2_min = 0
amp2_max = 30
[prior-amp3]
amp3_min = 0
amp3_max = 30
[prior-amp4]
amp4_min = 0
amp4_max = 50
[prior-phase0]
phase0_min = 0
phase0_max = 1
[prior-phase1]
phase1_min = 0
phase1_max = 1
[prior-phase2]
phase2_min = 0
phase2_max = 1
[prior-phase3]
phase3_min = 0
phase3_max = 1
[prior-phase4]
phase4_min = 0
phase4_max = 1
[prior-noise]
noise_min = -30
noise_max = 3
#!/usr/bin/env bash
times=(0 0.2 0.4 0.8 1.2 2 2.5 5 7.5 10 12 15 18 20)
times=(20 18 15 12 10 7.5 5 2.5 2 1.2 0.8 0.4 0.2 0)
times=(7.5)
times=(0)
configfile=config_fixed_n4_m_af.ini
pythonfile=/work/francisco.jimenez/sio/git/rdstackingproject/code_new/NR_dynesty_t0_loop.py
#pythonscript=/work/francisco.jimenez/local/python-3.7.7/bin/python3
pythonscript=/work/francisco.jimenez/venv/bin/python
awk -v a="10" '/^tshift/ && $3 != "supplied" { $3=a } { print }' $configfile > tmp && mv tmp $configfile
for i in ${times[@]}; do
echo "submit a simulation with this parameter:"
echo "$i"
awk -v a="$i" '/^tshift/ && $3 != "supplied" { $3=a } { print }' $configfile > tmp && mv tmp $configfile
$pythonscript $pythonfile -c $configfile
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment