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)
Re: None Re: compilation in cluster:permission denied (Michael H. Kelsey)
Re: None Re: compilation in cluster:permission denied (Neoh)
Date: 11 Oct, 2010
From: Michael H. Kelsey <Michael H. Kelsey>

On Tue, 12 Oct 2010 04:22:15 GMT, Neoh wrote:
> On this machine the G4INSTALL=/mnt/data1/home/yapsl/geant4.9.3.p01
> On this machine the G4INCLUDE=/mnt/data1/home/yapsl/geant4.9.3.p01/include/
> On this machine the G4LIB=/mnt/data1/home/yapsl/geant4.9.3.p01/lib
[...]
> I install the toolkit under user "yapsl". The G4WORKDIR is in "g4work":
> 
>  echo $G4WORKDIR
>  /mnt/data1/home/yapsl/g4work 

Okay, so you've installed and are running everything under your personal account. I notice that you have the "G4INCLUDE" variable set, which means you answered "yes" to the question "Put all include files in one directory?" (or however it's worded). When you do that, you need one additional build step:

  ./Configure -install

I've learned this to my sorrow with my own builds. That should explain the system not finding .hh files. However, as for the rest:

> Making dependency for file exampleN01.cc ...
> /bin/sh: /Linux-g++/exampleN01/exe/exampleN01.d: Permission denied
> make: *** [/Linux-g++/exampleN01/exe/exampleN01.d] Error 1

Notice that the error refers to a file at the root level: /Linux-g++/.... That usually means that you don't have a full G4 environment set when you start the build. You mentioned using env.sh; is that your normal shell? If you use TCSH, then you should be sourcing env.csh.

This may be the root of it all (no pun intended). In the specific shell process where you do your |make|, could you show the output for the following commands:

  echo $SHELL
  echo $G4WORKDIR
  pwd

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 - 12 Oct, 2010)
(_ Question: Re: compilation in cluster:permission denied   (Gabriele Cosmo - 12 Oct, 2010)
(_ None: Re: compilation in cluster:permission denied   (Neoh - 12 Oct, 2010)
(_ More: Re: compilation in cluster:permission denied   (Gabriele Cosmo - 12 Oct, 2010)
(_ None: Re: compilation in cluster:permission denied   (Neoh - 12 Oct, 2010)
(_ More: Re: compilation in cluster:permission denied   (Gabriele Cosmo - 12 Oct, 2010)
(_ None: Re: compilation in cluster:permission denied   (Neoh - 12 Oct, 2010)
(_ Feedback: Re: compilation in cluster:permission denied   (Gabriele Cosmo - 12 Oct, 2010)
(_ Question: Re: compilation in cluster:permission denied   (Gabriele Cosmo - 12 Oct, 2010)
(_ Ok: Re: compilation in cluster:permission denied   (Neoh - 12 Oct, 2010)
 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 ]