conflict in trilinos/build resolved
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
OPAL/1.6.0rc1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.1 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.0rc2 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.1 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
|
||||
OPAL/1.6.0rc3 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.0rc4 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.0rc5 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.0rc6 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.0 stable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
OPAL/1.6.1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 dks/1.1.2 b:cmake/3.6.3 b:OpenBLAS/0.2.19
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL='http://amas.web.psi.ch/Downloads/OPAL/OPAL-1.6.0rc6.tar.bz2'
|
||||
|
||||
config_args=()
|
||||
|
||||
case ${OS} in
|
||||
@@ -15,7 +17,7 @@ esac
|
||||
pbuild::configure() {
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_SAAMG_SOLVER=TRUE \
|
||||
"${config_args[@]}" \
|
||||
"${MODULE_SRCDIR}"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#%Module1.0
|
||||
|
||||
# OPAL_PREFIX is also used by OpenMPI!
|
||||
module-dont-setenv { OPAL_PREFIX }
|
||||
set dont-setenv { OPAL_PREFIX }
|
||||
|
||||
module-whatis "Object Oriented Particle Accelerator Library"
|
||||
module-url "http://amas.psi.ch/OPAL"
|
||||
|
||||
@@ -4,3 +4,4 @@ dks/1.0.1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6
|
||||
dks/1.0.2 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
|
||||
dks/1.1.0 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
|
||||
dks/1.1.1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
|
||||
dks/1.1.2 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
|
||||
|
||||
@@ -6,6 +6,13 @@ conf=()
|
||||
if (( ${vers[0]} >= 1 && ${vers[1]} >= 1 )); then
|
||||
conf+=("-DDKS_FULL=ON")
|
||||
fi
|
||||
if (( ${vers[0]} >= 1 && ${vers[1]} >= 1 && ${vers[2]} >= 2 )); then
|
||||
# if we want to link OPAL with static cuda libraries, we
|
||||
# cannot use DKS_FULL=ON. This must be fixed in DKS.
|
||||
conf=()
|
||||
conf+=("-DENABLE_OPAL=ON")
|
||||
conf+=("-DSTATIC_CUDA=1")
|
||||
fi
|
||||
|
||||
pbuild::configure() {
|
||||
export CXX=mpicxx
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "an accelerator modeling code th"
|
||||
module-url "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/elegant.html"
|
||||
module-license "See: http://www.aps.anl.gov/epics/license/index.php"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
elegant is an accelerator modeling code that performs many functions. Its
|
||||
basic function is 6D tracking, which it performs using matrices (up to
|
||||
second order), symplectic integration, numerical integration, or a user-
|
||||
defined mixture. It computes Twiss parameters, transport matrices, radiation
|
||||
integrals, correction matrices, amplification factors, and floor coordinates.
|
||||
It also performs optimization, including optimization of radiation integrals,
|
||||
floor coordinates, transport matrices, and beam properties from tracking. A
|
||||
number of time-dependent elements are supported, such as rf cavities, kickers,
|
||||
and ramping machines. The code provides simulation of various collective
|
||||
effects, such as wakes and coherent synchrotron radiation.
|
||||
"
|
||||
|
||||
setenv RPN_DEFNS $PREFIX/RPN-DEFNS
|
||||
setenv HOST_ARCH linux-x86_64
|
||||
setenv EPICS_HOST_ARCH linux-x86_64
|
||||
@@ -0,0 +1 @@
|
||||
gromacs/2016.4 unstable gcc/5.4.0 openmpi/1.10.4 b:cmake/3.6.3
|
||||
@@ -0,0 +1 @@
|
||||
gromacs/4.6.7 unstable gcc/4.8.4 openmpi/1.8.4
|
||||
@@ -0,0 +1,3 @@
|
||||
gromacs/5.0.4 unstable gcc/4.8.4 openmpi/1.8.4
|
||||
gromacs/5.0.5 unstable gcc/4.9.2 openmpi/1.8.4
|
||||
gromacs/5.1.2 unstable gcc/4.9.3 openmpi/1.10.0
|
||||
+3
-3
@@ -1,20 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="http://ftp.gromacs.org/pub/$P/$P-$V.tar.gz"
|
||||
|
||||
pbuild::configure() {
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DGMX_MPI=on \
|
||||
-DGMX_GPU=off \
|
||||
-DGMX_SIMD=SSE2 \
|
||||
-DGMX_BUILD_OWN_FFTW=on \
|
||||
"${MODULE_SRCDIR}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
|
||||
pbuild::add_to_group 'MPI'
|
||||
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
|
||||
pbuild::set_build_dependencies "${COMPILER}" "${MPI}" cmake
|
||||
pbuild::set_docfiles \
|
||||
AUTHORS \
|
||||
COPYING \
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
lammps/2017.8 unstable gcc/5.4.0 openmpi/1.10.4
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="lammps-2017.8.tar.gz"
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::configure() {
|
||||
cp -v "${BUILD_BLOCK_DIR}/files/Makefile.PSI" "${MODULE_BUILDDIR}/src/MAKE/MINE"
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
make -C src PSI
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
install -m 0755 -d "${PREFIX}/bin"
|
||||
install -m 0755 "${MODULE_BUILDDIR}/src/lmp_PSI" "${PREFIX}/bin/lmp_omp"
|
||||
strip "${PREFIX}/bin/lmp_omp"
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'MPI'
|
||||
pbuild::set_docfiles \
|
||||
LICENSE \
|
||||
README
|
||||
pbuild::make_all
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
# omp = USER-OMP package, MPI with its default compiler
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# compiler/linker settings
|
||||
# specify flags and libraries needed for your compiler
|
||||
|
||||
CC = mpicxx
|
||||
CCFLAGS = -g -O3 -fopenmp
|
||||
SHFLAGS = -fPIC
|
||||
DEPFLAGS = -M
|
||||
|
||||
LINK = mpicxx
|
||||
LINKFLAGS = -g -O -fopenmp
|
||||
LIB =
|
||||
SIZE = size
|
||||
|
||||
ARCHIVE = ar
|
||||
ARFLAGS = -rc
|
||||
SHLIBFLAGS = -shared
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# LAMMPS-specific settings, all OPTIONAL
|
||||
# specify settings for LAMMPS features you will use
|
||||
# if you change any -D setting, do full re-compile after "make clean"
|
||||
|
||||
# LAMMPS ifdef settings
|
||||
# see possible settings in Section 2.2 (step 4) of manual
|
||||
|
||||
LMP_INC = -DLAMMPS_GZIP
|
||||
|
||||
# MPI library
|
||||
# see discussion in Section 2.2 (step 5) of manual
|
||||
# MPI wrapper compiler/linker can provide this info
|
||||
# can point to dummy MPI library in src/STUBS as in Makefile.serial
|
||||
# use -D MPICH and OMPI settings in INC to avoid C++ lib conflicts
|
||||
# INC = path for mpi.h, MPI compiler settings
|
||||
# PATH = path for MPI library
|
||||
# LIB = name of MPI library
|
||||
|
||||
MPI_INC = -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1
|
||||
MPI_PATH =
|
||||
MPI_LIB =
|
||||
|
||||
# FFT library
|
||||
# see discussion in Section 2.2 (step 6) of manual
|
||||
# can be left blank to use provided KISS FFT library
|
||||
# INC = -DFFT setting, e.g. -DFFT_FFTW, FFT compiler settings
|
||||
# PATH = path for FFT library
|
||||
# LIB = name of FFT library
|
||||
|
||||
FFT_INC =
|
||||
FFT_PATH =
|
||||
FFT_LIB =
|
||||
|
||||
# JPEG and/or PNG library
|
||||
# see discussion in Section 2.2 (step 7) of manual
|
||||
# only needed if -DLAMMPS_JPEG or -DLAMMPS_PNG listed with LMP_INC
|
||||
# INC = path(s) for jpeglib.h and/or png.h
|
||||
# PATH = path(s) for JPEG library and/or PNG library
|
||||
# LIB = name(s) of JPEG library and/or PNG library
|
||||
|
||||
JPG_INC =
|
||||
JPG_PATH =
|
||||
JPG_LIB =
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# build rules and dependencies
|
||||
# do not edit this section
|
||||
|
||||
include Makefile.package.settings
|
||||
include Makefile.package
|
||||
|
||||
EXTRA_INC = $(LMP_INC) $(PKG_INC) $(MPI_INC) $(FFT_INC) $(JPG_INC) $(PKG_SYSINC)
|
||||
EXTRA_PATH = $(PKG_PATH) $(MPI_PATH) $(FFT_PATH) $(JPG_PATH) $(PKG_SYSPATH)
|
||||
EXTRA_LIB = $(PKG_LIB) $(MPI_LIB) $(FFT_LIB) $(JPG_LIB) $(PKG_SYSLIB)
|
||||
EXTRA_CPP_DEPENDS = $(PKG_CPP_DEPENDS)
|
||||
EXTRA_LINK_DEPENDS = $(PKG_LINK_DEPENDS)
|
||||
|
||||
# Path to src files
|
||||
|
||||
vpath %.cpp ..
|
||||
vpath %.h ..
|
||||
|
||||
# Link target
|
||||
|
||||
$(EXE): $(OBJ) $(EXTRA_LINK_DEPENDS)
|
||||
$(LINK) $(LINKFLAGS) $(EXTRA_PATH) $(OBJ) $(EXTRA_LIB) $(LIB) -o $(EXE)
|
||||
$(SIZE) $(EXE)
|
||||
|
||||
# Library targets
|
||||
|
||||
lib: $(OBJ) $(EXTRA_LINK_DEPENDS)
|
||||
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
|
||||
|
||||
shlib: $(OBJ) $(EXTRA_LINK_DEPENDS)
|
||||
$(CC) $(CCFLAGS) $(SHFLAGS) $(SHLIBFLAGS) $(EXTRA_PATH) -o $(EXE) \
|
||||
$(OBJ) $(EXTRA_LIB) $(LIB)
|
||||
|
||||
# Compilation rules
|
||||
|
||||
%.o:%.cpp $(EXTRA_CPP_DEPENDS)
|
||||
$(CC) $(CCFLAGS) $(SHFLAGS) $(EXTRA_INC) -c $<
|
||||
|
||||
%.d:%.cpp $(EXTRA_CPP_DEPENDS)
|
||||
$(CC) $(CCFLAGS) $(EXTRA_INC) $(DEPFLAGS) $< > $@
|
||||
|
||||
%.o:%.cu $(EXTRA_CPP_DEPENDS)
|
||||
$(CC) $(CCFLAGS) $(SHFLAGS) $(EXTRA_INC) -c $<
|
||||
|
||||
# Individual dependencies
|
||||
|
||||
depend : fastdep.exe $(SRC)
|
||||
@./fastdep.exe $(EXTRA_INC) -- $^ > .depend || exit 1
|
||||
|
||||
fastdep.exe: ../DEPEND/fastdep.c
|
||||
cc -O -o $@ $<
|
||||
|
||||
sinclude .depend
|
||||
@@ -0,0 +1,23 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "an accelerator modeling code th"
|
||||
module-url "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/elegant.html"
|
||||
module-license "See: http://www.aps.anl.gov/epics/license/index.php"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
elegant is an accelerator modeling code that performs many functions. Its
|
||||
basic function is 6D tracking, which it performs using matrices (up to
|
||||
second order), symplectic integration, numerical integration, or a user-
|
||||
defined mixture. It computes Twiss parameters, transport matrices, radiation
|
||||
integrals, correction matrices, amplification factors, and floor coordinates.
|
||||
It also performs optimization, including optimization of radiation integrals,
|
||||
floor coordinates, transport matrices, and beam properties from tracking. A
|
||||
number of time-dependent elements are supported, such as rf cavities, kickers,
|
||||
and ramping machines. The code provides simulation of various collective
|
||||
effects, such as wakes and coherent synchrotron radiation.
|
||||
"
|
||||
|
||||
setenv RPN_DEFNS $PREFIX/RPN-DEFNS
|
||||
setenv HOST_ARCH linux-x86_64
|
||||
setenv EPICS_HOST_ARCH linux-x86_64
|
||||
@@ -1,3 +1,4 @@
|
||||
parmetis/4.0.3 stable gcc/4.8.2 openmpi/1.6.5 b:cmake/3.4.1
|
||||
parmetis/4.0.3 stable gcc/4.8.5 openmpi/1.10.2 b:cmake/3.4.1
|
||||
parmetis/4.0.3 stable gcc/4.9.4 openmpi/1.10.2 b:cmake/3.4.1
|
||||
parmetis/4.0.3 stable gcc/5.3.0 openmpi/1.10.2 b:cmake/3.4.1
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
trilinos/12.2.1 unstable gcc/4.8.2 openmpi/1.6.5 hdf5/1.8.12 b:cmake/3.6.3 b:OpenBLAS/0.2.9 b:parmetis/4.0.3
|
||||
|
||||
trilinos/12.8.1 stable gcc/4.8.5 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.8.1 stable gcc/4.9.4 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.8.1 stable gcc/5.4.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.8.1 stable gcc/6.2.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
|
||||
trilinos/12.10.1 unstable gcc/4.8.5 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 unstable gcc/4.9.4 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 unstable gcc/5.4.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 unstable gcc/6.2.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 stable gcc/4.8.5 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 stable gcc/4.9.4 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 stable gcc/5.4.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1 stable gcc/6.2.0 openmpi/1.10.4 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
|
||||
trilinos/12.10.1-1 unstable gcc/5.4.0 openmpi/1.10.4 hdf5/1.8.18 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1-2 unstable gcc/5.4.0 openmpi/1.10.4 hdf5/1.8.18 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
trilinos/12.10.1-1 unstable gcc/6.2.0 openmpi/1.10.4 hdf5/1.8.18 b:cmake/3.6.3 b:OpenBLAS/0.2.19 b:parmetis/4.0.3
|
||||
|
||||
+4
-6
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="http://trilinos.csbsju.edu/download/files/trilinos-$V-Source.tar.bz2"
|
||||
SOURCE_URL="http://trilinos.csbsju.edu/download/files/trilinos-${V_PKG}-Source.tar.bz2"
|
||||
|
||||
declare -rx AR=ar
|
||||
|
||||
@@ -27,10 +27,8 @@ pbuild::configure() {
|
||||
|
||||
PARMETIS_INCLUDE_DIRS=$PARMETIS_PREFIX/include
|
||||
PARMETIS_LIBRARIES=$PARMETIS_PREFIX/lib/libparmetis.a
|
||||
|
||||
METIS_INCLUDE_DIRS=$PARMETIS_PREFIX/include/metis
|
||||
METIS_LIBRARIES=$PARMETIS_PREFIX/lib/libmetis.a
|
||||
|
||||
METIS_INCLUDE_DIRS="${PARMETIS_PREFIX}/include/metis"
|
||||
METIS_LIBRARIES="${PARMETIS_PREFIX}/lib/libmetis.a"
|
||||
|
||||
cmake \
|
||||
-D CMAKE_BUILD_TYPE:STRING=Release \
|
||||
@@ -70,7 +68,7 @@ pbuild::configure() {
|
||||
"${MODULE_SRCDIR}" || exit 1
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'MPI'
|
||||
pbuild::add_to_group 'HDF5'
|
||||
pbuild::set_docfiles Copyright.txt LICENSE README RELEASE_NOTES
|
||||
pbuild::make_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user