Skip to content
Snippets Groups Projects
Commit a051dda6 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Download field maps when building the detector

parent 361a9d0e
Branches
No related tags found
1 merge request!13Download field maps when building the detector
......@@ -136,6 +136,15 @@ echo "Adding JUGGLER_INSTALL_PREFIX and LOCAL_PREFIX to PATH and LD_LIBRARY_PATH
export PATH=${JUGGLER_INSTALL_PREFIX}/bin:${LOCAL_PREFIX}/bin:${PATH}
export LD_LIBRARY_PATH=${JUGGLER_INSTALL_PREFIX}/lib:${LOCAL_PREFIX}/lib:${LD_LIBRARY_PATH}
mkdir -p ${LOCAL_DATA_PATH}/fieldmaps
pushd ${LOCAL_DATA_PATH}/fieldmaps
if [ ! -f "EIC_Magnetic_Field_Map_2021_05_07_radial_coords__cm___T_.120000.lines.Bmap " ] then
echo "Downloading fieldmap: EIC_Magnetic_Field_Map_2021_05_07_radial_coords__cm___T_.120000.lines.Bmap"
wget -q "https://eicweb.phy.anl.gov/EIC/detectors/athena/uploads/9179a98c5a80df1f2b98968c747c1c48/EIC_Magnetic_Field_Map_2021_05_07_radial_coords__cm___T_.120000.lines.Bmap"
fi
popd
ln -s ${LOCAL_DATA_PATH}/fieldmaps
## =============================================================================
## That's all!
echo "Environment setup complete."
  • Owner

    @whit This seems to fail for ip6, https://eicweb.phy.anl.gov/EIC/detectors/ip6/-/jobs/146332. I'm not familiar enough with common_bench, or what differences there are between the athena and ip6 CI pipeline. Maybe you see immediately what's going on here.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment