Skip to content

Commit

Permalink
Stupid ROOT/LLVM/GL bug fix.
Browse files Browse the repository at this point in the history
Now you don't need LIBGL_ALWAYS_INDIRECT set anymore on ifarm.

Fix #40
  • Loading branch information
wdconinc committed Jun 6, 2018
1 parent 1e43433 commit dca6e99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions remoll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ int main(int argc, char** argv) {
// Running time measurement: start
clock_t tStart = clock();

// Fix for #40: avoids LLVM/GL errors
gROOT->Reset();

// Initialize the random seed
G4long seed = time(0) + (int) getpid();
Expand Down

0 comments on commit dca6e99

Please sign in to comment.