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