gw_data_find not found while running pipe directly from singularity
TLDR: gw_data_find
doesn't seem to be part of the container.
I tried running bayeswave_pipe
on the GATech submit node using the following run commands.
#!/bin/bash
IMAGE="/cvmfs/ligo-containers.opensciencegrid.org/james-clark/bayeswave/latest"
BASEDIR="${PWD}"
SINGULARITY_HOME=${BASEDIR} \
SINGULARITYENV_LIGO_DATAFIND_SERVER="datafind.ligo.org:443" \
singularity exec \
--bind /home --bind /tmp \
${IMAGE} bayeswave_pipe \
${BASEDIR}/BW_config_OSG.ini \
--workdir ${BASEDIR}/blip-glitch-1_fullOnly_OSG \
-I ${BASEDIR}/H1L1-INJECTIONS-1168989746.13-4.00-SNR-15.0.xml \
--skip-megapy \
--osg-deploy
The output I get is
WARNING: Not mounting /tmp (already mounted in container)
making work-directory: /nv/hp11/sghonge3/data/glitchPE/GW150914/blip/blip-glitch-1/blip-glitch-1_fullOnly_OSG
reading '/nv/hp11/sghonge3/data/glitchPE/GW150914/blip/blip-glitch-1/blip-glitch-1_fullOnly_OSG/H1L1-INJECTIONS-1168989746.13-4.00-SNR-15.0.xml' ...
md5sum: 053b315fa0d200fc7c7481d95d688f41 /nv/hp11/sghonge3/data/glitchPE/GW150914/blip/blip-glitch-1/blip-glitch-1_fullOnly_OSG/H1L1-INJECTIONS-1168989746.13-4.00-SNR-15.0.xml
Requiring HAS_SINGULARITY=?=TRUE
Using image: "/cvmfs/ligo-containers.opensciencegrid.org/lscsoft/bayeswave/latest"
Activating condor file transfers
Requiring HAS_CVMFS_LIGO_CONTAINERS=?=TRUE
reading '/nv/hp11/sghonge3/data/glitchPE/GW150914/blip/blip-glitch-1/blip-glitch-1_fullOnly_OSG/H1L1-INJECTIONS-1168989746.13-4.00-SNR-15.0.xml' ...
md5sum: 053b315fa0d200fc7c7481d95d688f41 /nv/hp11/sghonge3/data/glitchPE/GW150914/blip/blip-glitch-1/blip-glitch-1_fullOnly_OSG/H1L1-INJECTIONS-1168989746.13-4.00-SNR-15.0.xml
..read 36 injections
downsampling to requested injections using events= in config
Determining whether to do segment queries
No ignore-science-segments in [datafind], skipping segdb by default
Calling LIGO data find ...
gw_data_find --observatory H --type H1_HOFT_C00 -s 1168989720 -e 1168989777 --lal-cache --server=datafind.ligo.org:443 -u file > datafind/H1.cache
/bin/sh: 1: gw_data_find: not found
Traceback (most recent call last):
File "/opt/lscsoft/bayeswave/bin/bayeswave_pipe", line 655, in <module>
raise ValueError("No frame data found with: {}".format(ldfcmd))
ValueError: No frame data found with: gw_data_find --observatory H --type H1_HOFT_C00 -s 1168989720 -e 1168989777 --lal-cache --server=datafind.ligo.org:443 -u file > datafind/H1.cache