Skip to content

Commit

Permalink
remove addition of external subdirectory to ldmx-sw install
Browse files Browse the repository at this point in the history
external was only ever filled by ONNX runtime being downloaded by the CMake
infrastructure. Since it was moved into the container image (v4.0), the
external subdirectory of an install will only exist if the user
specifically edits the cmake to use the older ONNX version. In this
case, they will now need to also update their local copy of .profile to
include that directory in LD_LIBRARY_PATH (if using denv) or edit the
cmake to install ONNX in one of the paths already included.
  • Loading branch information
tomeichlersmith committed Mar 29, 2024
1 parent 7efd397 commit 04b4c1e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ldmx-env-init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

###############################################################################
# Environment initialization for LDMX SW container images
# Assumptions:
Expand All @@ -21,14 +19,6 @@ export PATH="${LDMX_SW_INSTALL}/bin:${PATH}"
export LD_LIBRARY_PATH="${GENIE}/lib:/usr/local/pythia6:${LD_LIBRARY_PATH}"
export PATH="${GENIE}/bin:${PATH}"

# add externals installed along side ldmx-sw
# WARNING: No check to see if there is anything in this directory
for _external_path in "${LDMX_SW_INSTALL}/external"/*/lib
do
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${_external_path}"
done
unset _external_path

# Developer option: If a custom geant4 install is to be used, source the
# environment script from that install
#
Expand Down

0 comments on commit 04b4c1e

Please sign in to comment.