Parcourir la source

Fix: Add UniGen specific environment variables.

Nikita arei Ermakov il y a 5 ans
Parent
commit
e7aae6e086
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      dc-scripts/unipbs

+ 2 - 0
dc-scripts/unipbs

@@ -149,6 +149,8 @@ for (( i=0; i < njobs; i=i+1 )); do
 # This script was automatically generated at $(date -R) by unipbs
 export ftn09="inputfile"
 export ftn$ftn="out_$seed.$ftn"
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(dirname $unigen)"
+export UNIGEN="$(dirname $unigen)"
 time ./urqmd
 time ./unigen "out_$seed.$ftn" "out_${seed}_$ftn.root" "$events"
 EOF