all buildblocks moved one level up
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
module use unstable
|
||||
|
||||
# add -fopenmp to CC and CXX, if you want to compile with OpenMP
|
||||
pbuild::configure() {
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DENABLE_SAAMG_SOLVER=TRUE \
|
||||
"${MODULE_SRCDIR}"
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'MPI'
|
||||
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
|
||||
pbuild::set_build_dependencies 'cmake' "${COMPILER}" "${MPI}" 'boost' 'hdf5' 'H5hut' 'trilinos' 'ippl' 'gsl'
|
||||
pbuild::set_supported_compilers 'gcc/4.7' 'gcc/4.8'
|
||||
pbuild::make_all
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
#%Module1.0
|
||||
|
||||
# OPAL_PREFIX is also used by OpenMPI!
|
||||
set dont-setenv { OPAL_PREFIX }
|
||||
|
||||
set whatis "Object Oriented Particle Accelerator Library"
|
||||
set url "http://amas.psi.ch/OPAL"
|
||||
set license "PSI"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
OPAL is a C++ framework for general particle accelerator simulations. It
|
||||
includes various beam line element descriptions and methods for single
|
||||
particle optics, namely maps up to arbitrary order, symplectic integration
|
||||
schemes and lastly time integration. OPAL is based on IPPL (Independent
|
||||
Parallel Particle Layer) which adds parallel capabilities. Main functions
|
||||
inherited from IPPL are: structured rectangular grids, fields and parallel
|
||||
FFT and particles with the respective interpolation operators. Other
|
||||
features are, expression templates and massive parallelism (up to 65000
|
||||
processors) which makes is possible to tackle the largest problems in the
|
||||
field. A new iterative solver handles arbitrary complex boundary conditions
|
||||
and benefiting from the new geometry class.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
setenv OPAL_EXE_PATH "${PREFIX}/bin"
|
||||
|
||||
set-family OPAL
|
||||
@@ -0,0 +1,9 @@
|
||||
gcc/4.8.3
|
||||
openmpi/1.8.2
|
||||
ippl/1.1.4
|
||||
hdf5/1.8.12
|
||||
H5hut/1.99.13
|
||||
trilinos/11.10.2
|
||||
boost/1.55.0
|
||||
gsl/1.15
|
||||
root/5.34.19
|
||||
Reference in New Issue
Block a user