hpc:sherpa
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hpc:sherpa [2016/03/10 15:45] – [Compiling on Mira@ALCF] jchilders | hpc:sherpa [2017/01/17 15:21] (current) – jchilders | ||
---|---|---|---|
Line 25: | Line 25: | ||
* Runtime Errors and Possible Meanings: | * Runtime Errors and Possible Meanings: | ||
* ' | * ' | ||
+ | * ' | ||
===== Compilation and Installation at Edison@NERSC ===== | ===== Compilation and Installation at Edison@NERSC ===== | ||
Line 180: | Line 181: | ||
make -j 20 install</ | make -j 20 install</ | ||
* Hopefully, now everything is working. | * Hopefully, now everything is working. | ||
- | + | * You may need to copy the HepMC and sqlite3 libraries to the installed sherpa library directory. | |
+ | * I have run into these problems in the past: | ||
+ | * <WRAP prewrap> <code make> / | ||
+ | / | ||
+ | / | ||
+ | / | ||
===== Compiling on Vesta@ALCF ===== | ===== Compiling on Vesta@ALCF ===== | ||
Line 446: | Line 451: | ||
./scons -j 10 | ./scons -j 10 | ||
./scons auto=all/ -j 15</ | ./scons auto=all/ -j 15</ | ||
+ | |||
+ | On Mira/ | ||
+ | * <code bash> | ||
+ | soft add +mpiwrapper-gcc | ||
+ | soft add +python2.7.9</ | ||
+ | * Checkout from ATLAS: <code bash> svn co --username atlas https:// | ||
+ | * '' | ||
+ | * <code bash>cd atlas_ol</ | ||
+ | * Make these changes:< | ||
+ | =================================================================== | ||
+ | --- pyol/ | ||
+ | +++ pyol/ | ||
+ | @@ -8,8 +8,8 @@ | ||
+ | |||
+ | | ||
+ | |||
+ | -supported_compilers = gfortran ifort | ||
+ | -fortran_compiler = gfortran | ||
+ | +supported_compilers = gfortran ifort mpif90 | ||
+ | +fortran_compiler = mpif90 | ||
+ | | ||
+ | cc = gcc | ||
+ | cxx = g++ | ||
+ | Index: lib_src/ | ||
+ | =================================================================== | ||
+ | --- lib_src/ | ||
+ | +++ lib_src/ | ||
+ | @@ -18,6 +18,7 @@ | ||
+ | |||
+ | |||
+ | | ||
+ | + use ISO_FORTRAN_ENV | ||
+ | | ||
+ | |||
+ | | ||
+ | @@ -35,7 +36,8 @@ | ||
+ | | ||
+ | # | ||
+ | ! #ifdef USE_qp | ||
+ | - integer, parameter :: qp = selected_real_kind(33) | ||
+ | +! integer, parameter :: qp = selected_real_kind(33) | ||
+ | + integer, parameter :: qp = REAL128 | ||
+ | | ||
+ | ! #endif | ||
+ | |||
+ | Index: lib_src/ | ||
+ | =================================================================== | ||
+ | --- lib_src/ | ||
+ | +++ lib_src/ | ||
+ | @@ -1108,7 +1108,7 @@ | ||
+ | if (index(trim(infofilename)," | ||
+ | cycle | ||
+ | else | ||
+ | - infofilename = trim(install_path) // "/ | ||
+ | + infofilename = trim(install_path) // "/ | ||
+ | end if | ||
+ | |||
+ | | ||
+ | </ | ||
+ | * To build: <code bash> | ||
+ | * To download and build all processes: <code bash> | ||
+ | |||
+ | |||
Setup: | Setup: |
hpc/sherpa.1457624712.txt.gz · Last modified: 2016/03/10 15:45 by jchilders