Message: Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled 

Forum: Installation and Configuration
Date: 10 Dec, 2017
From: Virgil B. <Virgil B.>

I tried to install Geant4.10.4 on Linux (CentOS 7), by enabling USOLIDS in CMake.config. CMAke found anything needed in the already installed VecGeom,in the folder: /home/virgil/VecGeom/lib/CMake/VecGeom/, and configuration was successful.

But when I tried to install the Geant4.10.4 with make -j8 (I have 8 threads in my computer), I got errors as shown below. Please help me to fix this error. Thank you,

Virgil =================================================== ...

/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:260:37: error: use of deleted function ‘vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)’
     kHalfTolerance(0.5*kCarTolerance)
                                     ^
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:51:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/VecGeom/lib/CMake/VecGeom/../../../include/volumes/UnplacedCutTube.h:73:3: error: declared here
   UnplacedCutTube(UnplacedCutTube const &other) = delete;
   ^
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:47:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh: In instantiation of ‘G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4UAdapter<UnplacedVolume_t>&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedCutTube]’:
/home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:85:15:   required from here
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:281:45: error: use of deleted function ‘vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)’
     fRebuildPolyhedron(false), fPolyhedron(0)
                                             ^
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:51:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/VecGeom/lib/CMake/VecGeom/../../../include/volumes/UnplacedCutTube.h:73:3: error: declared here
   UnplacedCutTube(UnplacedCutTube const &other) = delete;
   ^
make[2]: *** [source/geometry/CMakeFiles/G4geometry.dir/solids/CSG/src/G4UCutTubs.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UPara.hh:46:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4Para.hh:80,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UPara.cc:33:
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh: In instantiation of ‘G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4String&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedParallelepiped]’:
/home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UPara.cc:66:17:   required from here
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:80:65: error: no matching function for call to ‘vecgeom::cxx::UnplacedParallelepiped::UnplacedParallelepiped()’
       : G4VSolid(name), fRebuildPolyhedron(false), fPolyhedron(0)

...
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:80:65: error: no matching function for call to ‘vecgeom::cxx::UnplacedParallelepiped::UnplacedParallelepiped()’
       : G4VSolid(name), fRebuildPolyhedron(false), fPolyhedron(0)

...
/home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:68:13:   required from here
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:260:37: error: use of deleted function ‘vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)’
     kHalfTolerance(0.5*kCarTolerance)
                                     ^
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:51:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/VecGeom/lib/CMake/VecGeom/../../../include/volumes/UnplacedCutTube.h:73:3: error: declared here
   UnplacedCutTube(UnplacedCutTube const &other) = delete;
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:47:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh: In instantiation of ‘G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4UAdapter<UnplacedVolume_t>&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedCutTube]’:
/home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:85:15:   required from here
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:281:45: error: use of deleted function ‘vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)’
     fRebuildPolyhedron(false), fPolyhedron(0)
                                             ^
In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UCutTubs.hh:51:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4CutTubs.hh:55,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UCutTubs.cc:33:
/home/virgil/VecGeom/lib/CMake/VecGeom/../../../include/volumes/UnplacedCutTube.h:73:3: error: declared here
   UnplacedCutTube(UnplacedCutTube const &other) = delete;
   ^
...

In file included from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/include/G4UTorus.hh:45:0,
                 from /home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UTorus.cc:36:
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh: In instantiation of ‘G4double G4UAdapter<UnplacedVolume_t>::GetCubicVolume() [with UnplacedVolume_t = vecgeom::cxx::UnplacedTorus2; G4double = double]’:
/home/virgil/Geant4/geant4.10.04/source/geometry/solids/CSG/src/G4UTorus.cc:432:1:   required from here
/home/virgil/Geant4/geant4.10.04/source/geometry/management/include/G4UAdapter.hh:411:37: error: ‘Capacity’ is not a member of ‘vecgeom::cxx::UnplacedTorus2’
   return UnplacedVolume_t::Capacity();

... make[2]: *** [source/geometry/CMakeFiles/G4geometry.dir/solids/CSG/src/G4UCutTubs.cc.o] Error 1 make[2]: *** [source/geometry/CMakeFiles/G4geometry.dir/solids/CSG/src/G4UTorus.cc.o] Error 1 make[2]: Leaving directory `/home/virgil/Geant4/Geant4.10.4-build' make[1]: *** [source/geometry/CMakeFiles/G4geometry.dir/all] Error 2 make[1]: Leaving directory `/home/virgil/Geant4/Geant4.10.4-build' make: *** [all] Error 2

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

1 More: Re: Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled   (Gabriele Cosmo - 10 Dec, 2017)
(_ Ok: Re: Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled   (Virgil B. - 12 Dec, 2017)
 Add Message Add Message
to: "Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled"

 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 ]