Message: Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded 

Forum: Installation and Configuration
Re: Question Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded (Matt Halstead)
Re: None Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded (Michael H. Kelsey)
Re: None Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded (Matt Halstead)
Date: 25 Oct, 2010
From: Michael H. Kelsey <Michael H. Kelsey>

Matt Halstead writes:
> I have checked on that path in the interactive session on the terminal,
> and it is set properly.

And if you run the executable, it does find the shared library and starts?

> As far as I know, the "#PBS -V" directive in the job file is supposed to
> set all the GEANT environment variables when the cluster runs the
> executable.

Well, that'll be the case provided you interactively configured your G4
environment already (e.g., in your .login or .profile).

> From what I've read (namely, the man page for qsub), it says that the -V
> option passes "all environment variables in the qsub command's
> environment".

I've had similar confusion with the LSF batch system we use at SLAC.  Try a
simple test, submitting a job file with just the command "printenv".  Make
sure it returns exactly the same results as when you do so interactively.

One thing for you to look for is whether you (directly or indirectly) change
your LD_LIBRARY_PATH in your .bashrc or .cshrc files.  Those script are run
for every single process (including child processes or launched batch
jobs).  If you inappropriately set environment variables in them, you can
get weird and unexpected results from batch jobs, from GMake, and from
anything else which fork()'s children.

Good luck!
      -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded   (Matt Halstead - 25 Oct, 2010)
 Add Message Add Message
to: "Re: Issue running GEANT4 on Linux cluster - libG4Tree.so isn't loaded"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]