From f30001f0d09042e5ff19ce5e7728fabce0387467 Mon Sep 17 00:00:00 2001 From: Rayne Liu <rayne.liu@atlas1> Date: Thu, 9 Jul 2020 23:31:40 +0000 Subject: [PATCH] Updates of the running files --- code/RDownScriptalphabeta.m | 6 +++--- code/RDownScriptalphabeta@tmax.m | 4 ++-- code/condor_submit_Fits.sub | 6 +++--- code/condor_submit_Fits@tmax.sub | 21 +++++++++++++++++++++ code/run@tmax.sh | 3 +++ 5 files changed, 32 insertions(+), 8 deletions(-) create mode 100755 code/condor_submit_Fits@tmax.sub create mode 100755 code/run@tmax.sh diff --git a/code/RDownScriptalphabeta.m b/code/RDownScriptalphabeta.m index b1f6613..ab82669 100644 --- a/code/RDownScriptalphabeta.m +++ b/code/RDownScriptalphabeta.m @@ -31,9 +31,9 @@ SetOptions[InputNotebook[], AutoGeneratedPackage -> Automatic] mysxscase=rootpath<>"/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440"; -ntones=1; -tshift=19; -npoints=3000; +ntones=2; +tshift=12; +npoints=37000; (*n=1:19, n=2:12, n=3:8, n=4:5, n=5:3, n=6:1, n=7:0 (not sure; is that really a minimum???) *) allspectrum = {x0,x1,x2,x3,x4,x5,x6,x7}; allalphas = {\[Alpha]1,\[Alpha]2,\[Alpha]3,\[Alpha]4,\[Alpha]5,\[Alpha]6,\[Alpha]7}; diff --git a/code/RDownScriptalphabeta@tmax.m b/code/RDownScriptalphabeta@tmax.m index 250a2f6..ba19180 100644 --- a/code/RDownScriptalphabeta@tmax.m +++ b/code/RDownScriptalphabeta@tmax.m @@ -33,7 +33,7 @@ SetOptions[InputNotebook[], AutoGeneratedPackage -> Automatic] mysxscase=rootpath<>"/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440"; ntones=2; tshift=12; -npoints=3000; +npoints=37000; (*n=1:19, n=2:12, n=3:8, n=4:5, n=5:3, n=6:1, n=7:0 (not sure; is that really a minimum???) *) allspectrum = {x0,x1,x2,x3,x4,x5,x6,x7}; allalphas = {\[Alpha]1,\[Alpha]2,\[Alpha]3,\[Alpha]4,\[Alpha]5,\[Alpha]6,\[Alpha]7}; @@ -157,7 +157,7 @@ phases = Mod[Arg[complexamps], 2 Pi]; {alphasandmis, betasandtfit, amplitudes, phases}, {j,npoints}]; -Export[rootpath<>"plots/n="<>ToString[ntones]<>"_params.fits", params] +(*Export[rootpath<>"plots/n="<>ToString[ntones]<>"_params.fits", params]*) Export[rootpath<>"plots/n="<>ToString[ntones]<>"_t0="<>ToString[tshift]<>"M_data@tmax.fits", tabvars] Export[rootpath<>"plots/n="<>ToString[ntones]<>"_t0="<>ToString[tshift]<>"M_dampingscalefactor.fits", \[Tau]scales] diff --git a/code/condor_submit_Fits.sub b/code/condor_submit_Fits.sub index 5f8c654..232e775 100755 --- a/code/condor_submit_Fits.sub +++ b/code/condor_submit_Fits.sub @@ -4,11 +4,11 @@ getenv = true executable = /work/rayne.liu/git/rdstackingproject/code/run.sh #input = /work/rayne.liu/git/rdstackingproject/code/run.sh # file to dump stdout (this directory should exist) -output = /work/rayne.liu/git/rdstackingproject/code/RDownScript.out +output = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta.out # file to dump stderr -error = /work/rayne.liu/git/rdstackingproject/code/RDownScript.err +error = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta.err # condor logs -log = /work/rayne.liu/git/rdstackingproject/code/RDownScript.log +log = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta.log #initialdir = . notify_user = rl746@cornell.edu notification = Complete diff --git a/code/condor_submit_Fits@tmax.sub b/code/condor_submit_Fits@tmax.sub new file mode 100755 index 0000000..8e1044f --- /dev/null +++ b/code/condor_submit_Fits@tmax.sub @@ -0,0 +1,21 @@ +universe = vanilla +getenv = true +# run@tmax script -- make sure that condor has execute permission for this file (chmod a+x script.py) +executable = /work/rayne.liu/git/rdstackingproject/code/run@tmax.sh +#input = /work/rayne.liu/git/rdstackingproject/code/run@tmax.sh +# file to dump stdout (this directory should exist) +output = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta@tmax.out +# file to dump stderr +error = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta@tmax.err +# condor logs +log = /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta@tmax.log +#initialdir = . +notify_user = rl746@cornell.edu +notification = Complete +arguments = "-processid $(Process)" +request_memory = 16GB +request_cpus = 1 +on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11)) +accounting_group = aei.dev.test_dynesty +queue 1 + diff --git a/code/run@tmax.sh b/code/run@tmax.sh new file mode 100755 index 0000000..66f9bee --- /dev/null +++ b/code/run@tmax.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +/opt/Mathematica/11.0/bin/wolframscript -file /work/rayne.liu/git/rdstackingproject/code/RDownScriptalphabeta@tmax.m -- GitLab