mirror of
https://asciireactor.com/otho/psdlag-agn.git
synced 2024-11-22 03:35:08 +00:00
increased number of walkers for mcmc, and updated thor script
This commit is contained in:
parent
83076de021
commit
d480854b55
@ -8,7 +8,7 @@ refpsd_params="6.533e-02 -9.694e-02 -1.175e+00 -1.525e+00 -2.166e+00 -2.492e+00
|
|||||||
#refpsd_params="7.376e-02 -1.976e-01 -1.182e+00 -1.521e+00 -2.144e+00 -2.503e+00 -3.580e+00 -1.233e+01"
|
#refpsd_params="7.376e-02 -1.976e-01 -1.182e+00 -1.521e+00 -2.144e+00 -2.503e+00 -3.580e+00 -1.233e+01"
|
||||||
|
|
||||||
|
|
||||||
error_type="0"
|
error_type="2"
|
||||||
# error types:
|
# error types:
|
||||||
# 0 for covariance matrix, 1 for likelihood function, 2 for monte carlo
|
# 0 for covariance matrix, 1 for likelihood function, 2 for monte carlo
|
||||||
case $error_type in
|
case $error_type in
|
||||||
@ -110,7 +110,8 @@ do
|
|||||||
echo "0:0 0" >> tmp.psdlagargs
|
echo "0:0 0" >> tmp.psdlagargs
|
||||||
echo $error_type >> tmp.psdlagargs
|
echo $error_type >> tmp.psdlagargs
|
||||||
echo "0" >> tmp.psdlagargs
|
echo "0" >> tmp.psdlagargs
|
||||||
echo -n "1000 50 50 mcmc_${echo_band}.dat" >> tmp.psdlagargs
|
# Use 10x num vars for walkers
|
||||||
|
echo -n "1000 50 400 mcmc_${echo_band}.dat" >> tmp.psdlagargs
|
||||||
|
|
||||||
# Run psdlag with inputs
|
# Run psdlag with inputs
|
||||||
if [[ -e $outputfile ]]
|
if [[ -e $outputfile ]]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -login
|
#!/bin/sh -login
|
||||||
#PBS -l mem=64GB
|
#PBS -l mem=64GB
|
||||||
#PBS -l nodes=1:ppn=1:research
|
#PBS -l nodes=1:ppn=1:research
|
||||||
#PBS -l walltime=4:00:00
|
#PBS -l walltime=2:00:00
|
||||||
#PBS -N "%NAME%"
|
#PBS -N "%NAME%"
|
||||||
#PBS -j oe
|
#PBS -j oe
|
||||||
|
|
||||||
|
14
src/makefile
14
src/makefile
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
|
# original
|
||||||
#libdir='/eos/azoghbi/soft/usr/lib'
|
#libdir='/eos/azoghbi/soft/usr/lib'
|
||||||
#incdir='/eos/azoghbi/soft/usr/include'
|
#incdir='/eos/azoghbi/soft/usr/include'
|
||||||
libdir='/home/caes/science/psdlag-agn/src/inc'
|
# most systems
|
||||||
incdir='/home/caes/science/psdlag-agn/src/inc'
|
#libdir='/home/caes/science/psdlag-agn/src/inc'
|
||||||
|
#incdir='/home/caes/science/psdlag-agn/src/inc'
|
||||||
|
# thor
|
||||||
|
libdir='/home/research/xaw5719/psdlag-agn/src/inc'
|
||||||
|
alglibdir='/home/research/xaw5719/psdlag-agn/src/inc/alglib'
|
||||||
|
incdir='/home/research/xaw5719/psdlag-agn/src/inc'
|
||||||
psdlag:
|
psdlag:
|
||||||
g++ *cpp -o psdlag -O3 -Wall -lalglib -I${incdir} -L${libdir}
|
g++ *cpp inc/alglib/*cpp -o psdlag -O3 -Wall -I${incdir} -L${libdir} -L${alglibdir} -I${alglibdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user