Message: Re: compilation in cluster:permission denied Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: compilation in cluster:permission denied 

Forum: Installation and Configuration
Re: Question compilation in cluster:permission denied (Neoh)
Date: 11 Oct, 2010
From: Michael H. Kelsey <Michael H. Kelsey>

A couple of questions:

1) Could you report to us what value of G4WORKDIR you have set when working on your Linux cluster?

2) Are you trying to build the example "in situ" (i.e., as part of the GEANT4 installation tree)? Or did you copy the example (using |cp -r|) into your personal directory space?

When you build, GEANT4 must be able to create some hidden directories (named ".config") within the directory containing the GNUmakefile. If you do not have write permissions in the cluster's G4INSTALL area, then your build will fail as you described.

You must set up your GEANT4 environment variables to be consistent with the installed build. The best way to do this is to |source $G4INSTALL/env.csh| (or |.$G4INSTALL/env.sh| if you prefer Bash or sh). You must do this for every session (so you could put it into your .login if that is your taste).

Not having your GEANT4 environment is a common cause of not finding .hh files.

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

1 None: Re: compilation in cluster:permission denied   (Neoh - 11 Oct, 2010)
1 More: Re: compilation in cluster:permission denied   (Neoh - 11 Oct, 2010)
1 None: Re: compilation in cluster:permission denied   (Mike Kelsey - 11 Oct, 2010)
2 None: Re: compilation in cluster:permission denied   (Michael H. Kelsey - 11 Oct, 2010)
1 None: Re: compilation in cluster:permission denied   (Neoh - 12 Oct, 2010)
... 9 Message(s)
 Add Message Add Message
to: "Re: compilation in cluster:permission denied"

 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 ]