Message: Re: 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

More Re: Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled 

Forum: Installation and Configuration
Re: Sad Error in installing Geant4.10.4 on CentOS v.7 with USOLIDS enabled (Virgil B.)
Date: 10 Dec, 2017
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Virgil,

you need v0.5 of VecGeom to work with 10.4. See the release notes!

Cheers, Gabriele

-----------------
On Mon, 11 Dec 2017 02:21:49 GMT, Virgil B. wrote:
> 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 &#65533;vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)&#65533;
>      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 &#65533;G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4UAdapter<UnplacedVolume_t>&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedCutTube]&#65533;:
> /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 &#65533;vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)&#65533;
>      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 &#65533;G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4String&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedParallelepiped]&#65533;:
> /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 &#65533;vecgeom::cxx::UnplacedParallelepiped::UnplacedParallelepiped()&#65533;
>        : 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 &#65533;vecgeom::cxx::UnplacedParallelepiped::UnplacedParallelepiped()&#65533;
>        : 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 &#65533;vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)&#65533;
>      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 &#65533;G4UAdapter<UnplacedVolume_t>::G4UAdapter(const G4UAdapter<UnplacedVolume_t>&) [with UnplacedVolume_t = vecgeom::cxx::UnplacedCutTube]&#65533;:
> /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 &#65533;vecgeom::cxx::UnplacedCutTube::UnplacedCutTube(const vecgeom::cxx::UnplacedCutTube&)&#65533;
>      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 &#65533;G4double G4UAdapter<UnplacedVolume_t>::GetCubicVolume() [with UnplacedVolume_t = vecgeom::cxx::UnplacedTorus2; G4double = double]&#65533;:
> /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: &#65533;Capacity&#65533; is not a member of &#65533;vecgeom::cxx::UnplacedTorus2&#65533;
>    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 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: "Re: 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 ]