Open JegerBroxterman opened 1 month ago
Upon closer inspection, the issue is not that the power path is not generated but that k_max = par->rmax;
and k_min = par->rmin;
are set to non-existent variables. I think these should be set to kmin
and kmax
, respectively as was done in the latest changes that were applied in some of the other files in https://github.com/oliverphilcox/HIPSTER/commit/2e0a9afb998b9f010c5d85a4a4cc9867c12f202a#diff-7f44db15fbf212b2695c4b657b1cdf6918403be8523bc65c1773f0983adebe8f
The same holds for the parameters r_low
and r_high
that I believe should be changed to k_low
and k_high
in bispectrum_counts.h
Fixing these issues the code still crashes at line 140 of grid.h
assert(max_boxsize>0&&nside>0&&np>=0);
As np seems to be a negative number.
Hi, I am trying to compute some bispectra using your hipster_wrapper_bispectrum.sh wrapper but it seems to crash when looking for a file that doesn't exist. I git cloned the repository, ran the script to generate the bins and then I initiate the file as
{path_to_wrapper}/hipster_wrapper_bispectrum.sh --dat {data_file} --l_max 4 --R0 50 --k_bin binning.csv --subsample 2 --f_rand 3 --string testing
The error message I get is
It points to the line
$CODE_DIR/power -in $DATA -binfile $BINFILE -output $CODE_DIR/output -out_string ${STRING} -max_l $MAX_L -R0 $R0 -nthread $NTHREADS -perbox -f_rand $FRAND
which indeed points to a file/directory that doesn't exist.