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

Question compilation in cluster:permission denied 

Forum: Installation and Configuration
Date: 11 Oct, 2010
From: Neoh <Neoh>

Hi,

We have difficulties understanding the following error when trying to compile g4(versoin 9.3.p01) examples in our linux cluster:

 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

This doesn't happen in my own computer. When we compile with root permission, it shows this instead:

 Making dependency for file exampleN01.cc ...
exampleN01.cc:38:40: error: ExN01DetectorConstruction.hh: No such file or directory
exampleN01.cc:39:31: error: ExN01PhysicsList.hh: No such file or directory
exampleN01.cc:40:42: error: ExN01PrimaryGeneratorAction.hh: No such file or directory
Making dependency for file src/ExN01PrimaryGeneratorAction.cc ...
src/ExN01PrimaryGeneratorAction.cc:31:42: error: ExN01PrimaryGeneratorAction.hh: No such file or directory
Making dependency for file src/ExN01PhysicsList.cc ...
src/ExN01PhysicsList.cc:32:31: error: ExN01PhysicsList.hh: No such file or directory
Making dependency for file src/ExN01DetectorConstruction.cc ...
src/ExN01DetectorConstruction.cc:31:40: error: ExN01DetectorConstruction.hh: No such file or directory
Compiling ExN01DetectorConstruction.cc ...
g++: /Linux-g++/exampleN01/ExN01DetectorConstruction.o: No such file or directory
src/ExN01DetectorConstruction.cc:31:40: error: ExN01DetectorConstruction.hh: No such file or directory
src/ExN01DetectorConstruction.cc:41: error: &#257;ExN01DetectorConstruction&#257; has not been declared
src/ExN01DetectorConstruction.cc:41: error: ISO C++ forbids declaration of &#257;ExN01DetectorConstruction&#257; with no type
src/ExN01DetectorConstruction.cc: In function &#257;int ExN01DetectorConstruction()&#257;:
src/ExN01DetectorConstruction.cc:42: error: only constructors take base initializers
src/ExN01DetectorConstruction.cc: At global scope:
src/ExN01DetectorConstruction.cc:48: error: expected constructor, destructor, or type conversion before &#257;::&#257; token
src/ExN01DetectorConstruction.cc:52: error: &#257;ExN01DetectorConstruction&#257; is not a class or namespace
src/ExN01DetectorConstruction.cc: In function &#257;G4VPhysicalVolume* Construct()&#257;:
src/ExN01DetectorConstruction.cc:80: error: &#257;experimentalHall_log&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:82: error: &#257;experimentalHall_phys&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:95: error: &#257;tracker_log&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:99: error: &#257;tracker_phys&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:110: error: &#257;calorimeterBlock_log&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:115: error: &#257;calorimeterBlock_phys&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:126: error: &#257;calorimeterLayer_log&#257; was not declared in this scope
src/ExN01DetectorConstruction.cc:133: error: &#257;calorimeterLayer_phys&#257; was not declared in this scope
make: *** [/Linux-g++/exampleN01/ExN01DetectorConstruction.o] Error 1

It is really strange that it couldn't find example N01's **.hh files. We did not change the content at all. Does anyone have any idea what is going on here?

Neoh

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   (Michael H. Kelsey - 11 Oct, 2010)
(_ 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: "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 ]