increased number of walkers for mcmc, and updated thor script

This commit is contained in:
xaw5719 2016-08-03 14:23:21 -04:00
parent 83076de021
commit d480854b55
3 changed files with 13 additions and 8 deletions

View File

@ -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 ]]

View File

@ -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

View File

@ -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}