Skip to content

wrap_rrdesi not running on coadds from a list? #321

@araichoor

Description

@araichoor

I report here an apparently expected behavior of wrap_rrdesi, which stops running after few coadds, with no error, and does not deal with the rest of the coadds from the input file.
tagging @craigwarner-ufastro (sugggestion from @sbailey)

note that I am a newbie in running redrock with gpus, so it can very be that there is no bug and that I am just mis-calling the code.

here is how I proceed:

# load the desi main environment
source /global/cfs/cdirs/desi/software/desi_environment.sh main

# grab an interactive node with gpu
salloc --nodes 1 --qos interactive --time 4:00:00 --constraint gpu --gpus-per-node=4 --account desi_g

# set environment variables (custom templates)
export RR_TEMPLATE_DIR=/global/cfs/cdirs/desi/users/raichoor/laelbg/templates/rr2023oct
export OMP_NUM_THREADS=1

# inputs/outputs
MYDIR=/global/cfs/cdirs/desi/users/raichoor/laelbg/loa/healpix/tertiary37-thru20240309-loa
MYRRDIR=$MYDIR/rr2023oct
ls $MYDIR/coadd*fits > $MYRRDIR/list_coadds.ascii

# run redrock
wrap_rrdesi -i $MYRRDIR/list_coadds.ascii -o $MYRRDIR --gpu > $MYRRDIR/redrock.log 2>&1

the $MYRRDIR/list_coadds.ascii file has 18 coadds, but the code stops after dealing with the first 5 coadds, with no apparent error.
the log file is $MYRRDIR/redrock.log.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions