Message: May I trust this GEANT4 configuration ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question May I trust this GEANT4 configuration ? 

Forum: Installation and Configuration
Date: 10 Mar, 2016
From: Maura E.M. <Maura E.M.>

I am getting the following errors through running CMAKE. Files have been created in the build directory but I do not know whether I can trust this GEANT4 configuration and proceed with the compilation.

It seems to me that in source/physics_lists/CMakeLists.txt there is a sort of dependency-list which lists files are to be recompiled if some other files change. But some of the files are not present in the current source tree. So either these are also left-overs from my earlier cmake 3.5 invocations, or there are parts missing in the GEANT4 source tree .. ???

Since cmake mentions some "Configuring download of missing dataset ..." I am not sure I got the complete GEANT4 sources even if I am following the on-line installation guide.

It seems that cmake has generated a working compilation environment regardless of the errors.

Every comment / suggestion is welcome. Many thanks. Maura email: maura.monville@gmail.com

mauraedillesMBP:geant4.10.02.p01-build mauede$ cmake -DGEANT4_INSTALL_DATA=ON -DCMAKE_INSTALL_PREFIX=/Users/mauede/geant4.10.02.p01-install /Users/mauede/geant4.10.02.p01 -- The C compiler identification is AppleClang 6.0.0.6000054 -- The CXX compiler identification is AppleClang 6.0.0.6000054 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found EXPAT: /opt/local/lib/libexpat.dylib (found version "2.1.0") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Configuring download of missing dataset G4NDL (4.5) -- Configuring download of missing dataset G4EMLOW (6.48) -- Configuring download of missing dataset PhotonEvaporation (3.2) -- Configuring download of missing dataset RadioactiveDecay (4.3.1) -- Configuring download of missing dataset G4NEUTRONXS (1.4) -- Configuring download of missing dataset G4PII (1.3) -- Configuring download of missing dataset RealSurface (1.0) -- Configuring download of missing dataset G4SAIDDATA (1.1) -- Configuring download of missing dataset G4ABLA (3.0) -- Configuring download of missing dataset G4ENSDFSTATE (1.2.1) -- The following Geant4 features are enabled: GEANT4_BUILD_CXXSTD: Compiling against C++ Standard '11' GEANT4_USE_SYSTEM_EXPAT: Using system EXPAT library

-- Configuring done
CMake Error at cmake/Modules/Geant4MacroLibraryTargets.cmake:109 (add_library):
  Cannot find source file:

    /Users/mauede/geant4.10.02.p01/source/physics_lists/constructors/electromagnetic/include/G4EmDNAPhysics_option1.hh

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  cmake/Modules/Geant4MacroLibraryTargets.cmake:300 (GEANT4_LIBRARY_TARGET)
  source/physics_lists/CMakeLists.txt:22 (GEANT4_GLOBAL_LIBRARY_TARGET)

CMake Error at cmake/Modules/Geant4MacroLibraryTargets.cmake:109 (add_library):
  Cannot find source file:

    /Users/mauede/geant4.10.02.p01/source/processes/electromagnetic/dna/models/src/G4DNAEmfietzoglouExcitationModel.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  cmake/Modules/Geant4MacroLibraryTargets.cmake:300 (GEANT4_LIBRARY_TARGET)
  source/processes/CMakeLists.txt:36 (GEANT4_GLOBAL_LIBRARY_TARGET)

CMake Error: CMake can not determine linker language for target: G4physicslists
CMake Error in source/physics_lists/CMakeLists.txt:
  Exporting the target "G4physicslists" is not allowed since its linker
  language cannot be determined

CMake Error: CMake can not determine linker language for target: G4physicslists
CMake Error in source/physics_lists/CMakeLists.txt:
  Exporting the target "G4physicslists" is not allowed since its linker
  language cannot be determined

CMake Error: CMake can not determine linker language for target: G4processes
CMake Error in source/processes/CMakeLists.txt:
  Exporting the target "G4processes" is not allowed since its linker language
  cannot be determined

CMake Error: CMake can not determine linker language for target: G4processes
CMake Error in source/processes/CMakeLists.txt:
  Exporting the target "G4processes" is not allowed since its linker language
  cannot be determined

CMake Error: Cannot determine link language for target "G4physicslists".
CMake Error: Cannot determine link language for target "G4processes".
CMake Error in source/physics_lists/CMakeLists.txt:
  Exporting the target "G4physicslists" is not allowed since its linker
  language cannot be determined

CMake Error in source/physics_lists/CMakeLists.txt:
  Exporting the target "G4physicslists" is not allowed since its linker
  language cannot be determined

CMake Error in source/processes/CMakeLists.txt:
  Exporting the target "G4processes" is not allowed since its linker language
  cannot be determined

CMake Error in source/processes/CMakeLists.txt:
  Exporting the target "G4processes" is not allowed since its linker language
  cannot be determined

-- Generating done -- Build files have been written to: /Users/mauede/geant4.10.02.p01-build

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

1 Warning: Re: May I trust this GEANT4 configuration ?   (Ben Morgan - 10 Mar, 2016)
 Add Message Add Message
to: "May I trust this GEANT4 configuration ?"

 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 ]