|Message: compilation in cluster:permission denied||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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: āExN01DetectorConstructionā has not been declared src/ExN01DetectorConstruction.cc:41: error: ISO C++ forbids declaration of āExN01DetectorConstructionā with no type src/ExN01DetectorConstruction.cc: In function āint ExN01DetectorConstruction()ā: 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 ā::ā token src/ExN01DetectorConstruction.cc:52: error: āExN01DetectorConstructionā is not a class or namespace src/ExN01DetectorConstruction.cc: In function āG4VPhysicalVolume* Construct()ā: src/ExN01DetectorConstruction.cc:80: error: āexperimentalHall_logā was not declared in this scope src/ExN01DetectorConstruction.cc:82: error: āexperimentalHall_physā was not declared in this scope src/ExN01DetectorConstruction.cc:95: error: ātracker_logā was not declared in this scope src/ExN01DetectorConstruction.cc:99: error: ātracker_physā was not declared in this scope src/ExN01DetectorConstruction.cc:110: error: ācalorimeterBlock_logā was not declared in this scope src/ExN01DetectorConstruction.cc:115: error: ācalorimeterBlock_physā was not declared in this scope src/ExN01DetectorConstruction.cc:126: error: ācalorimeterLayer_logā was not declared in this scope src/ExN01DetectorConstruction.cc:133: error: ācalorimeterLayer_physā 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?
|Inline Depth:||Outline Depth:||Add message:|