From 04b4c1e45069eebf6f8f23e70349388e69d1088c Mon Sep 17 00:00:00 2001 From: tomeichlersmith Date: Fri, 29 Mar 2024 08:21:31 -0500 Subject: [PATCH] remove addition of external subdirectory to ldmx-sw install 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. --- ldmx-env-init.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ldmx-env-init.sh b/ldmx-env-init.sh index cdcca0a..2f86484 100644 --- a/ldmx-env-init.sh +++ b/ldmx-env-init.sh @@ -1,5 +1,3 @@ -#!/bin/bash - ############################################################################### # Environment initialization for LDMX SW container images # Assumptions: @@ -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 #