Pārlūkot izejas kodu

Fix: Add UniGen specific environment variables.

Nikita arei Ermakov 5 gadi atpakaļ
vecāks
revīzija
e7aae6e086
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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