Difference: ILCSOFTMacOSX (4 vs. 5)

Revision 52015-06-26 - NikiforosNikiforou

Line: 1 to 1
META TOPICPARENT name="CLICSoftwareComputing"

Installation of an ILCSOFT release on MacOS X

Line: 7 to 7
 Trying to build ilcsoft on MacOS X 10.10 (Yosemite)

  • You should turn on c++11 otherwise the the CMake logic in PandoraPFANew will fail. Otherwise you need a fix in the PandoraPFANew module.
    • Problem: CED doens't build with errrors like: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]. It also says: note: insert an explicit cast to silence this issue
    • Solution: add -Wno-c++11-narrowing to CMAKE_CXX_FLAGS for the CED installation module in release-base.cfg:
 ilcsoft.module("CED").envcmake["CMAKE_CXX_FLAGS"]='-Wall -std=c++11 -Wno-c++11-narrowing'
  • Assume to be building locally under:
Line: 98 to 103
 # Fortran_lib_path = "/afs/cern.ch/sw/lcg/contrib/gcc/4.8.1/x86_64-slc6-gcc48-opt/lib64"

in release-base.cfg: comment out installation of Qt and CMake. Also, point to the qmake executable:


in release-base.cfg:

  • comment out installation of Qt and CMake. Also, point to the qmake executable:
Line: 137 to 143
  probably we will have to commit changes to the packages to handle this - maybe a preprocessor directive to make the change unique to mac.
  • Needed to modify CED/v01-09-01/src/server/glced.cc:4667:56:
        std::cout << "Sorry 100x100 are the max value" << std::endl;
instead of
        std::cout << "Sorry 100x100 are the max value" << std::cout;



Having fulfilled the above requirements and applied the suggested changes, you can proceed with the installation of the base first and the ilcsoft release later.

Line: 188 to 204
  • DD4hepExamples: problem with naming of the libDD4hepSimpleDetector.dylib (should be libSimpleDetector.dylib ?) UPDATE: DD4hepExamples installation module updated to fix this bug. Should be OK
  • Bug in CED/v01-09-01/src/server/glced.cc line 4667 std::cout instead of std::endl
 -- NikiforosNikiforou - 2015-06-25
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback