User Tools

Site Tools


hpc:sherpa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpc:sherpa [2016/03/10 15:45]
jchilders [Compiling on Mira@ALCF]
hpc:sherpa [2017/01/17 15:21] (current)
jchilders
Line 25: Line 25:
   * Runtime Errors and Possible Meanings:   * Runtime Errors and Possible Meanings:
     * 'Couldn't find virtual ME for this process' -> look that it has the libSherpaOpenLoops.so and the proper openloops libraries.     * 'Couldn't find virtual ME for this process' -> look that it has the libSherpaOpenLoops.so and the proper openloops libraries.
 +    * 'Process not found' -> make sure Run.dat card is found, and if so, make sure Processes are defined in the card properly.
 ===== Compilation and Installation at Edison@NERSC ===== ===== Compilation and Installation at Edison@NERSC =====
  
Line 180: Line 181:
 make -j 20 install</code></WRAP> make -j 20 install</code></WRAP>
   * 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> /projects/EnergyFEC/anl/generators/sherpa/v220/rel-2-2-0_anl/SHERPA/PerturbativePhysics/.libs/libSherpaPerturbativePhysics.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' 
 +/projects/EnergyFEC/anl/generators/sherpa/v220/rel-2-2-0_anl/SHERPA/PerturbativePhysics/.libs/libSherpaPerturbativePhysics.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()' 
 +/projects/EnergyFEC/anl/generators/sherpa/v220/rel-2-2-0_anl/SHERPA/PerturbativePhysics/.libs/libSherpaPerturbativePhysics.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)' 
 +/projects/EnergyFEC/anl/generators/sherpa/v220/rel-2-2-0_anl/AHADIC++/Formation/.libs/libAhadicFormation.so: undefined reference to `std::__detail::_List_node_base::_M_reverse()' </code> </WRAP>
  
 ===== Compiling on Vesta@ALCF ===== ===== Compiling on Vesta@ALCF =====
Line 446: Line 451:
 ./scons -j 10 ./scons -j 10
 ./scons auto=all/ -j 15</code> ./scons auto=all/ -j 15</code>
 +
 +On Mira/Cetus@ALCF:
 +  * <code bash>soft add +bgqtoolchain-gcc484
 +soft add +mpiwrapper-gcc
 +soft add +python2.7.9</code>
 +  * Checkout from ATLAS: <code bash> svn co --username atlas https://openloops.hepforge.org/svn/OpenLoops/branches/public_collier atlas_ol</code>
 +    * ''pmg4711''
 +  * <code bash>cd atlas_ol</code>
 +  * Make these changes:<code diff>Index: pyol/config/default.cfg
 +===================================================================
 +--- pyol/config/default.cfg (revision 1831)
 ++++ pyol/config/default.cfg (working copy)
 +@@ -8,8 +8,8 @@
 +
 + [OpenLoops]
 +
 +-supported_compilers = gfortran ifort
 +-fortran_compiler = gfortran
 ++supported_compilers = gfortran ifort mpif90
 ++fortran_compiler = mpif90
 + fortran_tool = auto
 + cc = gcc
 + cxx = g++
 +Index: lib_src/olcommon/src/kind_types.F90
 +===================================================================
 +--- lib_src/olcommon/src/kind_types.F90 (revision 1831)
 ++++ lib_src/olcommon/src/kind_types.F90 (working copy)
 +@@ -18,6 +18,7 @@
 +
 +
 + module kind_types
 ++  use ISO_FORTRAN_ENV
 +   implicit none
 +
 +   integer, parameter :: intkind1 = selected_int_kind(2)
 +@@ -35,7 +36,8 @@
 +   complex(ep), parameter :: cI_ep = (0._ep, 1._ep)
 + #endif
 + ! #ifdef USE_qp
 +-  integer, parameter :: qp = selected_real_kind(33)
 ++!  integer, parameter :: qp = selected_real_kind(33)
 ++  integer, parameter :: qp = REAL128
 +   complex(qp), parameter :: cI_qp = (0._qp, 1._qp)
 + ! #endif
 +
 +Index: lib_src/openloops/src/ol_interface.F90
 +===================================================================
 +--- lib_src/openloops/src/ol_interface.F90 (revision 1831)
 ++++ lib_src/openloops/src/ol_interface.F90 (working copy)
 +@@ -1108,7 +1108,7 @@
 +       if (index(trim(infofilename),"."//trim(info_file_suffix)) == 0) then
 +         cycle
 +       else
 +-        infofilename = trim(install_path) // "/proclib/" // trim(infofilename)
 ++        infofilename = trim(install_path) // "/proclib/" // infofilename(2:len(infofilename))
 +       end if
 +
 +       inquire(gf_info, opened=iqopen)
 +</code>
 +  * To build: <code bash>./scons -j 20 </code>
 +  * To download and build all processes: <code bash>./scons proc=all/ -j 20</code>
 +
 +
  
 Setup: Setup:
hpc/sherpa.1457624712.txt.gz · Last modified: 2016/03/10 15:45 by jchilders