hpc:lcgcmake
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hpc:lcgcmake [2015/08/21 14:21] – [Installing on Cooley@ALCF] jchilders | hpc:lcgcmake [2015/08/24 19:29] (current) – jchilders | ||
---|---|---|---|
Line 6: | Line 6: | ||
The basic installation instructions are here for a standard Scientific Linix CERN 6 installation: | The basic installation instructions are here for a standard Scientific Linix CERN 6 installation: | ||
- | ==== Installing on Cooley@ALCF ==== | + | ===== Installing on Cooley@ALCF |
- | | + | |
- | | + | ==== Setup ==== |
+ | | ||
+ | | ||
* '' | * '' | ||
* '' | * '' | ||
Line 14: | Line 16: | ||
* '' | * '' | ||
* '' | * '' | ||
- | - Install Dependencies | + | ==== Install Dependencies |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | | + | === procmail |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * edit '' | + | * '' |
- | | + | * press enter when prompted |
- | * press enter when prompted | + | * this only compiles '' |
- | * this only compiles '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | === libxml2 === |
- | | + | * [[http:// |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | *'' | + | *'' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | | + | === libxslt === |
- | * '' | + | * [[http:// |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | | + | * you may need to manually copy ./ |
- | * '' | + | |
- | * '' | + | === export environment |
- | | + | * '' |
- | * '' | + | * '' |
- | * '' | + | ==== LCGCMake ==== |
- | * '' | + | === Get LCGCMake repository |
- | * '' | + | * '' |
- | * Edit '' | + | * '' |
- | * You have to force cmake to identify your machine as slc6 because some of the tarballs live on a webserver with '' | + | * '' |
+ | * '' | ||
+ | |||
+ | === Before you build === | ||
+ | * The bits below are summarized in this patch file [[hpc: | ||
+ | | ||
+ | * You have to force cmake to identify your machine as slc6 because some of the tarballs live on a webserver with '' | ||
execute_process(COMMAND cat / | execute_process(COMMAND cat / | ||
if(os_release MATCHES " | if(os_release MATCHES " | ||
Line 74: | Line 82: | ||
endif() | endif() | ||
endif()</ | endif()</ | ||
- | | + | |
- | * Edit '' | + | * Edit '' |
# | # | ||
LCGPackage_Add( | LCGPackage_Add( | ||
Line 105: | Line 113: | ||
DEPENDS Boost | DEPENDS Boost | ||
)</ | )</ | ||
- | | + | |
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | ||
- | | + | |
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | ||
- | | + | |
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} | -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} | ||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ | ||
- | - Now build LCG | + | |
- | * '' | + | -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}</ |
- | * '' | + | * Edit '' |
- | - Dealing | + | * Edit '' |
- | * After the '' | + | set(hepmc3_source_command GIT_REPOSITORY http:// |
- | * After '' | + | set(hepmc3_source_command GIT_REPOSITORY http:// |
- | * After ROOT 6 downloads and fails the build, you can make the following edits to fix the ODBC files. Add to the files '' | + | |
- | | + | === Building |
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | === When Build Fails === | ||
+ | When a build fails, look at this list for fixes, fix, then continue | ||
+ | * After the '' | ||
+ | | ||
+ | | ||
+ | * After ROOT 6 downloads and fails the build, you can make the following edits to fix the ODBC files. Add to the files '' | ||
+ | |||
+ | |||
+ | | ||
# | # | ||
soft add +cmake | soft add +cmake | ||
soft add +gcc-4.8.1 | soft add +gcc-4.8.1 |
hpc/lcgcmake.1440166888.txt.gz · Last modified: 2015/08/21 14:21 by jchilders