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

Hi Mike,

Yes, it is using bash shell, so I source env.sh To ensure I did the installation correctly, I decide to reinstall the whole thing:

 cd geant4.9.3.p01/source  
 make clean  (this will remove previous installation,right?)
 cd ~/geant4.9.3.p01/
 ./Configure -build
 ./Configure -install
 cd ~/geant4.9.3.p01/source
 make

I have this annoying issue that I have to manually correct the path to $G4WORKDIR everytime after installation, even if I set it before the build. Then I run the script and source it:

 ./env.sh
 . env.sh

There are no abnormal warnings or errors, so I believe everything is correct and set. I try a random example this time but still no luck:

 yapsl@ptmlxclus:~/g4work/examples/novice/N02> make
 mkdir: cannot create directory `/Linux-g++/exampleN02': Permission denied
 make: *** [/Linux-g++/exampleN02/exe/exampleN02.d] Error 1

> 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
/bin/bash
>
>   echo $G4WORKDIR
/mnt/data1/home/yapsl/g4work
>
>   pwd
/mnt/data1/home/yapsl/g4work/examples/novice/N02

The error "cannot create directory `/Linux-g++/exampleN02': Permission denied" looks so wrong here, instead of creating it in G4WORKDIR, it wants to create in root! May I know which variable or line is responsible for this action?

Neoh

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

1 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 ]