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 Both sides next revision
hpc:sherpa [2016/03/10 15:45]
jchilders [Compiling on Mira@ALCF]
hpc:sherpa [2016/03/10 19:51]
jchilders [Installing OpenLoops]
Line 446: Line 446:
 ./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.txt ยท Last modified: 2017/01/17 15:21 by jchilders