diff --git a/README.md b/README.md index 11445f0d6c3b17204a9b88a463f626aa3a056d5c..0a0eba97e36d8801ae008a5902a87d95ce296f9a 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,13 @@ ln -s ../ip6/ip6 athena/ip6 [VSCode documentation on container development](https://code.visualstudio.com/docs/remote/create-dev-container) + +### Troubleshooting: + +1. If there is an error like: + + ``` + Compact ERROR ++ FAILED to convert subdetector: B0Tracker: dd4hep: Evaluator::Object : unknown variable : B0Tracker_ID : value=B0Tracker_ID [Evaluation error] + ``` + + The most probably you've forgotten `ln -s ../ip6/ip6 athena/ip6` \ No newline at end of file diff --git a/env.sh b/env.sh new file mode 100644 index 0000000000000000000000000000000000000000..db3df60dfb517c762692f7cd07336896da7974c7 --- /dev/null +++ b/env.sh @@ -0,0 +1,9 @@ +SCRIPT_DIR='' +pushd "$(dirname "$(readlink -f "$BASH_SOURCE")")" > /dev/null && { + SCRIPT_DIR="$PWD" + popd > /dev/null +} + + +DD4HEP_LIBRARY_PATH="$SCRIPT_DIR/lib${DD4HEP_LIBRARY_PATH:+:${DD4HEP_LIBRARY_PATH}}" +LD_LIBRARY_PATH="$SCRIPT_DIR/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" \ No newline at end of file