Sfoglia il codice sorgente

Fix: Add UniGen specific environment variables.

Nikita arei Ermakov 5 anni fa
parent
commit
e7aae6e086
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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