From: Uwe Köcher Date: Mon, 2 Nov 2015 09:34:11 +0000 (+0100) Subject: candi: removed support for FEniCS. X-Git-Tag: v0.8~8^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8aaa7ceebbfa38e2726c19a5fb272e5f5b1786b;p=candi.git candi: removed support for FEniCS. --- diff --git a/FEniCS/packages/FEniCS-prepare.package b/FEniCS/packages/FEniCS-prepare.package deleted file mode 100644 index e057278..0000000 --- a/FEniCS/packages/FEniCS-prepare.package +++ /dev/null @@ -1,25 +0,0 @@ -NAME=FEniCS_prepare -BUILDCHAIN=ignore - -package_specific_conf() { - # Generate FEniCS folders - mkdir -p ${INSTALL_PATH}/conf - mkdir -p ${INSTALL_PATH}/bin - mkdir -p ${INSTALL_PATH}/include - mkdir -p ${INSTALL_PATH}/lib - mkdir -p ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages - mkdir -p ${INSTALL_PATH}/share - export PATH=${INSTALL_PATH}/bin:${PATH} - export LD_LIBRARY_PATH=${INSTALL_PATH}/lib:${LD_LIBRARY_PATH} - export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib:${DYLD_LIBRARY_PATH} - export PYTHONPATH=${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages:${PYTHONPATH} - export PKG_CONFIG_PATH=${INSTALL_PATH}/lib/pkgconfig:${PKG_CONFIG_PATH} - - # Add some extra library paths for 64 bit machines - if [ "$ARCH" == "x86_64" ]; then - export LD_LIBRARY_PATH=${INSTALL_PATH}/lib64:${LD_LIBRARY_PATH} - export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib64:${DYLD_LIBRARY_PATH} - export PYTHONPATH=${INSTALL_PATH}/lib64/python${PYTHONVER}/site-packages:${PYTHONPATH} - fi -} - diff --git a/FEniCS/packages/FEniCS.package b/FEniCS/packages/FEniCS.package deleted file mode 100644 index e390512..0000000 --- a/FEniCS/packages/FEniCS.package +++ /dev/null @@ -1,90 +0,0 @@ -NAME=FEniCS -VERSION=1.4.0 -BUILDCHAIN=ignore - -MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/toolbox/${NAME} -CONFIG_FILE=${MODULEFILE_PATH}/${VERSION} -CURRENT_MODULES=$(echo ${LOADEDMODULES} | sed 's/:/\ /') - -# ********************************************************************************** -package_specific_conf() { - # Generate modulefile - - mkdir -p ${MODULEFILE_PATH} - rm -f $CONFIG_FILE - echo "#%Module 1.0 -# -# FEniCS module for use with 'environment-modules' package: -# - -conflict candi/toolbox - -module load ${CURRENT_MODULES} - -# Define prefix so PATH and MANPATH can be updated. -setenv INSTALL_PATH ${INSTALL_PATH} -prepend-path PATH ${INSTALL_PATH}/bin -prepend-path PYTHONPATH ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages -prepend-path PYTHONPATH ${INSTALL_PATH}/lib64/python${PYTHONVER}/site-packages -prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path DYLD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path PKG_CONFIG_PATH ${INSTALL_PATH}/lib/pkgconfig -prepend-path MANPATH ${INSTALL_PATH}/share/man -prepend-path CPLUS_INCLUDE_PATH ${INSTALL_PATH}/include -prepend-path CMAKE_PREFIX_PATH ${INSTALL_PATH} - -setenv BOOST_DIR ${INSTALL_PATH} -" >> $CONFIG_FILE - - echo - echo "${NAME} has now been installed in" - echo - cecho ${GOOD} " ${INSTALL_PATH}" - echo - echo "To update your environment variables, use the created modulefile:" - echo - cecho ${GOOD} " $CONFIG_FILE" - echo - - # Generate configuration file for building against FEniCS installation - - mkdir -p $INSTALL_PATH/share/fenics - CONFIG_FILE=$INSTALL_PATH/share/fenics/fenics.conf - rm -f $CONFIG_FILE - echo " -# Source this file to set up your environment for building against FEniCS - -# Standard paths -export INSTALL_PATH=${INSTALL_PATH} -export PATH=\$INSTALL_PATH/bin:\$PATH -export PYTHONPATH=\$INSTALL_PATH/lib/python${PYTHONVER}/site-packages:\$PYTHONPATH -export LD_LIBRARY_PATH=\$INSTALL_PATH/lib:\$LD_LIBRARY_PATH -export DYLD_LIBRARY_PATH=\$INSTALL_PATH/lib:\$DYLD_LIBRARY_PATH -export PKG_CONFIG_PATH=\$INSTALL_PATH/lib/pkgconfig:\$PKG_CONFIG_PATH -export MANPATH=\$INSTALL_PATH/share/man:\$MANPATH -export CPLUS_INCLUDE_PATH=\$INSTALL_PATH/include:\$CPLUS_INCLUDE_PATH -export CMAKE_PREFIX_PATH=\$INSTALL_PATH:\$CMAKE_PREFIX_PATH -" >> $CONFIG_FILE - - for PACKAGE in ${PACKAGES[@]} - do - case ${PACKAGE} in - *boost) echo " -export BOOST_DIR=\$INSTALL_PATH -" >> $CONFIG_FILE;; - *vtk | *vtkwithqt) echo " -# FIXME: This needs to be updated when the VTK version is changed -export LD_LIBRARY_PATH=\$INSTALL_PATH/lib/vtk-5.8:\$LD_LIBRARY_PATH -export DYLD_LIBRARY_PATH=\$INSTALL_PATH/lib/vtk-5.8:\$DYLD_LIBRARY_PATH -" >> $CONFIG_FILE;; - esac - done - - echo "To update your environment variables, run the following command:" - echo - cecho ${GOOD} " source $CONFIG_FILE" - echo - echo "For future reference, we recommend that you add this command to your" - echo "configuration (.bashrc, .profile or similar)." - echo -} diff --git a/FEniCS/packages/armadillo.package b/FEniCS/packages/armadillo.package deleted file mode 100644 index 4bb8419..0000000 --- a/FEniCS/packages/armadillo.package +++ /dev/null @@ -1,26 +0,0 @@ -NAME=armadillo-3.6.1 -SOURCE=http://downloads.sourceforge.net/arma/ -PACKING=.tar.gz -CHECKSUM=cf0e72fbd2ed07d9fbde01ec8feee953 -BUILDCHAIN=cmake - -CONFOPTS="-D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} - -D INSTALL_LIB_DIR:STRING=lib" - -if [ ! -z "${ATLAS_LIB_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -D LAPACK_LIBRARY:FILEPATH=${ATLAS_LIB_DIR}/liblapack.a - -D BLAS_LIBRARY:FILEPATH=${ATLAS_LIB_DIR}/libatlas.a" -fi - -package_specific_setup() { - # Apply patch to prevent Armadillo from picking up MKL - # when ATLAS_LIB_DIR is defined - if [ ! -z "${ATLAS_LIB_DIR}" ]; then - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/armadillo_no_mkl.patch || true - fi -} - -package_specific_register () { - export ARMADILLO_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/atlas.package b/FEniCS/packages/atlas.package deleted file mode 100644 index 552301e..0000000 --- a/FEniCS/packages/atlas.package +++ /dev/null @@ -1,70 +0,0 @@ -# ATLAS package. This package also provides LAPACK. - -NAME=atlas3.10.0-with-lapack-3.4.2 -SOURCE=http://fenicsproject.org/pub/software/contrib/ -PACKING=.tar.bz2 -BUILDCHAIN=custom -EXTRACTSTO=ATLAS - -package_specific_build () { - - # Try to change CPU frequency - if [ x$CPU_SCALING == "xyes" ]; then - - read -p "SCALING CPU" - - # Determine number of cores and frequency - CORES=`grep processor /proc/cpuinfo | sort | awk '{print $3}'` - NUM_CORES=`grep processor /proc/cpuinfo | sort | tail -1 | awk '{print $3}'` - MAX_FREQ=`cpufreq-info | grep limits | awk '{print $6$7}' | tail -1` - - echo - echo "It looks like your machine has $NUM_CORES cores and that the maximum" - echo "CPU frequency is $MAX_FREQ." - echo - - echo - echo "Adjusting CPU frequency and governor. Be patient, this may take some time." - for i in $CORES; do - echo "Adjusting frequency for core $i" - sudo cpufreq-set -c $i -u $MAX_FREQ - sudo cpufreq-selector -g performance -c $i - done - - fi - - # Create and enter build directory - mkdir -p build - cd build - - # Determine CPU frequency - CPU_MHZ=`cat /proc/cpuinfo | grep "cpu MHz" | awk '{print $4}' | cut -d'.' -f1 | tail -1` - - # Configure ATLAS - ../configure -b 64 -D c -DPentiumCPS=$CPU_MHZ --shared \ - --prefix=$INSTALL_PATH \ - --with-netlib-lapack-tarfile=../lapack-3.4.2.tgz - - # Build - make build - - # Check - make check - make ptcheck - make time - - # Install - make install -} - -package_specific_install () { - echo "Nothing to do here, install handled by ATLAS." -} - -package_specific_register () { - export ATLAS_DIR=${INSTALL_PATH} - export ATLAS_LIB_DIR=${INSTALL_PATH}/lib - - # This is important for building Trilinos - export BLAS_LIBRARY_NAMES="cblas f77blas atlas" -} diff --git a/FEniCS/packages/automake.package b/FEniCS/packages/automake.package deleted file mode 100644 index ef8ea0d..0000000 --- a/FEniCS/packages/automake.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.14 -NAME=automake-${VERSION} -SOURCE=http://ftp.gnu.org/gnu/automake/ -PACKING=.tar.gz -BUILDCHAIN=autotools -#EXTRACTSTO=Mesa-${VERSION} \ No newline at end of file diff --git a/FEniCS/packages/bazaar.package b/FEniCS/packages/bazaar.package deleted file mode 100644 index eb89de9..0000000 --- a/FEniCS/packages/bazaar.package +++ /dev/null @@ -1,5 +0,0 @@ -NAME=bzr-2.5.1 -SOURCE=http://launchpad.net/bzr/2.5/2.5.1/+download/ -PACKING=.tar.gz -CHECKSUM=ac5079858364a046071000d5cdccb67b -BUILDCHAIN=python diff --git a/FEniCS/packages/blas.package b/FEniCS/packages/blas.package deleted file mode 100644 index 9c22ba1..0000000 --- a/FEniCS/packages/blas.package +++ /dev/null @@ -1,21 +0,0 @@ -NAME=blas -SOURCE=http://netlib.org/blas/ -PACKING=.tgz -BUILDCHAIN=custom -EXTRACTSTO=BLAS - -package_specific_build () { - sed -i 's/gfortran/mpif90/g' make.inc - sed -i 's/-O3/-O3 -fPIC/g' make.inc - sed -i 's/blas$(PLAT).a/libblas.a/g' make.inc - make -j ${PROCS} -} - -package_specific_install () { - cp *.a ${INSTALL_PATH}/lib/ -} - -package_specific_register () { - export BLAS_DIR=${INSTALL_PATH} - export LAPACKANDBLAS_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/boost.package b/FEniCS/packages/boost.package deleted file mode 100644 index 025f136..0000000 --- a/FEniCS/packages/boost.package +++ /dev/null @@ -1,27 +0,0 @@ -NAME=boost_1_55_0 -SOURCE=http://downloads.sourceforge.net/boost/ -PACKING=.tar.bz2 -CHECKSUM=d6eef4b4cacb2183f2bf265a5a03a354 -BUILDCHAIN=custom - -if [ ! -z "${BZIP2_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -sNO_BZIP2=0 - -sBZIP2_BINARY=bz2 - -sBZIP2_INCLUDE=${BZIP2_DIR}/include - -sBZIP2_LIBPATH=${BZIP2_DIR}/lib" -fi - -package_specific_build () { - cp -rf ${UNPACK_PATH}/${NAME}/* . - ./bootstrap.sh --prefix=${INSTALL_PATH} - echo "using mpi ;" > user-config.jam - ./b2 -j ${PROCS} --user-config=user-config.jam --build-dir=candi_build_dir link=shared install ${CONFOPTS} -} - -package_specific_register () { - export BOOST_ROOT=${INSTALL_PATH} - export BOOST_INCLUDEDIR=${INSTALL_PATH}/include - export BOOST_LIBRARYDIR=${INSTALL_PATH}/lib - export BOOST_USE_MULTITHREADED=OFF -} diff --git a/FEniCS/packages/bzip2.package b/FEniCS/packages/bzip2.package deleted file mode 100644 index d939e16..0000000 --- a/FEniCS/packages/bzip2.package +++ /dev/null @@ -1,14 +0,0 @@ -NAME=bzip2-1.0.6 -SOURCE=http://bzip.org/1.0.6/ -PACKING=.tar.gz -BUILDCHAIN=custom - -package_specific_build () { - sed -i 's/^CFLAGS=-Wall/CFLAGS=-fPIC -Wall/g' Makefile - make - make install PREFIX=${INSTALL_PATH} -} - -package_specific_register () { - export BZIP2_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/cgal.package b/FEniCS/packages/cgal.package deleted file mode 100644 index 7a534f4..0000000 --- a/FEniCS/packages/cgal.package +++ /dev/null @@ -1,20 +0,0 @@ -NAME=CGAL-4.3 -SOURCE=http://fenicsproject.org/pub/software/contrib/ -PACKING=.tar.gz -CHECKSUM=3fa2d43adbf5c05d76c5ec01f5033cc9 -BUILDCHAIN=cmake - -CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release - -D BUILD_SHARED_LIBS:BOOL=ON - -D WITH_CGAL_Core:BOOL=OFF - -D WITH_CGAL_ImageIO:BOOL=OFF - -D WITH_CGAL_Qt3:BOOL=OFF - -D WITH_CGAL_Qt4:BOOL=OFF" - -if [ ! -z "${BOOST_USE_MULTITHREADED}" ]; then - CONFOPTS="${CONFOPTS} -D Boost_USE_MULTITHREADED:BOOL=${BOOST_USE_MULTITHREADED}" -fi - -package_specific_register () { - export CGAL_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/cln.package b/FEniCS/packages/cln.package deleted file mode 100644 index 11341ae..0000000 --- a/FEniCS/packages/cln.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=cln-1.3.2 -SOURCE=ftp://ftpthep.physik.uni-mainz.de/pub/gnu/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools diff --git a/FEniCS/packages/cmake.package b/FEniCS/packages/cmake.package deleted file mode 100644 index b2817ed..0000000 --- a/FEniCS/packages/cmake.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=cmake-2.8.12.1 -SOURCE=http://www.cmake.org/files/v2.8/ -PACKING=.tar.gz -BUILDCHAIN=autotools - -package_specific_setup () { - ./bootstrap --prefix=${INSTALL_PATH} - export CMAKE_LIBRARY_PATH=${INSTALL_PATH} -} diff --git a/FEniCS/packages/cppunit.package b/FEniCS/packages/cppunit.package deleted file mode 100644 index 909240c..0000000 --- a/FEniCS/packages/cppunit.package +++ /dev/null @@ -1,8 +0,0 @@ -NAME=cppunit-1.12.1 -SOURCE=http://downloads.sourceforge.net/cppunit/ -PACKING=.tar.gz -BUILDCHAIN=autotools - -package_specific_register () { - export CPPUNIT_DIR=${INSTALL_PATH} -} \ No newline at end of file diff --git a/FEniCS/packages/cusp.package b/FEniCS/packages/cusp.package deleted file mode 100644 index bb34b88..0000000 --- a/FEniCS/packages/cusp.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=cusp-v0.3.1 -SOURCE=http://cusp-library.googlecode.com/files/ -PACKING=.zip -BUILDCHAIN=custom -EXTRACTSTO=cusp - -package_specific_register () { - export CUSP_DIR=${DOWNLOAD_PATH} -} diff --git a/FEniCS/packages/cython.package b/FEniCS/packages/cython.package deleted file mode 100644 index b3ade83..0000000 --- a/FEniCS/packages/cython.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=0.19.2 -NAME=Cython-${VERSION} -SOURCE=http://cython.org/release/ -PACKING=.tar.gz -BUILDCHAIN=python diff --git a/FEniCS/packages/dolfin-adjoint.package b/FEniCS/packages/dolfin-adjoint.package deleted file mode 100644 index 1704c0f..0000000 --- a/FEniCS/packages/dolfin-adjoint.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=dolfin-adjoint -SOURCE=lp: -PACKING=bzr -BUILDCHAIN=python diff --git a/FEniCS/packages/dolfin-snapshot.package b/FEniCS/packages/dolfin-snapshot.package deleted file mode 100644 index 9215599..0000000 --- a/FEniCS/packages/dolfin-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=dolfin-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/dolfin/ -PACKING=.tar.gz diff --git a/FEniCS/packages/dolfin-stable.package b/FEniCS/packages/dolfin-stable.package deleted file mode 100644 index 8f728ea..0000000 --- a/FEniCS/packages/dolfin-stable.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.4.0 -NAME=dolfin-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/dolfin/downloads/ -PACKING=.tar.gz -CHECKSUM=b736119d524590b6bd0484f09893e018 - diff --git a/FEniCS/packages/dolfin.package b/FEniCS/packages/dolfin.package deleted file mode 100644 index 1fd4c39..0000000 --- a/FEniCS/packages/dolfin.package +++ /dev/null @@ -1,42 +0,0 @@ -NAME=dolfin -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=cmake - -CONFOPTS="-DCGAL_DISABLE_ROUNDING_MATH_CHECK:BOOL=ON" - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi - -if [ ! -z "${PYTHON_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}" -fi - -if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}" -fi - -if [ ! -z "${PYTHON_LIBRARY}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}" -fi - -if [ ! -z "${BOOST_USE_MULTITHREADED}" ]; then - CONFOPTS="${CONFOPTS} -D Boost_USE_MULTITHREADED:BOOL=${BOOST_USE_MULTITHREADED}" -fi - -if [ ! -z "${BLAS_LIBRARIES}" ]; then - CONFOPTS="${CONFOPTS} -D BLAS_LIBRARIES:FILEPATH=\"${BLAS_LIBRARIES}\"" -fi - -if [ ! -z "${ATLAS_LIB_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -D LAPACK_LIBRARIES=${ATLAS_LIB_DIR}/liblapack.a - -D BLAS_LIBRARIES=\"${ATLAS_LIB_DIR}/libcblas.a;${ATLAS_LIB_DIR}/libf77blas.a;${ATLAS_LIB_DIR}/libatlas.a\"" -fi - -if [ ! -z "${HDF5_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -D HDF5_INCLUDE_DIRS=${HDF5_DIR}/include" -fi - diff --git a/FEniCS/packages/dolfin_intel.package b/FEniCS/packages/dolfin_intel.package deleted file mode 100644 index 3869035..0000000 --- a/FEniCS/packages/dolfin_intel.package +++ /dev/null @@ -1,30 +0,0 @@ -VERSION=1.0-beta -NAME=dolfin-${VERSION} -SOURCE=http://launchpad.net/dolfin/trunk/${VERSION}/+download/ -PACKING=.tar.gz -BUILDCHAIN=cmake - -# Dolfin is compiled with GNU compiler because the Intel compiler used does not support -# the "tuple" template and it cannot read the boost headers properly. - -# Compiler flags are added to ensure proper linking to Intel MKL -COMPILERFLAGS="'-fPIC -DMPICH_IGNORE_CXX_SEEK -m64 -DMKL_ILP64 -lpthread -lmkl_rt -lifcore -lsvml'" - -CONFOPTS="-DCMAKE_SKIP_RPATH:BOOL=ON - -DCGAL_DISABLE_ROUNDING_MATH_CHECK:BOOL=ON - -D CMAKE_CXX_FLAGS:STRING=${COMPILERFLAGS} - -D CMAKE_C_FLAGS:STRING=${COMPILERFLAGS}" - -package_specific_setup () { -# The CMake Armadillo does not pass because it does not pass the correct linking options. -# The patch basically make the test pass all the time. - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/dolfin-armadillo-test.patch || true -# Intel compiler cannot find iostream. Maybe because it is not in the intel mpi.h. - find . -name "*.cpp" | xargs sed -i -e 's,#include ,#include \n#include ,g' -# Link to intel MKL BLAS - export BLAS_DIR=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -} - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi diff --git a/FEniCS/packages/dri2proto.package b/FEniCS/packages/dri2proto.package deleted file mode 100644 index 25c1a78..0000000 --- a/FEniCS/packages/dri2proto.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=2.8 -NAME=dri2proto-${VERSION} -SOURCE=http://ftp.x.org/pub/individual/proto/ -PACKING=.tar.gz -BUILDCHAIN=autotools \ No newline at end of file diff --git a/FEniCS/packages/eigen.package b/FEniCS/packages/eigen.package deleted file mode 100644 index 5dfa917..0000000 --- a/FEniCS/packages/eigen.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=eigen3_3.2.0 -SOURCE=http://fenicsproject.org/pub/software/contrib/ -PACKING=.tar.bz2 -BUILDCHAIN=cmake -EXTRACTSTO=eigen-eigen-ffa86ffb5570 - -package_specific_register () { - export EIGEN_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/ferari-snapshot.package b/FEniCS/packages/ferari-snapshot.package deleted file mode 100644 index 279e8a0..0000000 --- a/FEniCS/packages/ferari-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=ferari-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/ferari/ -PACKING=.tar.gz diff --git a/FEniCS/packages/ferari-stable.package b/FEniCS/packages/ferari-stable.package deleted file mode 100644 index fca36d5..0000000 --- a/FEniCS/packages/ferari-stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.0.0 -NAME=ferari-${VERSION} -SOURCE=http://launchpad.net/ferari/trunk/${VERSION}/+download/ -PACKING=.tar.gz -CHECKSUM=e41ed02517f0e8832f27d24e7755c0e2 diff --git a/FEniCS/packages/ferari.package b/FEniCS/packages/ferari.package deleted file mode 100644 index 7df52f1..0000000 --- a/FEniCS/packages/ferari.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=ferari -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/ffc-snapshot.package b/FEniCS/packages/ffc-snapshot.package deleted file mode 100644 index f24f5d9..0000000 --- a/FEniCS/packages/ffc-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=ffc-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/ffc/ -PACKING=.tar.gz diff --git a/FEniCS/packages/ffc-stable.package b/FEniCS/packages/ffc-stable.package deleted file mode 100644 index 69fc078..0000000 --- a/FEniCS/packages/ffc-stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.4.0 -NAME=ffc-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/ffc/downloads/ -PACKING=.tar.gz -CHECKSUM=cac802fbbf869911fdd82b72c51a7771 diff --git a/FEniCS/packages/ffc.package b/FEniCS/packages/ffc.package deleted file mode 100644 index 9d4fd69..0000000 --- a/FEniCS/packages/ffc.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=ffc -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/ffc_stable.package b/FEniCS/packages/ffc_stable.package deleted file mode 100644 index 8f7ff6d..0000000 --- a/FEniCS/packages/ffc_stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.3.0 -NAME=ffc-${VERSION} -SOURCE=http://launchpad.net/ffc/1.3.x/${VERSION}/+download/ -PACKING=.tar.gz -BUILDCHAIN=python diff --git a/FEniCS/packages/fiat-snapshot.package b/FEniCS/packages/fiat-snapshot.package deleted file mode 100644 index 7bc5383..0000000 --- a/FEniCS/packages/fiat-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=fiat-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/fiat/ -PACKING=.tar.gz diff --git a/FEniCS/packages/fiat-stable.package b/FEniCS/packages/fiat-stable.package deleted file mode 100644 index 46249a8..0000000 --- a/FEniCS/packages/fiat-stable.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.4.0 -NAME=fiat-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/fiat/downloads/ -PACKING=.tar.gz -CHECKSUM=da9c38cf394594091ec4ac2ff652e170 - diff --git a/FEniCS/packages/fiat.package b/FEniCS/packages/fiat.package deleted file mode 100644 index e279ab4..0000000 --- a/FEniCS/packages/fiat.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=fiat -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/gccxml.package b/FEniCS/packages/gccxml.package deleted file mode 100644 index aebbeff..0000000 --- a/FEniCS/packages/gccxml.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=gccxml -SOURCE=https://github.com/gccxml/ -PACKING=git -BUILDCHAIN=cmake diff --git a/FEniCS/packages/ginac.package b/FEniCS/packages/ginac.package deleted file mode 100644 index 854035f..0000000 --- a/FEniCS/packages/ginac.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=ginac-1.6.1 -SOURCE=ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools diff --git a/FEniCS/packages/git.package b/FEniCS/packages/git.package deleted file mode 100644 index bf0ae39..0000000 --- a/FEniCS/packages/git.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.8.0.2 -NAME=git-${VERSION} -SOURCE=http://git-core.googlecode.com/files/ -PACKING=.tar.gz -BUILDCHAIN=autotools -TARGETS=('' 'install prefix=${INSTALL_PATH}') diff --git a/FEniCS/packages/glib2.package b/FEniCS/packages/glib2.package deleted file mode 100644 index e051b33..0000000 --- a/FEniCS/packages/glib2.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=glib-2.32.3 -SOURCE=http://ftp.gnome.org/pub/GNOME/sources/glib/2.32/ -PACKING=.tar.xz -BUILDCHAIN=autotools diff --git a/FEniCS/packages/glproto.package b/FEniCS/packages/glproto.package deleted file mode 100644 index e45669c..0000000 --- a/FEniCS/packages/glproto.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.4.17 -NAME=glproto-${VERSION} -SOURCE=http://ftp.x.org/pub/individual/proto/ -PACKING=.tar.gz -BUILDCHAIN=autotools \ No newline at end of file diff --git a/FEniCS/packages/gmp.package b/FEniCS/packages/gmp.package deleted file mode 100644 index 56914a8..0000000 --- a/FEniCS/packages/gmp.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=gmp-5.0.5 -SOURCE=ftp://ftp.gnu.org/gnu/gmp/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools -CONFOPTS="--enable-cxx" - -package_specific_register () { - export GMP_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/gtest.package b/FEniCS/packages/gtest.package deleted file mode 100644 index b48c392..0000000 --- a/FEniCS/packages/gtest.package +++ /dev/null @@ -1,20 +0,0 @@ -NAME=gtest-1.6.0 -SOURCE=http://googletest.googlecode.com/files/ -PACKING=.zip -BUILDCHAIN=custom - -package_specific_build () { - mkdir -p build - cd build - cmake -DBUILD_SHARED_LIBS:BOOL=ON .. - make -} - -package_specific_install () { - cp -rf include/gtest ${INSTALL_PATH}/include/ - cp -f build/libgtest*.* ${INSTALL_PATH}/lib/ -} - -package_specific_register () { - export GTEST_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/h5py.package b/FEniCS/packages/h5py.package deleted file mode 100644 index 601826c..0000000 --- a/FEniCS/packages/h5py.package +++ /dev/null @@ -1,13 +0,0 @@ -VERSION=2.2.0 -NAME=h5py-${VERSION} -SOURCE=http://h5py.googlecode.com/files/ -PACKING=.tar.gz -BUILDCHAIN=custom - -package_specific_build () { - if [ ! -z "${HDF5_DIR}" ]; then - python setup.py build --hdf5=${HDF5_DIR} --mpi=yes - fi - - python setup.py install --prefix=${INSTALL_PATH} -} diff --git a/FEniCS/packages/hdf5.package b/FEniCS/packages/hdf5.package deleted file mode 100644 index e72daa5..0000000 --- a/FEniCS/packages/hdf5.package +++ /dev/null @@ -1,21 +0,0 @@ -VERSION=1.8.12 -NAME=hdf5-${VERSION} -SOURCE=http://www.hdfgroup.org/ftp/HDF5/releases/${NAME}/src/ -PACKING=.tar.gz -CHECKSUM=d804802feb99b87fc668a90e6fa34411 -BUILDCHAIN=autotools - -CONFOPTS="--with-pthread - --enable-unsupported - --enable-shared - --enable-production=yes - --enable-parallel=yes - --enable-largefile=yes - --with-default-api-version=v18" - -# --disable-sharedlib-rpath - -package_specific_register () { - export HDF5_DIR=${INSTALL_PATH} -} - diff --git a/FEniCS/packages/instant-snapshot.package b/FEniCS/packages/instant-snapshot.package deleted file mode 100644 index f0fa964..0000000 --- a/FEniCS/packages/instant-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=instant-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/instant/ -PACKING=.tar.gz diff --git a/FEniCS/packages/instant-stable.package b/FEniCS/packages/instant-stable.package deleted file mode 100644 index 8096741..0000000 --- a/FEniCS/packages/instant-stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.4.0 -NAME=instant-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/instant/downloads/ -PACKING=.tar.gz -CHECKSUM=e6fa58eb5df4401aac8542110dc1d220 diff --git a/FEniCS/packages/instant.package b/FEniCS/packages/instant.package deleted file mode 100644 index 4596048..0000000 --- a/FEniCS/packages/instant.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=instant -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/ipython.package b/FEniCS/packages/ipython.package deleted file mode 100644 index 5a0ddd8..0000000 --- a/FEniCS/packages/ipython.package +++ /dev/null @@ -1,7 +0,0 @@ -VERSION=2.1.0 -NAME=ipython-${VERSION} -SOURCE=https://github.com/ipython/ipython/releases/download/rel-${VERSION}/ -PACKING=.tar.gz -CHECKSUM=785c7b6364c6a0dd34aa4ea970cf83b9 -BUILDCHAIN=python - diff --git a/FEniCS/packages/lapack.package b/FEniCS/packages/lapack.package deleted file mode 100644 index 304740c..0000000 --- a/FEniCS/packages/lapack.package +++ /dev/null @@ -1,23 +0,0 @@ -VERSION=3.3.1 -NAME=lapack-${VERSION} -SOURCE=http://www.netlib.org/lapack/ -PACKING=.tgz -BUILDCHAIN=custom - -package_specific_build () { - cp make.inc.example make.inc - sed -i 's/gfortran/mpif90 -O3 -fPIC/g' make.inc - sed -i 's/lapack$(PLAT).a/liblapack.a/g' make.inc - sed -i 's/tmglib$(PLAT).a/libtmglib.a/g' make.inc - sed -i 's,../../blas$(PLAT).a,${INSTALL_PATH}/lib/libblas.a,g' make.inc - make lapack_install lib -j ${PROCS} -} - -package_specific_install () { - cp *.a ${INSTALL_PATH}/lib/ -} - -package_specific_register () { - export LAPACK_DIR=${INSTALL_PATH} - export LAPACKANDBLAS_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/libadjoint.package b/FEniCS/packages/libadjoint.package deleted file mode 100644 index 8c3c162..0000000 --- a/FEniCS/packages/libadjoint.package +++ /dev/null @@ -1,6 +0,0 @@ -NAME=libadjoint -SOURCE=https://bitbucket.org/dolfin-adjoint/ -PACKING=hg -BUILDCHAIN=cmake -CONFOPTS="-DBUILD_SHARED_LIBS:BOOL=ON" - diff --git a/FEniCS/packages/libdrm.package b/FEniCS/packages/libdrm.package deleted file mode 100644 index 6db68b2..0000000 --- a/FEniCS/packages/libdrm.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=2.4.46 -NAME=libdrm-${VERSION} -SOURCE=http://dri.freedesktop.org/libdrm/ -PACKING=.tar.gz -BUILDCHAIN=autotools \ No newline at end of file diff --git a/FEniCS/packages/libffi.package b/FEniCS/packages/libffi.package deleted file mode 100644 index f8ed8cb..0000000 --- a/FEniCS/packages/libffi.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=libffi-3.0.11 -SOURCE=ftp://sourceware.org/pub/libffi/ -PACKING=.tar.gz -BUILDCHAIN=autotools diff --git a/FEniCS/packages/libxml2.package b/FEniCS/packages/libxml2.package deleted file mode 100644 index 42c71ec..0000000 --- a/FEniCS/packages/libxml2.package +++ /dev/null @@ -1,11 +0,0 @@ -VERSION=2.6.2 -NAME=libxml2-${VERSION} -SOURCE=ftp://xmlsoft.org/libxml2/old/ -PACKING=.tar.gz -BUILDCHAIN=custom - -package_specific_build () { - ./configure --prefix=${INSTALL_PATH} - make -j ${PROCS} - make install -} diff --git a/FEniCS/packages/madlib.package b/FEniCS/packages/madlib.package deleted file mode 100644 index ce9e5f9..0000000 --- a/FEniCS/packages/madlib.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=madlib-1.3.0 -SOURCE=http://sites.uclouvain.be/madlib/sources/ -PACKING=.tar.gz -BUILDCHAIN=autotools -CONFOPTS="--enable-ann --enable-gmsh --enable-petsc --enable-extendedAPI" - -package_specific_setup () { - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/madlib.patch || true -} diff --git a/FEniCS/packages/matplotlib.package b/FEniCS/packages/matplotlib.package deleted file mode 100644 index 63cb5a3..0000000 --- a/FEniCS/packages/matplotlib.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.3.1 -NAME=matplotlib-${VERSION} -SOURCE=http://downloads.sourceforge.net/matplotlib/ -PACKING=.tar.gz -CHECKSUM=444624ad58de05f9029b0b5811e11c17 -BUILDCHAIN=python diff --git a/FEniCS/packages/mesa.package b/FEniCS/packages/mesa.package deleted file mode 100644 index e36a0f9..0000000 --- a/FEniCS/packages/mesa.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=9.2.1 -NAME=MesaLib-${VERSION} -SOURCE=ftp://ftp.freedesktop.org/pub/mesa/${VERSION}/ -PACKING=.tar.gz -BUILDCHAIN=autotools -EXTRACTSTO=Mesa-${VERSION} \ No newline at end of file diff --git a/FEniCS/packages/mpfr.package b/FEniCS/packages/mpfr.package deleted file mode 100644 index 1ea02a6..0000000 --- a/FEniCS/packages/mpfr.package +++ /dev/null @@ -1,11 +0,0 @@ -VERSION=3.1.2 -NAME=mpfr-${VERSION} -SOURCE=http://www.mpfr.org/mpfr-3.1.2/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools - -CONFOPTS="--enable-shared=yes --with-gmp=${GMP_DIR}" - -package_specific_register () { - export MPFR_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/mpi4py.package b/FEniCS/packages/mpi4py.package deleted file mode 100644 index 40c1018..0000000 --- a/FEniCS/packages/mpi4py.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=1.3.1 -NAME=mpi4py-${VERSION} -SOURCE=https://bitbucket.org/mpi4py/mpi4py/downloads/ -PACKING=.tar.gz -CHECKSUM=dbe9d22bdc8ed965c23a7ceb6f32fc3c -BUILDCHAIN=python diff --git a/FEniCS/packages/mtl.package b/FEniCS/packages/mtl.package deleted file mode 100644 index 80414cf..0000000 --- a/FEniCS/packages/mtl.package +++ /dev/null @@ -1,13 +0,0 @@ -NAME=MTL-4.0.8447-Linux -SOURCE=http://fenicsproject.org/pub/software/contrib/ -PACKING=.tar.bz2 -CHECKSUM=ff08fecd44e6e9bccc41bdd6f147952e -BUILDCHAIN=custom - -package_specific_build () { - cp -r ${UNPACK_PATH}/${EXTRACTSTO}/usr/* ${INSTALL_PATH} -} - -package_specific_register () { - export MTL4_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/numpy.package b/FEniCS/packages/numpy.package deleted file mode 100644 index 507aad6..0000000 --- a/FEniCS/packages/numpy.package +++ /dev/null @@ -1,32 +0,0 @@ -NAME=numpy-1.8.1 -SOURCE=http://downloads.sourceforge.net/numpy/ -PACKING=.tar.gz -CHECKSUM=be95babe263bfa3428363d6db5b64678 -BUILDCHAIN=python - -package_specific_setup () { - if [ ! -z "${ATLAS_LIB_DIR}" ]; then - echo " -[DEFAULT] -library_dirs = ${ATLAS_LIB_DIR} -include_dirs = ${ATLAS_DIR}/include - -[blas_opt] -libraries = f77blas, cblas, atlas - -[lapack_opt] -libraries = lapack, f77blas, cblas, atlas -" > site.cfg - - elif [ ! -z "${LAPACKANDBLAS_DIR}" ]; then - echo " -[atlas] -library_dirs = ${LAPACKANDBLAS_DIR} -atlas_libs = lapack, blas -" > site.cfg - fi -} - -package_specific_register () { - ln -sf ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages/numpy/core/include/numpy ${INSTALL_PATH}/include/python${PYTHONVER} -} diff --git a/FEniCS/packages/numpy_intel.package b/FEniCS/packages/numpy_intel.package deleted file mode 100644 index 965daf7..0000000 --- a/FEniCS/packages/numpy_intel.package +++ /dev/null @@ -1,20 +0,0 @@ -NAME=numpy-1.6.1 -SOURCE=http://downloads.sourceforge.net/numpy/ -PACKING=.tar.gz -BUILDCHAIN=custom - -MKLLIB=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -MKLINCLUDE=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/include - -package_specific_build () { - echo "[mkl]" > site.cfg - echo "library_dirs = ${MKLLIB}" >> site.cfg - echo "include_dirs = ${MKLINCLUDE}" >> site.cfg - echo "mkl_libs = mkl_intel,mkl_intel_thread,mkl_core,mkl_rt" >> site.cfg - python setup.py config --compiler=intelem build_clib --compiler=intelem build_ext --compiler=intelem install --prefix=${INSTALL_PATH} -} - -package_specific_register () { - ln -sf ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages/numpy/core/include/numpy ${INSTALL_PATH}/include/python${PYTHONVER} -} - diff --git a/FEniCS/packages/openmpi.package b/FEniCS/packages/openmpi.package deleted file mode 100644 index 829ee26..0000000 --- a/FEniCS/packages/openmpi.package +++ /dev/null @@ -1,12 +0,0 @@ -NAME=openmpi-1.6.2 -SOURCE=http://www.open-mpi.org/software/ompi/v1.6/downloads/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools - -CONFOPTS="--enable-mpi-thread-multiple - --enable-opal-multi-threads - --with-threads=posix - --disable-mpi-profile" - -# FIXME: This must be used on OS X: -#CONFOPTS="${CONFOPTS} --disable-mpi-f90" diff --git a/FEniCS/packages/parmetis.package b/FEniCS/packages/parmetis.package deleted file mode 100644 index 498f141..0000000 --- a/FEniCS/packages/parmetis.package +++ /dev/null @@ -1,21 +0,0 @@ -NAME=parmetis-4.0.2 -SOURCE=http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ -PACKING=.tar.gz -CHECKSUM=0912a953da5bb9b5e5e10542298ffdce -BUILDCHAIN=custom - -package_specific_build() { - cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* . - cd metis - make config prefix=${INSTALL_PATH} shared=1 - make -j ${PROCS} - make install - cd .. - make config prefix=${INSTALL_PATH} shared=1 - make -j ${PROCS} - make install -} - -package_specific_register () { - export PARMETIS_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/pastix.package b/FEniCS/packages/pastix.package deleted file mode 100644 index 600ca41..0000000 --- a/FEniCS/packages/pastix.package +++ /dev/null @@ -1,276 +0,0 @@ -NAME=pastix_release_4030 -SOURCE=https://gforge.inria.fr/frs/download.php/32044/ -PACKING=.tar.bz2 -CHECKSUM=d2395bca420901b93d8d2a66cda2062d -BUILDCHAIN=custom - -package_specific_build () { - if [ -z ${PASTIX_ARCH} ]; then - PASTIX_ARCH="i686_pc_linux" - fi - VERSIONBIT="_64bit" - VERSIONINT="_int64" - CCTYPES="-DFORCE_INT64 -DINTSSIZE64" - - # FIXME: Use the following on 32-bit architectures: - #VERSIONBIT="_32bit" - #VERSIONINT="_int32" - #CCTYPES="-DFORCE_INT32 -DINTSSIZE32" - - if [ "${ATLAS_LIB_DIR}" ]; then - BLAS_HOME="${ATLAS_LIB_DIR}" - BLASLIB="-L${ATLAS_LIB_DIR} -lcblas -lf77blas -latlas" - elif [ "${BLAS_DIR}" ]; then - BLAS_HOME="${BLAS_DIR}" - BLASLIB="-L${BLAS_DIR} -lblas" - else - BLAS_HOME="/path/to/blas" - BLASLIB="-lblas" - fi - - # Create config file - cd ${UNPACK_PATH}/${EXTRACTSTO}/src - cat > config.in << EOF -HOSTARCH = ${PASTIX_ARCH} -VERSIONBIT = ${VERSIONBIT} -EXEEXT = -OBJEXT = .o -LIBEXT = .a -CCPROG = gcc -Wall -CFPROG = gfortran -CF90PROG = gfortran -ffree-form -MCFPROG = mpif90 -CF90CCPOPT = -ffree-form -x f95-cpp-input -# Compilation options for optimization (make expor) -CCFOPT = -O3 -# Compilation options for debug (make | make debug) -CCFDEB = -g3 - -LKFOPT = -MKPROG = make -MPCCPROG = mpicc -Wall -CPP = cpp -ARFLAGS = ruv -ARPROG = ar -EXTRALIB = -lgfortran -lm -lrt - -VERSIONMPI = _mpi -VERSIONSMP = _smp -VERSIONSCH = _static -VERSIONINT = _int -VERSIONPRC = _simple -VERSIONFLT = _real -VERSIONORD = _scotch - -################################################################### -# SETTING INSTALL DIRECTORIES # -################################################################### -ROOT = ${INSTALL_PATH} -INCLUDEDIR = \${ROOT}/include -LIBDIR = \${ROOT}/lib -BINDIR = \${ROOT}/bin - -################################################################### -# SHARED LIBRARY GENERATION # -################################################################### -SHARED=1 -SHARED_FLAGS = -shared -Wl,-soname,__SO_NAME__ -CCFDEB := \${CCFDEB} -fPIC -CCFOPT := \${CCFOPT} -fPIC -CFPROG := \${CFPROG} -fPIC - -################################################################### -# INTEGER TYPE # -################################################################### -# Uncomment the following lines for integer type support (Only 1) - -#VERSIONINT = _long -#CCTYPES = -DFORCE_LONG -DLONG -#--------------------------- -#VERSIONINT = _int32 -#CCTYPES = -DFORCE_INT32 -DINTSIZE32 -#--------------------------- -#VERSIONINT = _int64 -#CCTYPES = -DFORCE_INT64 -DINTSSIZE64 -#--------------------------- -VERSIONINT = ${VERSIONINT} -CCTYPES = ${CCTYPES} - -################################################################### -# FLOAT TYPE # -################################################################### -CCTYPESFLT = -# Uncomment the following lines for double precision support -VERSIONPRC = _double -CCTYPESFLT := \$(CCTYPESFLT) -DFORCE_DOUBLE -DPREC_DOUBLE - -# Uncomment the following lines for float=complex support -#VERSIONFLT = _complex -#CCTYPESFLT := \$(CCTYPESFLT) -DFORCE_COMPLEX -DTYPE_COMPLEX - - -################################################################### -# MPI/THREADS # -################################################################### - -# Uncomment the following lines for sequential (NOMPI) version -#VERSIONMPI = _nompi -#CCTYPES := \$(CCTYPES) -DFORCE_NOMPI -#MPCCPROG = \$(CCPROG) -#MCFPROG = \$(CFPROG) - -# Uncomment the following lines for non-threaded (NOSMP) version -#VERSIONSMP = _nosmp -#CCTYPES := \$(CCTYPES) -DFORCE_NOSMP - -# Uncomment the following line to enable a progression thread -#CCPASTIX := \$(CCPASTIX) -DTHREAD_COMM - -# Uncomment the following line if your MPI doesn't support MPI_THREAD_MULTIPLE level -#CCPASTIX := \$(CCPASTIX) -DPASTIX_FUNNELED - -# Uncomment the following line if your MPI doesn't support MPI_Datatype correctly -#CCPASTIX := \$(CCPASTIX) -DNO_MPI_TYPE - -# Uncomment the following line if you want to use semaphore barrier -# instead of MPI barrier (with IPARM_AUTOSPLIT_COMM) -#CCPASTIX := \$(CCPASTIX) -DWITH_SEM_BARRIER - -# Uncomment the following lines to enable StarPU. -#CCPASTIX := \${CCPASTIX} \`pkg-config libstarpu --cflags\` -DWITH_STARPU -#EXTRALIB := \$(EXTRALIB) \`pkg-config libstarpu --libs\` - -# Uncomment the following line to enable StarPU profiling -# ( IPARM_VERBOSE > API_VERBOSE_NO ). -#CCPASTIX := \${CCPASTIX} -DSTARPU_PROFILING - -# Uncomment the following line to disable CUDA (StarPU) -#CCPASTIX := \${CCPASTIX} -DFORCE_NO_CUDA - -################################################################### -# Options # -################################################################### - -# Show memory usage statistics -#CCPASTIX := \$(CCPASTIX) -DMEMORY_USAGE - -# Show memory usage statistics in solver -#CCPASTIX := \$(CCPASTIX) -DSTATS_SOPALIN - -# Uncomment following line for dynamic thread scheduling support -#CCPASTIX := \$(CCPASTIX) -DPASTIX_DYNSCHED - -# Uncomment the following lines for Out-of-core -#CCPASTIX := \$(CCPASTIX) -DOOC -DOOC_NOCOEFINIT -DOOC_DETECT_DEADLOCKS - -################################################################### -# GRAPH PARTITIONING # -################################################################### - -# Uncomment the following lines for using metis ordering -#VERSIONORD = _metis -#METIS_HOME = \${HOME}/metis-4.0 -#CCPASTIX := \$(CCPASTIX) -DMETIS -I\$(METIS_HOME)/Lib -#EXTRALIB := \$(EXTRALIB) -L\$(METIS_HOME) -lmetis - -# Scotch always needed to compile -SCOTCH_HOME ?= ${SCOTCH_DIR} -SCOTCH_INC ?= \$(SCOTCH_HOME)/include -SCOTCH_LIB ?= \$(SCOTCH_HOME)/lib -# Uncomment on of this blocks -#scotch -#CCPASTIX := \$(CCPASTIX) -I\$(SCOTCH_INC) -DWITH_SCOTCH -#EXTRALIB := \$(EXTRALIB) -L\$(SCOTCH_LIB) -lscotch -lscotcherrexit -#ptscotch -CCPASTIX := \$(CCPASTIX) -I\$(SCOTCH_INC) -DDISTRIBUTED -DWITH_SCOTCH -EXTRALIB := \$(EXTRALIB) -L\$(SCOTCH_LIB) -lptscotch -lscotcherrexit - -################################################################### -# Portable Hardware Locality # -################################################################### -# If HwLoc library is available, Uncomment the following lines to bind correctly threads on cpus -#HWLOC_HOME ?= /opt/hwloc/ -#HWLOC_INC ?= \$(HWLOC_HOME)/include -#HWLOC_LIB ?= \$(HWLOC_HOME)/lib -#CCPASTIX := \$(CCPASTIX) -I\$(HWLOC_INC) -DWITH_HWLOC -#EXTRALIB := \$(EXTRALIB) -L\$(HWLOC_LIB) -lhwloc - -################################################################### -# MARCEL # -################################################################### - -# Uncomment following lines for marcel thread support -#VERSIONSMP := \$(VERSIONSMP)_marcel -#CCPASTIX := \$(CCPASTIX) \`pm2-config --cflags\` -I\${PM2_ROOT}/marcel/include/pthread -#EXTRALIB := \$(EXTRALIB) \`pm2-config --libs\` -# ---- Thread Posix ------ -EXTRALIB := \$(EXTRALIB) -lpthread - -# Uncomment following line for bubblesched framework support (need marcel support) -#VERSIONSCH = _dyn -#CCPASTIX := \$(CCPASTIX) -DPASTIX_BUBBLESCHED - -################################################################### -# BLAS # -################################################################### - -# Choose Blas library (Only 1) -# Do not forget to set BLAS_HOME if it is not in your environnement -BLAS_HOME = ${BLAS_HOME} -BLASLIB = ${BLASLIB} -#---- Blas ---- -#BLASLIB = -lblas -#---- Gotoblas ---- -#BLASLIB = -L\${BLAS_HOME} -lgoto -#---- MKL ---- -#Uncomment the correct line -#BLASLIB = -L\$(BLAS_HOME) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -#BLASLIB = -L\$(BLAS_HOME) -lmkl_intel -lmkl_sequential -lmkl_core -#---- Acml ---- -#BLASLIB = -L\$(BLAS_HOME) -lacml - -################################################################### -# PYTHON WRAPPER # -################################################################### -#MPI4PY_DIR = /path/to//mpi4py -#MPI4PY_INC = \$(MPI4PY_DIR)/src/include/ -#MPI4PY_LIBDIR = \$(MPI4PY_DIR)/build/lib.linux-x86_64-2.7/ -#PYTHON_INC = /usr/include/python2.7/ -#CCTYPES := \$(CCTYPES) -fPIC - -################################################################### -# DO NOT TOUCH # -################################################################### - -FOPT := \$(CCFOPT) -FDEB := \$(CCFDEB) -CCHEAD := \$(CCPROG) \$(CCTYPES) \$(CCFOPT) -CCFOPT := \$(CCFOPT) \$(CCTYPES) \$(CCPASTIX) -CCFDEB := \$(CCFDEB) \$(CCTYPES) \$(CCPASTIX) - - -################################################################### -# MURGE COMPATIBILITY # -################################################################### -# Uncomment if you need MURGE interface to be thread safe -# CCPASTIX := \$(CCPASTIX) -DMURGE_THREADSAFE - -MAKE = \$(MKPROG) -CC = \$(MPCCPROG) -CFLAGS = \$(CCFOPT) \$(CCTYPESFLT) -FC = \$(MCFPROG) -FFLAGS = \$(CCFOPT) -LDFLAGS = \$(EXTRALIB) \$(BLASLIB) -EOF - - # Build and install - make -j ${PROCS} - make install - - # Workaround for bug in 4030 release - sed -i 's/u_int64_t/uint64_t/g' ${INSTALL_PATH}/include/pastix.h -} - -package_specific_register () { - export PASTIX_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/pcre.package b/FEniCS/packages/pcre.package deleted file mode 100644 index ad7dac4..0000000 --- a/FEniCS/packages/pcre.package +++ /dev/null @@ -1,6 +0,0 @@ -NAME=pcre-8.21 -SOURCE=http://downloads.sourceforge.net/pcre/ -PACKING=.tar.gz -CHECKSUM=b8c9469717262a1e486cffc288b28283 -BUILDCHAIN=autotools - diff --git a/FEniCS/packages/petsc.package b/FEniCS/packages/petsc.package deleted file mode 100644 index dd08758..0000000 --- a/FEniCS/packages/petsc.package +++ /dev/null @@ -1,37 +0,0 @@ -NAME=petsc-3.4.4 -SOURCE=http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/ -PACKING=.tar.gz -CHECKSUM=7edbc68aa6d8d6a3295dd5f6c2f6979d -BUILDCHAIN=custom - -CONFOPTS="COPTFLAGS=-O2 - --with-debugging=0 --with-shared-libraries=1 - --with-clanguage=cxx --with-c-support=1" - -for external_pkg in umfpack hypre mumps scalapack blacs ptscotch scotch metis parmetis ${PETSC_EXTRA_PACKAGES}; do - CONFOPTS="${CONFOPTS} --download-${external_pkg}=1" -done - -if [ "${TRILINOS_DIR}" ]; then - CONFOPTS="${CONFOPTS} --with-ml=1 - --with-ml-lib=${TRILINOS_DIR}/lib/libml.so - --with-ml-include=${TRILINOS_DIR}/include" -fi - -if [ "${CUDA_DIR}" ] && [ "${CUSP_DIR}" ]; then - CONFOPTS="${CONFOPTS} --with-cuda=1 --with-cuda-dir=${CUDA_DIR} - --with-cusp=1 --with-cusp-dir=${CUSP_DIR} - --with-thrust=1 --with-thrust-dir=${CUDA_DIR}/include" -fi - -package_specific_build () { - cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* . - ./configure --prefix=${INSTALL_PATH} ${CONFOPTS} - make PETSC_DIR=${PWD} PETSC_ARCH=${PETSC_ARCH} all - make PETSC_DIR=${PWD} PETSC_ARCH=${PETSC_ARCH} install -} - -package_specific_register () { - export PETSC_DIR=${INSTALL_PATH} - unset PETSC_ARCH -} diff --git a/FEniCS/packages/petsc4py.package b/FEniCS/packages/petsc4py.package deleted file mode 100644 index 779b3f2..0000000 --- a/FEniCS/packages/petsc4py.package +++ /dev/null @@ -1,11 +0,0 @@ -VERSION=3.4 -NAME=petsc4py-${VERSION} -SOURCE=https://bitbucket.org/petsc/petsc4py/downloads/ -PACKING=.tar.gz -CHECKSUM=f6a2914fe3c057b0bf0eac4330a071ea -BUILDCHAIN=python - -package_specific_setup () { - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/petsc4py-c++11.patch || true -} - diff --git a/FEniCS/packages/pkg-config.package b/FEniCS/packages/pkg-config.package deleted file mode 100644 index b61b6b0..0000000 --- a/FEniCS/packages/pkg-config.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=pkg-config-0.28 -SOURCE=http://pkgconfig.freedesktop.org/releases/ -PACKING=.tar.gz -BUILDCHAIN=autotools diff --git a/FEniCS/packages/ply.package b/FEniCS/packages/ply.package deleted file mode 100644 index f19f156..0000000 --- a/FEniCS/packages/ply.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=3.4 -NAME=ply-${VERSION} -SOURCE=http://www.dabeaz.com/ply/ -PACKING=.tar.gz -BUILDCHAIN=python diff --git a/FEniCS/packages/python.package b/FEniCS/packages/python.package deleted file mode 100644 index fb4f254..0000000 --- a/FEniCS/packages/python.package +++ /dev/null @@ -1,18 +0,0 @@ -VERSION=2.7.2 -NAME=Python-${VERSION} -SOURCE=http://www.python.org/ftp/python/${VERSION}/ -PACKING=.tar.bz2 -BUILDCHAIN=autotools -CONFOPTS="--enable-shared" - -package_specific_setup() { - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/python.patch || true -} - -package_specific_register() { - export PYTHON_DIR=${INSTALL_PATH} - export PYTHON_EXECUTABLE=${PYTHON_DIR}/bin/python - export PYTHON_INCLUDE_DIR=${PYTHON_DIR}/include/python2.7 - # FIXME: should be .dylib on OS X - export PYTHON_LIBRARY=${PYTHON_DIR}/lib/libpython2.7.so -} diff --git a/FEniCS/packages/scientificpython.package b/FEniCS/packages/scientificpython.package deleted file mode 100644 index f9eb004..0000000 --- a/FEniCS/packages/scientificpython.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=ScientificPython-2.8 -SOURCE=http://sourcesup.cru.fr/frs/download.php/2309/ -PACKING=.tar.gz -CHECKSUM=82d8592635d6ae8608b3073dacf9e694 -BUILDCHAIN=python - -package_specific_setup () { - patch -p --forward < ${ORIG_DIR}/FEniCS/patches/scientificpython.patch || true -} diff --git a/FEniCS/packages/scipy.package b/FEniCS/packages/scipy.package deleted file mode 100644 index 1c6b981..0000000 --- a/FEniCS/packages/scipy.package +++ /dev/null @@ -1,36 +0,0 @@ -NAME=scipy-0.14.0 -SOURCE=http://downloads.sourceforge.net/scipy/ -PACKING=.tar.gz -CHECKSUM=d7c7f4ccf8b07b08d6fe49d5cd51f85d -BUILDCHAIN=python - -package_specific_setup () { - if [ ! -z "${ATLAS_LIB_DIR}" ]; then - echo " -[blas_opt] -library_dirs = ${ATLAS_LIB_DIR} -include_dirs = ${ATLAS_DIR}/include -libraries = f77blas, cblas, atlas - -[lapack_opt] -library_dirs = ${ATLAS_LIB_DIR} -include_dirs = ${ATLAS_DIR}/include -libraries = lapack, f77blas, cblas, atlas -" >> site.cfg - fi - - if [ ! -z "${UMFPACK_DIR}" ]; then - echo " -[amd] -library_dirs = ${UMFPACK_DIR}/lib -include_dirs = ${UMFPACK_DIR}/include/suitesparse -amd_libs = amd - -[umfpack] -library_dirs = ${UMFPACK_DIR}/lib -include_dirs = ${UMFPACK_DIR}/include/suitesparse -umfpack_libs = umfpack -" >> site.cfg - fi -} - diff --git a/FEniCS/packages/scons.package b/FEniCS/packages/scons.package deleted file mode 100644 index 2e2a2eb..0000000 --- a/FEniCS/packages/scons.package +++ /dev/null @@ -1,6 +0,0 @@ -NAME=scons-2.0.1 -SOURCE=http://downloads.sourceforge.net/scons/ -PACKING=.tar.gz -CHECKSUM=beca648b894cdbf85383fffc79516d18 -BUILDCHAIN=python - diff --git a/FEniCS/packages/scotch.package b/FEniCS/packages/scotch.package deleted file mode 100644 index a55670f..0000000 --- a/FEniCS/packages/scotch.package +++ /dev/null @@ -1,38 +0,0 @@ -NAME=scotch_6.0.0_esmumps -SOURCE=http://fenicsproject.org/pub/software/contrib/ -PACKING=.tar.gz -CHECKSUM=c50d6187462ba801f9a82133ee666e8e -BUILDCHAIN=autotools -EXTRACTSTO=scotch_6.0.0_esmumps/src -PROCS=1 -TARGETS=('' 'ptscotch' 'ptesmumps') - -package_specific_setup () { - cd ${UNPACK_PATH}/${EXTRACTSTO} - if [ ${SCOTCH_ARCH} == "pc_linux2" ] - then - SCOTCH_ARCH=$(echo $ARCH|sed 's/_/-/g')_${SCOTCH_ARCH} - fi - perl -pi -e 's/^CFLAGS\t\t=/CFLAGS = -fPIC/g' Make.inc/Makefile.inc.${SCOTCH_ARCH} - perl -pi -e 's/^CCS.*= gcc/CCS = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH} - perl -pi -e 's/^CCD.*= gcc/CCD = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH} - if [ ${SCOTCH_ARCH} == "i686_mac_darwin8" ] - then - # Darwin does not have a pthread_barrier_t implementation - perl -pi -e 's/-DSCOTCH_PTHREAD/-DCOMMON_PTHREAD_BARRIER/g' Make.inc/Makefile.inc.${SCOTCH_ARCH} - else - perl -pi -e 's/-DSCOTCH_PTHREAD//g' Make.inc/Makefile.inc.${SCOTCH_ARCH} - fi - ln -sf Make.inc/Makefile.inc.${SCOTCH_ARCH} Makefile.inc - cp -rf * ${BUILDDIR} -} - -package_specific_install () { - make ptesmumps install -j ${PROCS} prefix=${INSTALL_PATH} - cp -f ../lib/*scotc*[^m].a ${INSTALL_PATH}/lib - cp -f ../lib/*esmumps.a ${INSTALL_PATH}/lib -} - -package_specific_register () { - export SCOTCH_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/setuptools.package b/FEniCS/packages/setuptools.package deleted file mode 100644 index 9e3df47..0000000 --- a/FEniCS/packages/setuptools.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.4.1 -NAME=setuptools-${VERSION} -SOURCE=https://pypi.python.org/packages/source/s/setuptools/ -PACKING=.tar.gz -BUILDCHAIN=python diff --git a/FEniCS/packages/slepc.package b/FEniCS/packages/slepc.package deleted file mode 100644 index c100862..0000000 --- a/FEniCS/packages/slepc.package +++ /dev/null @@ -1,21 +0,0 @@ -NAME=slepc-3.4.4 -SOURCE=http://www.grycap.upv.es/slepc/download/download.php?filename= -PACKING=.tar.gz -CHECKSUM=329179c5139027c7b293dd5ab0bc112c -BUILDCHAIN=custom - -package_specific_setup () { - cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* . - patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/slepc.patch || true - export SLEPC_DIR=${PWD} -} - -package_specific_build () { - SLEPC_DIR=${PWD} ./configure --prefix=${INSTALL_PATH} - make PETSC_ARCH=arch-installed-petsc all - make PETSC_ARCH=arch-installed-petsc install -} - -package_specific_register () { - export SLEPC_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/sqlite.package b/FEniCS/packages/sqlite.package deleted file mode 100644 index 7e321ab..0000000 --- a/FEniCS/packages/sqlite.package +++ /dev/null @@ -1,11 +0,0 @@ -VERSION=3070800 -NAME=sqlite-autoconf-${VERSION} -SOURCE=http://www.sqlite.org/ -PACKING=.tar.gz -BUILDCHAIN=custom - -package_specific_build () { - ./configure --prefix=${INSTALL_PATH} - make -j ${PROCS} - make install -} diff --git a/FEniCS/packages/suitesparse.package b/FEniCS/packages/suitesparse.package deleted file mode 100644 index bbf3315..0000000 --- a/FEniCS/packages/suitesparse.package +++ /dev/null @@ -1,54 +0,0 @@ -NAME=SuiteSparse-4.0.2 -SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/ -PACKING=.tar.gz -BUILDCHAIN=custom -EXTRACTSTO=SuiteSparse - -package_specific_build () { - mkdir -p ${INSTALL_PATH}/include/suitesparse - cat > SuiteSparse_config/SuiteSparse_config.mk << EOF -#CF = \$(CFLAGS) \$(CPPFLAGS) \$(TARGET_ARCH) -O3 -fexceptions -fPIC -CF = \$(CFLAGS) \$(CPPFLAGS) \$(TARGET_ARCH) -O3 -fexceptions -fPIC -DNTIMER -RANLIB = ranlib -ARCHIVE = \$(AR) \$(ARFLAGS) -CP = cp -f -MV = mv -f -F77 = gfortran -F77FLAGS = \$(FFLAGS) -O -F77LIB = -#LIB = -lm -lrt -LIB = -lm -INSTALL_LIB = ${INSTALL_PATH}/lib -INSTALL_INCLUDE = ${INSTALL_PATH}/include/suitesparse -XERBLA = -GPU_BLAS_PATH = -GPU_CONFIG = -UMFPACK_CONFIG = -CHOLMOD_CONFIG = \$(GPU_CONFIG) -DNPARTITION -SPQR_CONFIG = -TBB = -CLEAN = *.o *.obj *.ln *.bb *.bbg *.da *.tcov *.gcov gmon.out *.bak *.d *.gcda *.gcno -EOF - - if [ ! -z "${ATLAS_LIB_DIR}" ]; then - cat >> SuiteSparse_config/SuiteSparse_config.mk << EOF -BLAS = -L${ATLAS_LIB_DIR} -lcblas -lf77blas -latlas -LAPACK = -L${ATLAS_LIB_DIR} -llapack -EOF - else - cat >> SuiteSparse_config/SuiteSparse_config.mk << EOF -BLAS = -lblas -lgfortran -LAPACK = -llapack -EOF - fi - - make -} - -package_specific_install () { - make install -} - -package_specific_register () { - export UMFPACK_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/suitesparsewithmetis.package b/FEniCS/packages/suitesparsewithmetis.package deleted file mode 100644 index 48aa4b1..0000000 --- a/FEniCS/packages/suitesparsewithmetis.package +++ /dev/null @@ -1,31 +0,0 @@ -NAME=SuiteSparse -SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/current/ -PACKING=.tar.gz -BUILDCHAIN=custom - -package_specific_build () { - perl -pi -e 's/^CFLAGS = -O/CFLAGS = -fPIC -O/g' UFconfig/UFconfig.mk - perl -pi -e 's/-lgfortran.*n//g' UFconfig/UFconfig.mk - perl -pi -e 's/-lg2c//g' UFconfig/UFconfig.mk - if [ ! -e metis-4.0.3.tar.gz ] - then - wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz - fi - tar -xzf metis-4.0.3.tar.gz - ln -sf metis-4.0.3 metis-4.0 - cd metis-4.0 - perl -pi -e 's/COPTIONS =/COPTIONS = -fPIC/g' Makefile.in - make - cd .. - make -} - -package_specific_install () { - mkdir -p ${INSTALL_PATH}/include/suitesparse - ln -sf `find ${PWD} -name '*.h' | grep -vi demo | xargs` ${INSTALL_PATH}/include/suitesparse - ln -sf `find ${PWD} -name 'lib*.a' | xargs` ${INSTALL_PATH}/lib -} - -package_specific_register () { - export UMFPACK_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/suitesparsewithmetis_OpenMPI.package b/FEniCS/packages/suitesparsewithmetis_OpenMPI.package deleted file mode 100644 index b60dbaa..0000000 --- a/FEniCS/packages/suitesparsewithmetis_OpenMPI.package +++ /dev/null @@ -1,45 +0,0 @@ -VERSION=3.4.0 -NAME=SuiteSparse-${VERSION} -SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/ -PACKING=.tar.gz -BUILDCHAIN=custom -EXTRACTSTO=SuiteSparse - -package_specific_build () { - sed -i 's/CFLAGS = -O/CFLAGS = -fPIC -O/g' UFconfig/UFconfig.mk - sed -i 's/CC = cc/CC = mpicc/g' UFconfig/UFconfig.mk - sed -i 's/CPLUSPLUS = g++/CPLUSPLUS = mpiCC/g' UFconfig/UFconfig.mk - sed -i 's/F77 = f77/F77 = mpif90/g' UFconfig/UFconfig.mk - sed -i 's/-lg2c//g' UFconfig/UFconfig.mk - sed -i 's,-lblas,-L${INSTALL_PATH}/lib/ -lblas,g' UFconfig/UFconfig.mk - sed -i 's,begin,,g' UFconfig/UFconfig.mk - sed -i 's,-llapack,-L${INSTALL_PATH}/lib/ -llapack,g' UFconfig/UFconfig.mk - sed -i 's,XERBLA =,# XERBLA =,g' UFconfig/UFconfig.mk - sed -i 's,# # XERBLA = ../../UFconfig/xerbla/libxerbla.a, XERBLA = ../../UFconfig/xerbla/libxerbla.a,' UFconfig/UFconfig.mk - sed -i 's,-fexceptions, -fexceptions,g' UFconfig/UFconfig.mk - - if [ ! -e metis-4.0.3.tar.gz ] - then - wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz - fi - tar -xzf metis-4.0.3.tar.gz - ln -sf metis-4.0.3 metis-4.0 - cd metis-4.0 - perl -pi -e 's/COPTIONS =/COPTIONS = -fPIC/g' Makefile - make -j - cd .. - cd UFconfig/xerbla/ - make all - cd ../../ - make -} - -package_specific_install () { - mkdir -p ${INSTALL_PATH}/include/suitesparse - ln -sf `find ${PWD} -name '*.h' | grep -vi demo | xargs` ${INSTALL_PATH}/include/suitesparse - ln -sf `find ${PWD} -name 'lib*.a' | xargs` ${INSTALL_PATH}/lib -} - -package_specific_register () { - export UMFPACK_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/swig.package b/FEniCS/packages/swig.package deleted file mode 100644 index ecb8354..0000000 --- a/FEniCS/packages/swig.package +++ /dev/null @@ -1,26 +0,0 @@ -NAME=swig-2.0.8 -SOURCE=http://downloads.sourceforge.net/swig/ -PACKING=.tar.gz -CHECKSUM=69f917e870efc0712c06ab53217b28d1 -BUILDCHAIN=autotools - -package_specific_setup () { - if [ ! -z ${SWIG_CC} ]; then - export TMP_SWIG_CC=${CC} - export CC=${SWIG_CC} - fi - if [ ! -z ${SWIG_CXX} ]; then - export TMP_SWIG_CXX=${CXX} - export CXX=${SWIG_CXX} - fi -} - -package_specific_register () { - if [ ! -z ${TMP_SWIG_CC} ]; then - export CC=${TMP_SWIG_CC} - fi - if [ ! -z ${TMP_SWIG_CXX} ]; then - export CXX=${TMP_SWIG_CXX} - fi - export SWIG_EXECUTABLE=${INSTALL_PATH}/bin/swig -} diff --git a/FEniCS/packages/swiginac.package b/FEniCS/packages/swiginac.package deleted file mode 100644 index 542eb06..0000000 --- a/FEniCS/packages/swiginac.package +++ /dev/null @@ -1,8 +0,0 @@ -NAME=swiginac-1.5.1.1 -SOURCE=http://download.berlios.de/swiginac/ -PACKING=.tgz -BUILDCHAIN=python - -package_specific_setup () { -python setup.py build -} diff --git a/FEniCS/packages/syfi-snapshot.package b/FEniCS/packages/syfi-snapshot.package deleted file mode 100644 index cdbb81e..0000000 --- a/FEniCS/packages/syfi-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=syfi-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/syfi/ -PACKING=.tar.gz diff --git a/FEniCS/packages/syfi-stable.package b/FEniCS/packages/syfi-stable.package deleted file mode 100644 index 7ad8409..0000000 --- a/FEniCS/packages/syfi-stable.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=1.0.0 -NAME=syfi-${VERSION} -SOURCE=http://launchpad.net/fenics-syfi/1.0.x/${VERSION}/+download/ -PACKING=.tar.gz diff --git a/FEniCS/packages/syfi.package b/FEniCS/packages/syfi.package deleted file mode 100644 index 2d683eb..0000000 --- a/FEniCS/packages/syfi.package +++ /dev/null @@ -1,8 +0,0 @@ -NAME=fenics-syfi -SOURCE=lp: -PACKING=bzr -BUILDCHAIN=cmake - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="-D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi diff --git a/FEniCS/packages/sympy.package b/FEniCS/packages/sympy.package deleted file mode 100644 index c807fbb..0000000 --- a/FEniCS/packages/sympy.package +++ /dev/null @@ -1,5 +0,0 @@ -NAME=sympy-0.7.1 -SOURCE=http://pypi.python.org/packages/source/s/sympy/ -PACKING=.tar.gz -CHECKSUM=3847b5ed5c1531bf3c1b849dc2337253 -BUILDCHAIN=python diff --git a/FEniCS/packages/template.package b/FEniCS/packages/template.package deleted file mode 100644 index 61a4ae9..0000000 --- a/FEniCS/packages/template.package +++ /dev/null @@ -1,28 +0,0 @@ -NAME=foo-x.y.z -SOURCE=http://foo.org/downloads/foo/ -PACKING=[.tar.gz|.tar.bz2|.tbz2|.tgz|.zip|hg|svn|git|bzr] -BUILDCHAIN=[autotools|python|scons|cmake|custom] -EXTRACTSTO=barnotfoo -CONFOPTS="" -SCONSOPTS="" -TARGETS=('' install) - -package_specific_setup () { - # Any non-standard configuration and pre-build instructions go - # here. -} - -package_specific_build () { - # Any custom build instructions go here. This function is only - # used if the 'custom' buildchain is defined. -} - -package_specific_install () { - # Any non-standard installation and post-build instructions go - # here. -} - -package_specific_register () { - # Any environment variables defined by this package that are - # required by other packages go here. -} diff --git a/FEniCS/packages/trilinos.package b/FEniCS/packages/trilinos.package deleted file mode 100644 index 7f038ea..0000000 --- a/FEniCS/packages/trilinos.package +++ /dev/null @@ -1,83 +0,0 @@ -VERSION=11.8.1 -NAME=trilinos-${VERSION}-Source -SOURCE=http://trilinos.sandia.gov/download/files/ -PACKING=.tar.gz -CHECKSUM=3c9465b6d63d824e9dc0365ca73c3370 -BUILDCHAIN=cmake - -package_specific_setup () { -#echo "Build ${NAME}" - -CONFOPTS="-D Trilinos_ENABLE_OpenMP:BOOL=OFF \ - -D TPL_ENABLE_TBB:BOOL=OFF \ - -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \ - -D Trilinos_ENABLE_Epetra:BOOL=ON \ - -D Trilinos_ENABLE_EpetraExt:BOOL=ON \ - -D Trilinos_ENABLE_Amesos:BOOL=ON \ - -D Trilinos_ENABLE_Belos:BOOL=ON \ - -D Trilinos_ENABLE_ML:BOOL=ON \ - -D Trilinos_ENABLE_PyTrilinos:BOOL=ON \ - -D Trilinos_ENABLE_TESTS:BOOL=OFF \ - -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \ - -D Trilinos_ENABLE_Didasko:BOOL=ON \ - -D Trilinos_ENABLE_Sacado:BOOL=ON \ - -D Trilinos_ENABLE_Stratimikos:BOOL=ON \ - -D CMAKE_BUILD_TYPE:STRING=RELEASE \ - -D CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE \ - -D Trilinos_VERBOSE_CONFIGURE:BOOL=FALSE \ - -D TPL_ENABLE_MPI:BOOL=ON \ - -D TPL_ENABLE_UMFPACK:BOOL=ON \ - -D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} \ - -D BUILD_SHARED_LIBS:BOOL=ON" - -GFORTRAN_EXECUTABLE=$(which gfortran) -if [ ! -z "${GFORTRAN_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} - -D Trilinos_ENABLE_Fortran:BOOL=ON - -D CMAKE_Fortran_COMPILER:FILEPATH=mpif90" -else - CONFOPTS="${CONFOPTS} -D Trilinos_ENABLE_Fortran:BOOL=OFF" -fi - -if [ ! -z "${ATLAS_LIB_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -D BLAS_LIBRARY_NAMES=\"cblas;f77blas;atlas\" - -D BLAS_LIBRARY_DIRS=${ATLAS_LIB_DIR} - -D LAPACK_LIBRARY_DIRS=${ATLAS_LIB_DIR}" -fi - -if [ ! -z "${UMFPACK_DIR}" ]; then - CONFOPTS="${CONFOPTS} - -D UMFPACK_INCLUDE_DIRS=${UMFPACK_DIR}/include/suitesparse - -D UMFPACK_LIBRARY_DIRS=${UMFPACK_DIR}/lib - -D UMFPACK_LIBRARY_NAMES=\"umfpack;cholmod;camd;ccolamd;colamd;amd;suitesparseconfig\"" -elif [ ! -z "${UMFPACK_INCLUDE_DIR}" ]; then - CONFOPTS="${CONFOPTS} -D UMFPACK_INCLUDE_DIRS=${UMFPACK_INCLUDE_DIR}" -fi - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi - -if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}" -fi - -if [ ! -z "${PYTHON_LIBRARY}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}" -fi - - -#TRILINOS_SOURCE="${UNPACK_PATH}/${EXTRACTSTO}" - -# configure -#cmake ${CONFOPTS} ${TRILINOS_SOURCE} - -# make -#make -j${PROCS} -#make install -} - -package_specific_register () { - export TRILINOS_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/trilinos_intel.package b/FEniCS/packages/trilinos_intel.package deleted file mode 100644 index 22aae22..0000000 --- a/FEniCS/packages/trilinos_intel.package +++ /dev/null @@ -1,36 +0,0 @@ -NAME=trilinos-10.10.2-Source -SOURCE=http://trilinos.sandia.gov/download/files/ -PACKING=.tar.gz -BUILDCHAIN=cmake - -MKLINCLUDE="/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/include" -COMPILERFLAGS="'-fPIC -DMPICH_IGNORE_CXX_SEEK -m64 -DMKL_ILP64 -lpthread'" -MKLLIBS="\"-lmkl_rt\"" - -CONFOPTS="-D CMAKE_CXX_COMPILER:FILEPATH='mpicxx' - -D CMAKE_C_COMPILER:FILEPATH='mpicc' - -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos - -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON - -D Trilinos_ENABLE_PyTrilinos:BOOL=ON - -D Trilinos_ENABLE_Fortran:BOOL=OFF - -D Trilinos_ENABLE_TESTS:BOOL=ON - -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF - -D CMAKE_BUILD_TYPE:STRING=Release - -D BUILD_SHARED_LIBS:BOOL=ON - -D TPL_ENABLE_MPI:BOOL=ON - -D CMAKE_CXX_FLAGS:STRING=${COMPILERFLAGS} - -D CMAKE_C_FLAGS:STRING=${COMPILERFLAGS} - -D CMAKE_SKIP_BUILD_RPATH:BOOL=ON - -D CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF - -D BLAS_INCLUDE_DIRS:PATH=${MKLINCLUDE} - -D LAPCK_INCLUDE_DIRS:PATH=${MKLINCLUDE} - -D TPL_BLAS_LIBRARIES:STRING=${MKLLIBS} - -D TPL_LAPACK_LIBRARIES:STRING=${MKLLIBS}" - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi - -package_specific_register () { - export TRILINOS_DIR=${INSTALL_PATH} -} diff --git a/FEniCS/packages/ufc-snapshot.package b/FEniCS/packages/ufc-snapshot.package deleted file mode 100644 index 676efe4..0000000 --- a/FEniCS/packages/ufc-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=ufc-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/ufc/ -PACKING=.tar.gz diff --git a/FEniCS/packages/ufc-stable.package b/FEniCS/packages/ufc-stable.package deleted file mode 100644 index a8ae9c0..0000000 --- a/FEniCS/packages/ufc-stable.package +++ /dev/null @@ -1,6 +0,0 @@ -VERSION=2.3.0 -NAME=ufc-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/ufc-deprecated/downloads/ -PACKING=.tar.gz -CHECKSUM=11ee6ff8b7b44705932c6ebc6ae265d3 -BUILDCHAIN=cmake diff --git a/FEniCS/packages/ufc.package b/FEniCS/packages/ufc.package deleted file mode 100644 index 8a04e2f..0000000 --- a/FEniCS/packages/ufc.package +++ /dev/null @@ -1,20 +0,0 @@ -NAME=ufc-deprecated -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=nothing - -if [ -x "${SWIG_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}" -fi - -if [ ! -z "${PYTHON_EXECUTABLE}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}" -fi - -if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}" -fi - -if [ ! -z "${PYTHON_LIBRARY}" ]; then - CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}" -fi diff --git a/FEniCS/packages/ufl-snapshot.package b/FEniCS/packages/ufl-snapshot.package deleted file mode 100644 index 9778e0c..0000000 --- a/FEniCS/packages/ufl-snapshot.package +++ /dev/null @@ -1,4 +0,0 @@ -VERSION=snapshot -NAME=ufl-${VERSION} -SOURCE=http://fenicsproject.org/pub/software/ufl/ -PACKING=.tar.gz diff --git a/FEniCS/packages/ufl-stable.package b/FEniCS/packages/ufl-stable.package deleted file mode 100644 index 3fcbf25..0000000 --- a/FEniCS/packages/ufl-stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.4.0 -NAME=ufl-${VERSION} -SOURCE=https://bitbucket.org/fenics-project/ufl/downloads/ -PACKING=.tar.gz -CHECKSUM=4c04628f3dd8e68bbfe7af0f4ed583eb diff --git a/FEniCS/packages/ufl.package b/FEniCS/packages/ufl.package deleted file mode 100644 index d75bb9a..0000000 --- a/FEniCS/packages/ufl.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=ufl -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/uflacs.package b/FEniCS/packages/uflacs.package deleted file mode 100644 index 6792e6a..0000000 --- a/FEniCS/packages/uflacs.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=uflacs -SOURCE=https://bitbucket.org/fenics-project/ -PACKING=git -BUILDCHAIN=python diff --git a/FEniCS/packages/viper-stable.package b/FEniCS/packages/viper-stable.package deleted file mode 100644 index 4631ba1..0000000 --- a/FEniCS/packages/viper-stable.package +++ /dev/null @@ -1,5 +0,0 @@ -VERSION=1.0.0 -NAME=viper-${VERSION} -SOURCE=http://launchpad.net/fenics-viper/1.0.x/${VERSION}/+download/ -PACKING=.tar.gz -CHECKSUM=4aa7d37934c98e637b45eb9cc7d03cdd diff --git a/FEniCS/packages/viper.package b/FEniCS/packages/viper.package deleted file mode 100644 index beceebf..0000000 --- a/FEniCS/packages/viper.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=fenics-viper -SOURCE=lp: -PACKING=bzr -BUILDCHAIN=python diff --git a/FEniCS/packages/vtk.package b/FEniCS/packages/vtk.package deleted file mode 100644 index c4c16da..0000000 --- a/FEniCS/packages/vtk.package +++ /dev/null @@ -1,26 +0,0 @@ -NAME=vtk-5.10.1 -SOURCE=http://www.vtk.org/files/release/5.10/ -PACKING=.tar.gz -BUILDCHAIN=cmake -EXTRACTSTO=VTK5.10.1 - -CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release - -D BUILD_TESTING:BOOL=OFF - -D BUILD_SHARED_LIBS:BOOL=ON - -D VTK_WRAP_PYTHON:BOOL=ON - -D VTK_USE_TK:BOOL=ON - -D VTK_USE_GL2PS:BOOL=ON - -D VTK_USE_QT:BOOL=ON" - -if [ -d "${VTK_DATA_ROOT}" ]; then - CONFOPTS="${CONFOPTS} -D VTK_DATA_ROOT:PATH=${VTK_DATA_ROOT}" -fi - -package_specific_setup () { -# chmod 600 Utilities/vtktiff/tif_fax3sm.c -} - -package_specific_register () { - export LD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${LD_LIBRARY_PATH} - export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${DYLD_LIBRARY_PATH} -} diff --git a/FEniCS/packages/vtkdata.package b/FEniCS/packages/vtkdata.package deleted file mode 100644 index 80e74a4..0000000 --- a/FEniCS/packages/vtkdata.package +++ /dev/null @@ -1,9 +0,0 @@ -NAME=vtkdata-5.10.1 -SOURCE=http://www.vtk.org/files/release/5.10/ -PACKING=.tar.gz -BUILDCHAIN=custom -EXTRACTSTO=VTKData5.10.1 - -package_specific_register () { - export VTK_DATA_ROOT=${PWD} -} diff --git a/FEniCS/packages/vtkwithqt.package b/FEniCS/packages/vtkwithqt.package deleted file mode 100644 index 7bcf02b..0000000 --- a/FEniCS/packages/vtkwithqt.package +++ /dev/null @@ -1,26 +0,0 @@ -NAME=vtk-5.10.1 -SOURCE=http://www.vtk.org/files/release/5.10/ -PACKING=.tar.gz -BUILDCHAIN=cmake -EXTRACTSTO=VTK5.10.1 - -CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release - -D BUILD_TESTING:BOOL=OFF - -D BUILD_SHARED_LIBS:BOOL=ON - -D VTK_WRAP_PYTHON:BOOL=ON - -D VTK_USE_TK:BOOL=ON - -D VTK_USE_GL2PS:BOOL=ON - -D VTK_USE_QT=ON" - -if [ -d "${VTK_DATA_ROOT}" ]; then - CONFOPTS="${CONFOPTS} -D VTK_DATA_ROOT:PATH=${VTK_DATA_ROOT}" -fi - -package_specific_setup () { -# chmod 600 Utilities/vtktiff/tif_fax3sm.c -} - -package_specific_register () { - export LD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${LD_LIBRARY_PATH} - export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${DYLD_LIBRARY_PATH} -} diff --git a/FEniCS/packages/zlib.package b/FEniCS/packages/zlib.package deleted file mode 100644 index 1c7207a..0000000 --- a/FEniCS/packages/zlib.package +++ /dev/null @@ -1,4 +0,0 @@ -NAME=zlib-1.2.7 -SOURCE=http://zlib.net/ -PACKING=.tar.gz -BUILDCHAIN=autotools diff --git a/FEniCS/patches/armadillo_no_mkl.patch b/FEniCS/patches/armadillo_no_mkl.patch deleted file mode 100644 index d243c82..0000000 --- a/FEniCS/patches/armadillo_no_mkl.patch +++ /dev/null @@ -1,16 +0,0 @@ -Hack to prevent Armadillo from picking up MKL when we want to build with ATLAS. ---- armadillo-3.2.3.orig/CMakeLists.txt 2012-12-13 11:18:32.399393689 +0100 -+++ armadillo-3.2.3/CMakeLists.txt 2012-12-13 11:18:43.595393294 +0100 -@@ -72,9 +72,9 @@ - else() - set(ARMA_OS unix) - -- include(ARMA_FindMKL) -- include(ARMA_FindACMLMP) -- include(ARMA_FindACML) -+ #include(ARMA_FindMKL) -+ #include(ARMA_FindACMLMP) -+ #include(ARMA_FindACML) - - message(STATUS "MKL_FOUND = ${MKL_FOUND}") - message(STATUS "ACMLMP_FOUND = ${ACMLMP_FOUND}") diff --git a/FEniCS/patches/cgal.patch b/FEniCS/patches/cgal.patch deleted file mode 100644 index 15b41ed..0000000 --- a/FEniCS/patches/cgal.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/CGAL/KDS_Log.cpp~ 2009-07-24 13:41:31.000000000 +0100 -+++ src/CGAL/KDS_Log.cpp 2010-01-20 17:38:15.000000000 +0000 -@@ -23,7 +23,7 @@ - #include - #include - CGAL_BEGIN_NAMESPACE --Log::State Log::state_; -+// Log::State Log::state_; - CGAL_END_NAMESPACE - CGAL_KINETIC_BEGIN_INTERNAL_NAMESPACE - diff --git a/FEniCS/patches/dolfin-armadillo-test.patch b/FEniCS/patches/dolfin-armadillo-test.patch deleted file mode 100644 index a3993e8..0000000 --- a/FEniCS/patches/dolfin-armadillo-test.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Nru dolfin-1.0-beta.orig/cmake/modules/FindArmadillo.cmake dolfin-1.0-beta/cmake/modules/FindArmadillo.cmake ---- dolfin-1.0-beta.orig/cmake/modules/FindArmadillo.cmake 2011-09-23 11:17:38.459186000 -0500 -+++ dolfin-1.0-beta/cmake/modules/FindArmadillo.cmake 2011-09-23 11:20:56.447560000 -0500 -@@ -173,6 +173,13 @@ - endif() - endif() - -+# Armadillo test is not working, but this does not seem to be a problem, -+# so ignore a failed test -+if (NOT ARMADILLO_TEST_RUNS) -+ MESSAGE( "Warning: Armadillo test run failed. Ignoring." ) -+ set(ARMADILLO_TEST_RUNS TRUE) -+endif() -+ - # Standard package handling - include(FindPackageHandleStandardArgs) - find_package_handle_standard_args(Armadillo \ No newline at end of file diff --git a/FEniCS/patches/madlib.patch b/FEniCS/patches/madlib.patch deleted file mode 100644 index c512a2e..0000000 --- a/FEniCS/patches/madlib.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -Nru madlib-1.3.0.orig/Benchmarks/moveIt/Parameters.h madlib-1.3.0/Benchmarks/moveIt/Parameters.h ---- madlib-1.3.0.orig/Benchmarks/moveIt/Parameters.h 2010-11-12 15:00:57.000000000 +0100 -+++ madlib-1.3.0/Benchmarks/moveIt/Parameters.h 2010-11-12 15:00:57.000000000 +0100 -@@ -18,6 +18,7 @@ - #include "SizeFieldBase.h" - #include "LocalSizeField.h" - -+#include - #include - using std::string; - #include -diff -Nru madlib-1.3.0.orig/configure madlib-1.3.0/configure ---- madlib-1.3.0.orig/configure 2010-11-12 15:00:57.000000000 +0100 -+++ madlib-1.3.0/configure 2010-11-17 15:58:05.000000000 +0100 -@@ -18697,7 +18697,7 @@ - - - includedir="${prefix}/include/MAdLib" --allincludedir="${prefix}/include_all/MAdLib" -+allincludedir="${prefix}/include/MAdLib" - - - -diff -Nru madlib-1.3.0.orig/configure.ac madlib-1.3.0/configure.ac ---- madlib-1.3.0.orig/configure.ac 2010-11-12 15:00:57.000000000 +0100 -+++ madlib-1.3.0/configure.ac 2010-11-17 15:58:14.000000000 +0100 -@@ -724,7 +724,7 @@ - AC_CONFIG_MACRO_DIR([m4]) - - includedir="${prefix}/include/MAdLib" --allincludedir="${prefix}/include_all/MAdLib" -+allincludedir="${prefix}/include/MAdLib" - - dnl Write output - AC_SUBST(UNAME) -diff -Nru madlib-1.3.0.orig/Mesh/MshTags.h madlib-1.3.0/Mesh/MshTags.h ---- madlib-1.3.0.orig/Mesh/MshTags.h 2010-11-12 15:00:57.000000000 +0100 -+++ madlib-1.3.0/Mesh/MshTags.h 2010-11-12 15:00:57.000000000 +0100 -@@ -14,6 +14,7 @@ - #ifndef MSHTAGS__H - #define MSHTAGS__H - -+#include - #include - #include - diff --git a/FEniCS/patches/petsc.patch b/FEniCS/patches/petsc.patch deleted file mode 100644 index 2f403eb..0000000 --- a/FEniCS/patches/petsc.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Nru petsc-3.2-p6.orig/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu petsc-3.2-p6/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu ---- petsc-3.2-p6.orig/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu 2012-02-09 14:29:16.530465405 +0100 -+++ petsc-3.2-p6/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu 2012-02-09 14:51:53.720465807 +0100 -@@ -15,7 +15,7 @@ - #include - #include - #include --#include -+//#include - - #include - -@@ -430,7 +430,8 @@ - // the Cusp one is 2x faster, but still not optimal - // This could possibly be done in-place - ierr = PetscInfo(J, "Compressing matrices\n");CHKERRQ(ierr); -- cusp::detail::device::reduce_by_key -+ //cusp::detail::device::reduce_by_key -+ thrust::reduce_by_key - (thrust::make_zip_iterator(thrust::make_tuple(diagCOO.row_indices.begin(), diagCOO.column_indices.begin())) + diagonalOffset, - thrust::make_zip_iterator(thrust::make_tuple(diagCOO.row_indices.end(), diagCOO.column_indices.end())), - diagCOO.values.begin() + diagonalOffset, -@@ -438,7 +439,8 @@ - A.values.begin(), - thrust::equal_to< thrust::tuple >(), - thrust::plus()); -- cusp::detail::device::reduce_by_key -+ //cusp::detail::device::reduce_by_key -+ thrust::reduce_by_key - (thrust::make_zip_iterator(thrust::make_tuple(offdiagCOO.row_indices.begin(), offdiagCOO.column_indices.begin())) + offdiagonalOffset, - thrust::make_zip_iterator(thrust::make_tuple(offdiagCOO.row_indices.end(), offdiagCOO.column_indices.end())), - offdiagCOO.values.begin() + offdiagonalOffset, -diff -Nru petsc-3.2-p6.orig/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu petsc-3.2-p6/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu ---- petsc-3.2-p6.orig/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu 2012-02-09 14:30:01.830465419 +0100 -+++ petsc-3.2-p6/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu 2012-02-09 14:51:55.470465809 +0100 -@@ -14,7 +14,7 @@ - #include - #include - #include --#include -+//#include - - #include - -@@ -258,9 +258,10 @@ - // sum values with the same (i,j) index - // XXX thrust::reduce_by_key is unoptimized right now, so we provide a SpMV-based one in cusp::detail - // the Cusp one is 2x faster, but still not optimal -+ // FEniCS patch: reduce_by_key is removed in Cusp 0.3, so we use the Thrust version to ensure compatiblity - // This could possibly be done in-place - ierr = PetscInfo(J, "Compressing matrix\n");CHKERRQ(ierr); --#if 1 -+#if 0 - cusp::detail::device::reduce_by_key - (thrust::make_zip_iterator(thrust::make_tuple(COO.row_indices.begin(), COO.column_indices.begin())), - thrust::make_zip_iterator(thrust::make_tuple(COO.row_indices.end(), COO.column_indices.end())), diff --git a/FEniCS/patches/python.patch b/FEniCS/patches/python.patch deleted file mode 100644 index 42c5195..0000000 --- a/FEniCS/patches/python.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Nru Python-2.7.2.orig/Makefile.pre.in Python-2.7.2/Makefile.pre.in ---- Python-2.7.2.orig/Makefile.pre.in 2013-04-08 12:39:28.000000000 +0200 -+++ Python-2.7.2/Makefile.pre.in 2013-04-08 12:40:25.000000000 +0200 -@@ -426,7 +426,7 @@ - libpython$(VERSION).so: $(LIBRARY_OBJS) - if test $(INSTSONAME) != $(LDLIBRARY); then \ - $(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ -- $(LN) -f $(INSTSONAME) $@; \ -+ $(LN) -fs $(INSTSONAME) $@; \ - else \ - $(BLDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ - fi -@@ -792,7 +792,7 @@ - then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ - else true; \ - fi -- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)) -+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) $(PYTHON)) - -rm -f $(DESTDIR)$(BINDIR)/python-config - (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config) - -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC) diff --git a/FEniCS/patches/scientificpython.patch b/FEniCS/patches/scientificpython.patch deleted file mode 100644 index b3ad83d..0000000 --- a/FEniCS/patches/scientificpython.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Nru ScientificPython-2.8.orig/setup.py ScientificPython-2.8/setup.py ---- ScientificPython-2.8.orig/setup.py 2008-10-28 14:31:44.000000000 +0100 -+++ ScientificPython-2.8/setup.py 2010-08-20 09:29:16.000000000 +0200 -@@ -40,13 +40,17 @@ - extra_compile_args.append("-DNUMARRAY=1") - else : - extra_compile_args.append("-DNUMPY=1") -- if sys.platform == 'win32': -- arrayobject_h_include = [os.path.join(sys.prefix, -- "Lib/site-packages/numpy/core/include")] -- else: -- arrayobject_h_include = [os.path.join(sys.prefix, -- "lib/python%s.%s/site-packages/numpy/core/include" -- % sys.version_info [:2])] -+ try: -+ import numpy -+ arrayobject_h_include = [numpy.get_include()] -+ except ImportError: -+ if sys.platform == 'win32': -+ arrayobject_h_include = [os.path.join(sys.prefix, -+ "Lib/site-packages/numpy/core/include")] -+ else: -+ arrayobject_h_include = [os.path.join(sys.prefix, -+ "lib/python%s.%s/site-packages/numpy/core/include" -+ % sys.version_info [:2])] - - math_libraries = [] - if sys.platform != 'win32': diff --git a/FEniCS/patches/slepc.patch b/FEniCS/patches/slepc.patch deleted file mode 100644 index 963209f..0000000 --- a/FEniCS/patches/slepc.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nru slepc-3.4.1.orig/config/configure.py slepc-3.4.1/config/configure.py ---- slepc-3.4.1.orig/config/configure.py 2013-08-14 10:14:04.157596562 +0200 -+++ slepc-3.4.1/config/configure.py 2013-08-14 10:14:37.341561962 +0200 -@@ -297,8 +297,8 @@ - pkgconfig = open(os.sep.join([pkgconfigdir,'SLEPc.pc']),'w') - except: - sys.exit('ERROR: cannot create pkgconfig file in ' + pkgconfigdir) --if prefixinstall and os.path.isfile(os.sep.join([prefixdir,'include','slepc.h'])): -- sys.exit('ERROR: prefix directory ' + prefixdir + ' contains files from a previous installation') -+#if prefixinstall and os.path.isfile(os.sep.join([prefixdir,'include','slepc.h'])): -+# sys.exit('ERROR: prefix directory ' + prefixdir + ' contains files from a previous installation') - - # Create temporary directory and makefile for running tests - try: diff --git a/FEniCS/patches/trilinos.patch b/FEniCS/patches/trilinos.patch deleted file mode 100644 index 1c4b827..0000000 --- a/FEniCS/patches/trilinos.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nru trilinos-11.0.3-Source.orig/cmake/TPLs/FindTPLUMFPACK.cmake trilinos-11.0.3-Source/cmake/TPLs/FindTPLUMFPACK.cmake ---- trilinos-11.0.3-Source.orig/cmake/TPLs/FindTPLUMFPACK.cmake 2012-11-21 10:00:57.966984315 +0100 -+++ trilinos-11.0.3-Source/cmake/TPLs/FindTPLUMFPACK.cmake 2012-11-21 10:08:21.946968616 +0100 -@@ -55,7 +55,14 @@ - - INCLUDE(TribitsTplDeclareLibraries) - --TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK -- REQUIRED_HEADERS umfpack.h amd.h UFconfig.h -- REQUIRED_LIBS_NAMES umfpack amd -- ) -+IF (APPLE) -+ TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK -+ REQUIRED_HEADERS umfpack.h amd.h UFconfig.h -+ REQUIRED_LIBS_NAMES umfpack amd SuiteSparse -+ ) -+ELSE() -+ TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK -+ REQUIRED_HEADERS umfpack.h amd.h UFconfig.h -+ REQUIRED_LIBS_NAMES umfpack amd -+ ) -+ENDIF() -diff -Nru trilinos-11.0.3-Source.orig/packages/PyTrilinos/src/CMakeLists.txt trilinos-11.0.3-Source/packages/PyTrilinos/src/CMakeLists.txt ---- trilinos-11.0.3-Source.orig/packages/PyTrilinos/src/CMakeLists.txt 2012-11-21 10:00:58.226984311 +0100 -+++ trilinos-11.0.3-Source/packages/PyTrilinos/src/CMakeLists.txt 2012-11-21 10:09:24.498966402 +0100 -@@ -195,6 +195,10 @@ - PROPERTIES LINK_FLAGS "${EXTRA_LINK_ARGS}" - ) - -+if (APPLE) -+ TARGET_LINK_LIBRARIES(pytrilinos ${PYTHON_LIBRARIES}) -+endif() -+ - # - # Define the PyTrilinos swig setup - SET(CMAKE_SWIG_FLAGS "") diff --git a/FEniCS/platforms/.single b/FEniCS/platforms/.single deleted file mode 100644 index e69de29..0000000 diff --git a/FEniCS/platforms/supported/centos7.platform b/FEniCS/platforms/supported/centos7.platform deleted file mode 100644 index 28ced4a..0000000 --- a/FEniCS/platforms/supported/centos7.platform +++ /dev/null @@ -1,74 +0,0 @@ -# CentOS/RHEL 7 - -# This build script assumes that you have several packages already -# installed via RHEL's yum using the following command: -# -# Install the EPEL 7 repository. -# Install the nux-dextop or rpmfusion el7 repository. -# -# su -c 'yum groupinstall "Development and Creative Workstation"' -# su -c 'yum groupinstall "Development Tools"' -# -# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \ -# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \ -# atlas-devel suitesparse-devel blas-devel lapack-devel python-devel cmake \ -# mpfr-devel armadillo-devel gmp-devel cppunit-devel flex bison bzip2-devel \ -# python-ply eigen3 hdf5 hdf5-devel vtk-devel vtk-python vtk-qt vtk-qt-python \ -# vtk-qt-tcl vtk-tcl vtk-testing vtkdata.noarch vtk tk tk-devel tcl tcl-devel \ -# netcdf-cxx netcdf-cxx-devel netcdf netcdf-devel' -# -# If you have multiple MPI libraries installed, make sure the -# appropriate version is selected. For this, on a 32-bit operating -# system, run (64bit OS): -# -# module load mpi/openmpi-x86_64 -# -# After CANDI has completed, please make sure the following -# environment variable is set before running any Python DOLFIN -# programs: -# -# export BOOST_DIR=${INSTALL_PATH} -# -# Also, if you are using SELinux, you may need to disable it to run -# DOLFIN programs. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default SCOTCH_ARCH=pc_linux2 -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:boost -once:pcre -once:scientificpython -once:numpy -once:scipy -once:matplotlib -once:ipython -once:sympy -once:cgal -once:bazaar -once:scons -once:mtl -once:hdf5 -once:parmetis -once:swig -once:trilinos -once:petsc -once:slepc -once:armadillo -once:scotch -once:vtkwithqt -fiat -ferari -ufl -ffc -# syfi -viper -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/fedora19.platform b/FEniCS/platforms/supported/fedora19.platform deleted file mode 100644 index e191c03..0000000 --- a/FEniCS/platforms/supported/fedora19.platform +++ /dev/null @@ -1,61 +0,0 @@ -# Fedora 19 - -# This build script assumes that you have several packages already -# installed via Fedora's yum using the following command: -# -# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \ -# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \ -# atlas-devel suitesparse-devel blas-devel \ -# lapack-devel cln-devel ginac-devel python-devel cmake \ -# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \ -# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \ -# vtk vtkdata vtk-devel vtk-python tk tk-devel tcl tcl-devel \ -# sphinx python-sphinx python-numpydoc' -# -# If you have multiple MPI libraries installed, make sure the -# appropriate version is selected. For this, on a 32-bit operating -# system, run: -# -# module load openmpi-i386 -# -# or on a 64-bit operating system, run: -# -# module load openmpi-x86_64 -# -# After Dorsal has completed, please make sure the following -# environment variable is set before running any Python DOLFIN -# programs: -# -# export BOOST_DIR=${INSTALL_PATH} -# -# Also, if you are using SELinux, you may need to disable it to run -# DOLFIN programs. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default SCOTCH_ARCH=pc_linux2 -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:hdf5 -once:boost -once:parmetis -once:trilinos -once:petsc -once:slepc -once:vtkwithqt -# swiginac -# once:scotch -fiat -ferari -ufl -ffc -# syfi -viper -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/fedora20.platform b/FEniCS/platforms/supported/fedora20.platform deleted file mode 100644 index 9783c17..0000000 --- a/FEniCS/platforms/supported/fedora20.platform +++ /dev/null @@ -1,69 +0,0 @@ -# Fedora 20 - -# This build script assumes that you have several packages already -# installed via Fedora's yum using the following command: -# -# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \ -# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \ -# atlas-devel suitesparse-devel blas-devel \ -# lapack-devel cln-devel ginac-devel python-devel cmake \ -# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \ -# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \ -# vtk vtkdata vtk-devel vtk-python tk tk-devel tcl tcl-devel \ -# sphinx python-sphinx python-numpydoc octave-devel' -# -# If you have multiple MPI libraries installed, make sure the -# appropriate version is selected. For this, on a 32-bit operating -# system, run: -# -# module load openmpi-i386 -# -# or on a 64-bit operating system, run: -# -# module load openmpi-x86_64 -# -# After Dorsal has completed, please make sure the following -# environment variable is set before running any Python DOLFIN -# programs: -# -# export BOOST_DIR=${INSTALL_PATH} -# -# Also, if you are using SELinux, you may need to disable it to run -# DOLFIN programs. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default SCOTCH_ARCH=pc_linux2 -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:mpi4py -once:numpy -once:scipy -once:matplotlib -once:ipython -once:sympy -once:hdf5 -once:boost -once:swig -once:parmetis -once:trilinos -once:petsc -once:slepc -# once:sphinx -# swiginac -once:scotch -# once:pastix -fiat -ferari -ufl -ffc -# syfi -viper -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/rhel6.platform b/FEniCS/platforms/supported/rhel6.platform deleted file mode 100644 index 21021a8..0000000 --- a/FEniCS/platforms/supported/rhel6.platform +++ /dev/null @@ -1,70 +0,0 @@ -# RHEL 6 - -# This build script assumes that you have several packages already -# installed via RHEL's yum using the following command: -# -# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \ -# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \ -# vtk-python atlas-devel suitesparse-devel blas-devel \ -# lapack-devel cln-devel ginac-devel python-devel cmake \ -# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \ -# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel' -# -# If you have multiple MPI libraries installed, make sure the -# appropriate version is selected. For this, on a 32-bit operating -# system, run: -# -# module load openmpi-i386 -# -# or on a 64-bit operating system, run: -# -# module load openmpi-x86_64 -# -# After Dorsal has completed, please make sure the following -# environment variable is set before running any Python DOLFIN -# programs: -# -# export BOOST_DIR=${INSTALL_PATH} -# -# Also, if you are using SELinux, you may need to disable it to run -# DOLFIN programs. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default SCOTCH_ARCH=pc_linux2 -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:boost -once:pcre -once:scientificpython -once:numpy -once:scipy -once:matplotlib -once:ipython -once:sympy -once:cgal -once:bazaar -once:scons -once:mtl -once:hdf5 -once:parmetis -once:swig -once:trilinos -once:petsc -once:slepc -once:armadillo -once:scotch -fiat -ferari -ufl -ffc -# syfi -viper -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/rhel7.platform b/FEniCS/platforms/supported/rhel7.platform deleted file mode 100644 index 9f94d63..0000000 --- a/FEniCS/platforms/supported/rhel7.platform +++ /dev/null @@ -1,73 +0,0 @@ -# RHEL 7 - -# This build script assumes that you have several packages already -# installed via RHEL's yum using the following command: -# -# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \ -# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \ -# atlas-devel suitesparse-devel blas-devel \ -# lapack-devel cln-devel ginac-devel python-devel cmake \ -# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \ -# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \ -# hdf5 hdf5-devel vtk-devel vtk-python vtk-qt vtk-qt-python \ -# vtk-qt-tcl vtk-tcl vtk-testing vtkdata.noarch vtk \ -# netcdf-cxx netcdf-cxx-devel netcdf netcdf-devel json-glibc-devel jsoncpp-devel' -# -# If you have multiple MPI libraries installed, make sure the -# appropriate version is selected. For this, on a 32-bit operating -# system, run: -# -# module load openmpi-i386 -# -# or on a 64-bit operating system, run: -# -# module load openmpi-x86_64 -# -# After Dorsal has completed, please make sure the following -# environment variable is set before running any Python DOLFIN -# programs: -# -# export BOOST_DIR=${INSTALL_PATH} -# -# Also, if you are using SELinux, you may need to disable it to run -# DOLFIN programs. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default SCOTCH_ARCH=pc_linux2 -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:boost -once:pcre -once:scientificpython -once:numpy -once:scipy -once:matplotlib -once:ipython -once:sympy -once:cgal -once:bazaar -once:scons -once:mtl -once:hdf5 -once:parmetis -once:swig -once:trilinos -once:petsc -once:slepc -once:armadillo -once:scotch -fiat -ferari -ufl -ffc -# syfi -viper -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/ubuntu13.platform b/FEniCS/platforms/supported/ubuntu13.platform deleted file mode 100644 index 561267b..0000000 --- a/FEniCS/platforms/supported/ubuntu13.platform +++ /dev/null @@ -1,39 +0,0 @@ -# Ubuntu 13.10 (Saucy Salamander) - -# This build script assumes that you have several packages already -# installed via Ubuntu's apt-get using the following commands: -# -# sudo apt-get install bzr bzrtools cmake flex g++ gfortran \ -# libarmadillo-dev libatlas-base-dev libboost-dev \ -# libboost-{filesystem,iostreams,mpi,program-options,thread,math,timer,chrono}-dev \ -# libcln-dev libcppunit-dev libginac-dev \ -# liblapack-dev libmpfr-dev libopenmpi-dev libptscotch-dev \ -# libsuitesparse-dev libxml2-dev openmpi-bin pkg-config \ -# python-dev python-numpy python-scientific python-vtk subversion swig \ -# wget bison libhwloc-dev python-ply libvtk5-dev python-netcdf \ -# libhdf5-openmpi-dev libeigen3-dev -# -# Also, if you have multiple MPI libraries installed, make sure -# "sudo update-alternatives --config mpi" is set to openmpi. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -cgal -parmetis -trilinos -petsc -slepc -fiat -#ferari -ufl -ffc -instant -dolfin -skip:FEniCS -) diff --git a/FEniCS/platforms/supported/ubuntu14.platform b/FEniCS/platforms/supported/ubuntu14.platform deleted file mode 100644 index 7a7997e..0000000 --- a/FEniCS/platforms/supported/ubuntu14.platform +++ /dev/null @@ -1,40 +0,0 @@ -# Ubuntu 14.04 LTS - -# This build script assumes that you have several packages already -# installed via Ubuntu's apt-get using the following commands: -# -# sudo apt-get install bzr bzrtools cmake flex g++ gfortran \ -# libarmadillo-dev libatlas-base-dev libboost-dev \ -# libboost-{filesystem,iostreams,mpi,program-options,thread,math,timer,chrono}-dev \ -# libcln-dev libcppunit-dev libginac-dev \ -# liblapack-dev libmpfr-dev libopenmpi-dev libptscotch-dev \ -# libsuitesparse-dev libxml2-dev openmpi-bin pkg-config \ -# python-dev python-numpy python-scientific python-vtk subversion swig \ -# wget bison libhwloc-dev python-ply libvtk5-dev python-netcdf \ -# libhdf5-openmpi-dev libeigen3-dev libpcre++-dev -# -# Also, if you have multiple MPI libraries installed, make sure -# "sudo update-alternatives --config mpi" is set to openmpi. -## - -# Platform specific variables -default PETSC_ARCH=linux-gnu-cxx-opt -default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse - -# Define the packages this platform needs -PACKAGES=( -skip:FEniCS-prepare -once:cgal -once:parmetis -once:swig -once:trilinos -once:petsc -once:slepc -fiat -#ferari -ufl -ffc -instant -dolfin -skip:FEniCS -) diff --git a/project-FEniCS.cfg b/project-FEniCS.cfg deleted file mode 100644 index 49de330..0000000 --- a/project-FEniCS.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# Global configuration variables go here. You will want to tweak this -# file to suit your needs. If you want to keep local changes that are -# not overwritten by repository updates, those can be written -# to local.cfg instead (entries there will override those in this file). - -# Meta-project to build -PROJECT=FEniCS -CLEAN_BUILD=false - -COMPILER=native-openmpi -#COMPILERBASE=gcc-4.9.0 -#COMPILERBASE=llvm -#COMPILERMPI=openmpi-1.6.5 -#COMPILERMPI=mpich-3.0.4 -#COMPILER=${COMPILERBASE}-${COMPILERMPI} - -PREFIX_PATH=~/apps/candi - -# Where do you want the downloaded source files to go? -DOWNLOAD_PATH=${PREFIX_PATH}/src - -# Where do you want to unpack source files to go? -UNPACK_PATH=${PREFIX_PATH}/unpack/${PROJECT} - -# Where do you want the build files to go? -BUILD_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}-build - -# Where do you want the compiled software installed? -INSTALL_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER} - -# How many processes would you like to build using? -PROCS=1 - -# Would you like to build stable versions of projects? -STABLE_BUILD=true -#STABLE_BUILD=false -# Would you like to use snapshots when using STABLE_BUILD=false? -USE_SNAPSHOTS=false -