Skip to content
Snippets Groups Projects
Commit ecc1b3ba authored by Rayne Liu's avatar Rayne Liu
Browse files

Changed number of cpus

parent d767c53c
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ from scipy.optimize import minimize
rootpath= "/work/rayne.liu"#"/Users/RayneLiu"
nmax=1
tshift=3.6
tshift=0
vary_fund = True
#sampler parameters
......@@ -176,8 +176,8 @@ def log_probability(theta):
#Fit with ptemcee
#Set the number of cores of your processors
pool = choose_pool(32)
pool.size = 32
pool = choose_pool(28)
pool.size = 28
vary_param = float(vary_fund)
np.random.seed(42)
pos = np.array([[random.uniform(-0.1,0.1), random.uniform(-0.1,0.1), 4.28313743e-01, random.uniform(2.5, 2.6) + (1-vary_param) * np.pi]])
......
......@@ -177,8 +177,8 @@ def log_probability(theta):
#Fit with ptemcee
#Set the number of cores of your processors
pool = choose_pool(32)
pool.size = 32
pool = choose_pool(24)
pool.size = 24
vary_param = float(vary_fund)
np.random.seed(42)
pos = np.array([[random.uniform(-0.1,0.1), random.uniform(-0.1,0.1), 4.28313743e-01, random.uniform(2.5, 2.6) + (1-vary_param) * np.pi]])
......
......@@ -178,8 +178,8 @@ def log_probability(theta):
#Fit with ptemcee
#Set the number of cores of your processors
pool = choose_pool(32)
pool.size = 32
pool = choose_pool(28)
pool.size = 28
vary_param = float(vary_fund)
np.random.seed(42)
pos = np.array([[random.uniform(-0.1,0.1), random.uniform(-0.1,0.1), 4.28313743e-01, random.uniform(2.5, 2.6) + (1-vary_param) * np.pi]])
......
......@@ -178,8 +178,8 @@ def log_probability(theta):
#Fit with ptemcee
#Set the number of cores of your processors
pool = choose_pool(32)
pool.size = 32
pool = choose_pool(28)
pool.size = 28
vary_param = float(vary_fund)
np.random.seed(42)
pos = np.array([[random.uniform(-0.1,0.1), random.uniform(-0.1,0.1), 4.28313743e-01, random.uniform(2.5, 2.6) + (1-vary_param) * np.pi]])
......
......@@ -13,7 +13,7 @@ notify_user = rl746@cornell.edu
notification = Complete
arguments = "-processid $(Process)"
request_memory = 232GB
request_cpus = 32
request_cpus = 28
on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11))
accounting_group = aei.dev.test_dynesty
queue 1
......
......@@ -13,7 +13,7 @@ notify_user = rl746@cornell.edu
notification = Complete
arguments = "-processid $(Process)"
request_memory = 232GB
request_cpus = 32
request_cpus = 24
on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11))
accounting_group = aei.dev.test_dynesty
queue 1
......
......@@ -13,7 +13,7 @@ notify_user = rl746@cornell.edu
notification = Complete
arguments = "-processid $(Process)"
request_memory = 232GB
request_cpus = 32
request_cpus = 28
on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11))
accounting_group = aei.dev.test_dynesty
queue 1
......
......@@ -13,7 +13,7 @@ notify_user = rl746@cornell.edu
notification = Complete
arguments = "-processid $(Process)"
request_memory = 232GB
request_cpus = 32
request_cpus = 28
on_exit_remove = (ExitBySignal == False) || ((ExitBySignal == True) && (ExitSignal != 11))
accounting_group = aei.dev.test_dynesty
queue 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment