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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
hpc:sherpa [2015/07/10 14:55] – [Some Notes] jchildershpc:sherpa [2016/03/09 15:52] – [Compilation and Installation at Edison@NERSC] jchilders
Line 45: Line 45:
 === Compilation === === Compilation ===
  
-Unpack Sherpa tarball and enter sherpa main directory. Then comment out line 470 of the Makefile for Sherpa which has the word "Manual" on it. You can create a mostly-static or dynamic executable by using the '-static' and '--enable-static=yes', or '-dynamic' flags, respectively.+Unpack Sherpa tarball and enter sherpa main directory. After configure comment out line 470 of the Makefile for Sherpa which has the word "Manual" on it. You can create a mostly-static or dynamic executable by using the '-static' and '--enable-static=yes', or '-dynamic' flags, respectively.
 Then run: Then run:
 <WRAP prewrap> <WRAP prewrap>
 <code bash> <code bash>
-mkdir install +./configure --enable-mpi --enable-gzip --with-sqlite3=/usr --enable-hepmc2=</path/to/hepmc2> --enable-openloops=</path/to/openloops> --prefix=$PWD/install CC=cc CXX=CC FC='ftn -fPIC -funderscoring'
-./configure --enable-mpi --enable-gzip --with-sqlite3=/global/project/projectdirs/m2015/generators/sherpa/v211/sherpa-02-01-00/sqlite-autoconf-3080200/install --enable-hepmc2=/global/project/projectdirs/m2015/tools/HepMC-2.06.08/install --enable-openloops=/project/projectdirs/m2015/olo/mpi CC=cc CXX=CC FC='ftn -fPIC -funderscoring' LDFLAGS=-dynamic --prefix=$PWD/install+
 make -j 10 make -j 10
 make install make install
Line 127: Line 126:
   * Once complete, exit the interactive session and run ''./makelibs''   * Once complete, exit the interactive session and run ''./makelibs''
  
-===== Compilation and Installation at Tukey@ALCF ===== +===== Compilation and Installation at Cooley@ALCF ===== 
 +  * ''soft add +mvapich2'' 
 +  * ''soft add +gcc-4.8.1''
   * Unpack tarball and enter main sherpa directory.<WRAP prewrap><code bash>   * Unpack tarball and enter main sherpa directory.<WRAP prewrap><code bash>
 mkdir install mkdir install
-./configure  --enable-gzip --enable-openloops=</path/to/OpenLoops>  --enable-hepmc2=</path/to/HepMC--with-sqlite3=install --enable-mpi --enable-static=yes --prefix=$PWD/install</code></WRAP>+./configure  --enable-gzip --enable-openloops=/projects/EnergyFEC/anl/cooley/tools/OpenLoops-r1354 --enable-hepmc2=/projects/EnergyFEC/anl/cooley/tools/HepMC-2.06.09/install --with-sqlite3=/projects/EnergyFEC/anl/cooley/tools/sqlite-autoconf-3080200/install --enable-mpi --enable-static=yes --prefix=$PWD/install</code></WRAP>
   * In the ''Makefile'' remove line 472 because tukey doesn't have the 'texi2html' app installed needed to compile the manual.<code make>   * In the ''Makefile'' remove line 472 because tukey doesn't have the 'texi2html' app installed needed to compile the manual.<code make>
 SUBDIRS = \ SUBDIRS = \
Line 166: Line 166:
 export PATH=$PATH:$PWD/install/bin export PATH=$PATH:$PWD/install/bin
 </code> </code>
 +===== Compiling on Mira@ALCF =====
 +
 +  * <WRAP prewrap> <code bash>soft add +mpiwrapper-gcc
 +svn export svn+ssh://atlas1.hep.anl.gov/users/svn/hpc/generators/sherpa/v211/bgq/tags/03-00-00 sherpa-03-00-00
 +cd sherpa-03-00-00
 +./configure --enable-mpi --with-pic --enable-gzip=/soft/libraries/alcf/current/gcc/ZLIB --enable-openloops=/projects/EnergyFEC/anl/ol-mpi --with-sqlite3=/projects/EnergyFEC/general_tools/sqlite-autoconf-3080200/install --enable-hepmc2=/projects/EnergyFEC/general_tools/HepMC-2.06.09/install --host=powerpc64-bgq-linux CC=mpicc CFLAGS=-g CPPFLAGS=-g CXXFLAGS=-g MPICXX=mpicxx CXX=mpicxx FC='mpif90 -fPIC -funderscoring' FCFLAGS=-g LDFLAGS=-dynamic --prefix=$PWD/install host_alias=powerpc64-bgq-linux
 +make -j 20 install</code></WRAP>
 +  * Hopefully, now everything is working.
 +
 +
  
 ===== Compiling on Vesta@ALCF ===== ===== Compiling on Vesta@ALCF =====
Line 172: Line 182:
 <code bash> <code bash>
 svn export svn+ssh://atlas1.hep.anl.gov/users/svn/hpc/generators/sherpa/v211/bgq/tags/02-01-00 sherpa-02-01-00 svn export svn+ssh://atlas1.hep.anl.gov/users/svn/hpc/generators/sherpa/v211/bgq/tags/02-01-00 sherpa-02-01-00
-./configure --host=ppc64 --with-sqlite3=install --enable-gzip=/soft/libraries/alcf/current/gcc/ZLIB --enable-openloops=/projects/ATLASQ/ol-mpi --enable-hepmc2=/home/projects/ATLASQ/tools/HepMC-2.06.08/install --enable-mpi --enable-shared=yes --prefix=$PWD/install --with-pic CC=mpicc CFLAGS=-pg LDFLAGS=-pg CPPFLAGS=-pg FC=mpif90 FCFLAGS=-pg MPICXX=mpicxx CXX=mpicxx CXXFLAGS=-pg+./configure --host=powerpc64-unknown-linux-gnu --with-sqlite3=install --enable-gzip=/soft/libraries/alcf/current/gcc/ZLIB --enable-openloops=/projects/ATLASQ/ol-mpi --enable-hepmc2=/home/projects/ATLASQ/tools/HepMC-2.06.08/install --enable-mpi --enable-shared=yes --prefix=$PWD/install --with-pic CC=mpicc CFLAGS=-pg LDFLAGS=-pg CPPFLAGS=-pg FC=mpif90 FCFLAGS=-pg MPICXX=mpicxx CXX=mpicxx CXXFLAGS=-pg
 </code></WRAP> </code></WRAP>
 This step will fail because it cannot compile sqlite3 without some help. So go in the sqlite3 directory and run the following. This step will fail because it cannot compile sqlite3 without some help. So go in the sqlite3 directory and run the following.
Line 415: Line 425:
 === Job Options for converting === === Job Options for converting ===
 ===== Installing OpenLoops ===== ===== Installing OpenLoops =====
-  - Setup:+ 
 + 
 +On Edison@NERSC: 
 +<code bash>module unload altd 
 +module unload darshan 
 +module unload PrgEnv-intel 
 +module load PrgEnv-gnu 
 +module unload cray-shmem 
 +module load scons 
 +module load mercurial 
 +module load cmake 
 +module load boost 
 +module load gsl 
 +./scons -j 10 
 +./scons auto=all/ -j 15</code> 
 + 
 +Setup:
     * On Tukey only <code bash>soft add +gcc-4.8.1</code>     * On Tukey only <code bash>soft add +gcc-4.8.1</code>
     * On SLC6 machine: scons needs gcc-4.6+ so use ATLAS compiler:     * On SLC6 machine: scons needs gcc-4.6+ so use ATLAS compiler:
hpc/sherpa.txt · Last modified: 2017/01/17 15:21 by jchilders