Browse Source

Modified build_* files to up-to-date version

master
r.a.arostica.barrera@rug.nl 8 months ago
parent
commit
4566ede816
  1. 3
      .gitignore
  2. 21
      intel/build_all.sh
  3. 15
      intel/build_cmake.sh
  4. 78
      intel/build_dolfin.sh
  5. 12
      intel/build_eigen.sh
  6. 145
      intel/build_fenics_pymodules.sh
  7. 16
      intel/build_mshr.sh
  8. 53
      intel/build_petsc.sh
  9. 29
      intel/build_pybind11.sh
  10. 21
      intel/build_python_modules.sh
  11. 25
      intel/build_slepc.sh
  12. 14
      intel/setup_fenics_env.sh
  13. 6
      intel/setup_virtualenv.sh

3
.gitignore

@ -4,3 +4,6 @@
### Ignore log files and slurm output
*.out
*.log
# Ignore build files
/build

21
intel/build_all.sh

@ -8,6 +8,9 @@ set -e
# * master (development version)
# * 2019.1.0.post0 (last stable build)
# Load all required compilers whenever build_cmake.sh is not used
source env_build.sh
# FENICS version
export FENICS_VERSION="2019.1.0.post0"
@ -28,16 +31,16 @@ export continue_on_key=true
echo "Installing FEniCS to ${PREFIX}"
./build_cmake.sh
./setup_virtualenv.sh # if not, make sure virtualenv fenics-${tag} exists!!
#./build_petsc.sh
# ./build_slepc.sh
# # ./build_eigen.sh # replace this by system modules?
./build_petsc.sh
./build_slepc.sh
./build_python_modules.sh
./build_fenics_pymodules.sh # ffc fiat ufl uflacs instant
# # ./build_doxygen.sh # system version 1.8.8 not working with dolfin, 1.8.13 reported buggy, use 1.8.12 (sep2017)
./build_pybind11.sh
./build_dolfin.sh
./build_mshr.sh
./setup_fenics_env.sh
#./build_python_modules.sh
#./build_fenics_pymodules.sh # ffc fiat ufl uflacs instant
#./build_pybind11.sh
#./build_dolfin.sh
#./build_mshr.sh
#./setup_fenics_env.sh
# run with $ ./build_all.sh |& tee -a build.log

15
intel/build_cmake.sh

@ -1,5 +1,18 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
## COMMENT THIS SECTION WHEN ./build_all.sh works without errors ##
#set -e
#export FENICS_VERSION="2019.1.0.post0"
#export TAG="${FENICS_VERSION}-intel2018a"
#
#export BUILD_THREADS=1
#export PREFIX=$HOME/dev/fenics-${TAG}
#export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
#
#export PYTHON_VERSION="3.6"
#
## ------------------------------------------------------------- ##
CMAKE_VERSION="3.11.1"

78
intel/build_dolfin.sh

@ -1,10 +1,23 @@
#!/bin/bash
source env_build.sh
export PETSC_DIR=${PREFIX}
# export SLEPC_DIR=${PREFIX}
## COMMENT THIS SECTION IF ./build_all.sh works ##
set -e
#source env_build.sh
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
## --------------------------------------------- ##
mkdir -p $BUILD_DIR/tar
mkdir -p $BUILD_DIR/tar
export PETSC_DIR=${PREFIX}
#export SLEPC_DIR=${PREFIX}
echo "Downloading and building dolfin ${FENICS_VERSION}"
@ -12,41 +25,43 @@ export BLA_VENDOR="Intel10_64lp"
export PYBIND11_DIR=$PREFIX
cd $BUILD_DIR && \
git clone https://bitbucket.org/fenics-project/dolfin.git && \
##git clone https://bitbucket.org/fenics-project/dolfin.git && \
cd dolfin && \
git checkout ${FENICS_VERSION} && \
mkdir -p build && \
cd build && \
pew in fenics-${TAG} cmake .. \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DDOLFIN_USE_PYTHON3=ON \
-DPYTHON_EXECUTABLE:FILEPATH=$(pew in fenics-${TAG} which python${PYTHON_VERSION}) \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DDOLFIN_AUTO_DETECT_MPI=OFF \
-DMPI_CXX_COMPILER=mpicxx \
-DMPI_C_COMPILER=mpicc \
-DBLA_VENDOR="Intel10_64lp" \
-DDOLFIN_ENABLE_DOCS=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DDOLFIN_ENABLE_SPHINX=OFF \
-DDOLFIN_ENABLE_UMFPACK=ON \
-DDOLFIN_ENABLE_CHOLMOD=ON \
-DDOLFIN_ENABLE_TRILINOS=OFF \
-DDOLFIN_ENABLE_BENCHMARKS=ON \
-DDOLFIN_ENABLE_VTK=OFF \
-DZLIB_INCLUDE_DIR=${PREFIX}/include \
-DZLIB_ROOT=${EBROOTZLIB} \
-DEIGEN3_INCLUDE_DIR=${EBROOTEIGEN}/include \
-DPETSC_INCLUDE_DIRS=${PREFIX}/include \
-DPETSC4PY_INCLUDE_DIRS=$(pew in fenics-${TAG} pew sitepackages_dir)/petsc4py/include \
-DCMAKE_PREFIX_PATH=${PREFIX} \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DDOLFIN_USE_PYTHON3=ON \
-DPYTHON_EXECUTABLE:FILEPATH=$(pew in fenics-${TAG} which python${PYTHON_VERSION}) \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DDOLFIN_AUTO_DETECT_MPI=OFF \
-DMPI_CXX_COMPILER=mpicxx \
-DMPI_C_COMPILER=mpicc \
-DBLA_VENDOR="Intel10_64lp" \
-DDOLFIN_ENABLE_DOCS=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DDOLFIN_ENABLE_SPHINX=OFF \
-DDOLFIN_ENABLE_UMFPACK=ON \
-DDOLFIN_ENABLE_CHOLMOD=ON \
-DDOLFIN_ENABLE_TRILINOS=OFF \
-DDOLFIN_ENABLE_BENCHMARKS=ON \
-DDOLFIN_ENABLE_VTK=OFF \
-DZLIB_INCLUDE_DIR=${PREFIX}/include \
-DZLIB_ROOT=${EBROOTZLIB} \
-DEIGEN3_INCLUDE_DIR=${EBROOTEIGEN}/include \
-DPETSC_INCLUDE_DIRS=${PREFIX}/include \
-DPETSC4PY_INCLUDE_DIRS=$(pew in fenics-${TAG} pew sitepackages_dir)/petsc4py/include \
2>&1 | tee cmake.log && \
pew in fenics-${TAG} make -j ${BUILD_THREADS} && \
pew in fenics-${TAG} make install && \
cd $BUILD_DIR/dolfin/python && pew in fenics-${TAG} pip3 -v install .
cd $BUILD_DIR/dolfin/python && \
DOLFIN_DIR=${PREFIX} pew in fenics-${TAG} pip3 -v install .
# -DEIGEN3_INCLUDE_DIR:FILEPATH=${PREFIX}/include/eigen3 \
# -DHDF5_ROOT=${EB} \
# -DSWIG_EXECUTABLE:FILEPATH=${PREFIX}/bin/swig \
@ -70,6 +85,7 @@ cd $BUILD_DIR && \
# -DZLIB_LIBRARY=${ZLIB_DIR}/lib/libz.a \
# -DZLIB_INCLUDE_DIR=${ZLIB_DIR}/include \
if [ "$continue_on_key" = true ]; then
echo "Press any key to continue..."
read -n 1

12
intel/build_eigen.sh

@ -1,6 +1,18 @@
#!/bin/bash
source env_build.sh
## COMMENT WHEN ./build_all.sh WORKS WITHOUT PROBLEMS ##
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
## -------------------------------------------------- ##
VERSION="3.3.4"
echo "Downloading and building EIGEN ${VERSION}"

145
intel/build_fenics_pymodules.sh

@ -1,95 +1,102 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
# mkdir -p $BUILD_DIR/tar
# mkdir -p ${PREFIX}/lib/python2.7/site-packages/
if [[ $FENICS_VERSION == 2019.1.0.post0 ]]; then
PYPI_FENICS_VERSION=">=2019.1.0"
pew in fenics-${TAG} pip3 install fenics${PYPI_FENICS_VERSION}
elif [[ $FENICS_VERSION == "master" ]]; then
for pkg in fiat dijitso ufl ffc; do
cd $BUILD_DIR
if [ -d $pkg ]; then
cd $pkg
git pull
else
git clone https://bitbucket.org/fenics-project/${pkg}.git && \
cd $pkg && \
git checkout $FENICS_VERSION
fi
pew in fenics-${TAG} pip3 install --no-deps --upgrade .
done
else
### COMMENT THIS SECTION WHENEVER ./build all |& tee -a build.log works ###
# it requires the directory ${PREFIX}
# exit on error
set -e
# FEniCS version
export FENICS_VERSION="2019.1.0.post0"
export PKG_VERSION="2019.1.0"
# FIAT
cd $BUILD_DIR && \
wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/fiat/downloads/fiat-${FENICS_VERSION}.tar.gz && \
tar -xf tar/fiat-${FENICS_VERSION}.tar.gz && \
cd fiat-${FENICS_VERSION} && \
pew in fenics-${TAG} python3 setup.py install
# TAG that specificies the name of the build directories and the virtualenv
export TAG="${FENICS_VERSION}-intel2018a"
pew in fenics-${TAG} pip3 install ffc==${FENICS_VERSION} \
dijitso==${FENICS_VERSION} \
instant==${FENICS_VERSION} \
ufl==${FENICS_VERSION}
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
fi
export PYTHON_VERSION="3.6"
### ---------------------------------------------------------------------- ###
if [ "$continue_on_key" = true ]; then
echo "Press any key to continue..."
read -n 1
fi
# # INSTANT
# cd $BUILD_DIR && \
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/instant/downloads/instant-${FENICS_VERSION}.tar.gz && \
# tar -xf tar/instant-${FENICS_VERSION}.tar.gz && \
# cd instant-${FENICS_VERSION} && \
# pew in fenics-${TAG} python3 setup.py install
# if [ "$continue_on_key" = true ]; then
# echo "Press any key to continue..."
# read -n 1
# fi
# mkdir -p $BUILD_DIR/tar
if [[ $FENICS_VERSION == 2019.1.0.post0 ]]; then
PYPI_FENICS_VERSION=">=2019.1.0"
pew in fenics-${TAG} pip3 install fenics-ffc${PYPI_FENICS_VERSION}
elif [[ $FENICS_VERSION == "master" ]]; then
for pkg in fiat dijitso ufl ffc; do
cd $BUILD_DIR
if [ -d $pkg ]; then
cd $pkg
git pull
else
git clone https://bitbucket.org/fenics-project/${pkg}.git && \
cd $pkg && \
git checkout $FENICS_VERSION
fi
pew in fenics-${TAG} pip3 install --no-deps --upgrade .
done
else
# FIAT
cd $BUILD_DIR && \
wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/fiat/downloads/fiat-${FENICS_VERSION}.tar.gz && \
tar -xf tar/fiat-${FENICS_VERSION}.tar.gz && \
cd fiat-${FENICS_VERSION} && \
pew in fenics-${TAG} python3 setup.py install
pew in fenics-${TAG} pip install ffc==${FENICS_VERSION} \
dijitso==${FENICS_VERSION} \
instant==${FENICS_VERSION} \
ufl==${FENICS_VERSION}
fi
if [ "$continue_on_key" = true ]; then
echo "Press any key to continue..."
read -n 1
fi
# # UFL
# cd $BUILD_DIR && \
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/ufl/downloads/ufl-${FENICS_VERSION}.tar.gz && \
# tar -xf tar/ufl-${FENICS_VERSION}.tar.gz && \
# cd ufl-${FENICS_VERSION} && \
# pew in fenics-${TAG} python3 setup.py install
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/ufl/downloads/ufl-${PKG_VERSION}.tar.gz && \
# tar -xf tar/ufl-${PKG_VERSION}.tar.gz && \
# cd ufl-${PKG_VERSION} && \
# pew in fenics-${TAG} python setup.py install
#
# if [ "$continue_on_key" = true ]; then
# echo "Press any key to continue..."
# read -n 1
# fi
#
# # DIJITSO
# cd $BUILD_DIR && \
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-${FENICS_VERSION}.tar.gz && \
# tar -xf tar/dijitso-${FENICS_VERSION}.tar.gz && \
# cd dijitso-${FENICS_VERSION} && \
# pew in fenics-${TAG} python3 setup.py install
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-${PKG_VERSION}.tar.gz && \
# tar -xf tar/dijitso-${PKG_VERSION}.tar.gz && \
# cd dijitso-${PKG_VERSION} && \
# pew in fenics-${TAG} python setup.py install
#
# if [ "$continue_on_key" = true ]; then
# echo "Press any key to continue..."
# read -n 1
# fi
#
# # FFC
# cd $BUILD_DIR && \
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/ffc/downloads/ffc-${FENICS_VERSION}.tar.gz && \
# tar -xf tar/ffc-${FENICS_VERSION}.tar.gz && \
# cd ffc-${FENICS_VERSION} && \
# pew in fenics-${TAG} python3 setup.py install
# wget --quiet --read-timeout=10 -nc -P tar https://bitbucket.org/fenics-project/ffc/downloads/ffc-${PKG_VERSION}.tar.gz && \
# tar -xf tar/ffc-${PKG_VERSION}.tar.gz && \
# cd ffc-${PKG_VERSION} && \
# pew in fenics-${TAG} python setup.py install
#
# if [ "$continue_on_key" = true ]; then
# echo "Press any key to continue..."
# read -n 1
# fi
#

16
intel/build_mshr.sh

@ -1,10 +1,22 @@
#!/bin/bash
source env_build.sh
## COMMENT WHEN ./build_all.sh WORKS WITHOUT ERRORS ##
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
## ------------------------------------------------ ##
mkdir -p $BUILD_DIR/tar
export PETSC_DIR=${PREFIX}
# export MSHR_VERSION="2017.2.0"
export MSHR_VERSION="2019.1.0"
export CFLAGS="-O2 -march=native"
@ -13,7 +25,7 @@ export CXXFLAGS="-O2 -march=native"
echo "Downloading and building mshr $MSHR_VERSION"
cd $BUILD_DIR && \
git clone https://bitbucket.org/fenics-project/mshr.git && \
#git clone https://bitbucket.org/fenics-project/mshr.git && \
cd mshr && \
git checkout $MSHR_VERSION && \
mkdir -p build && \

53
intel/build_petsc.sh

@ -1,51 +1,54 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
# VERSION="3.11.3"
VERSION="3.13.2"
## COMMENT THIS SECTION WHEN ./build_all.sh works without errors ##
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
# export CXXFLAGS="${CXXFLAGS} -std=c++0x"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
mkdir - p ${PREFIX}
# #--------------------------------------------------------------##
#VERSION="3.13.2"
VERSION="3.11.3"
#export CXXFLAGS="${CXXFLAGS} -std=c++0x"
echo "Downloading and building PETSc ${VERSION}"
mkdir -p $BUILD_DIR/tar
cd ${BUILD_DIR} && \
wget --quiet --read-timeout=10 -nc -P tar/ http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VERSION}.tar.gz && \
tar -xzf tar/petsc-lite-${VERSION}.tar.gz && \
# wget --quiet --read-timeout=10 -nc -P tar/ http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VERSION}.tar.gz && \
# tar -xzf tar/petsc-lite-${VERSION}.tar.gz && \
cd petsc-${VERSION} && \
python3 ./configure \
python2 ./configure \
--with-cxx=$MPICXX \
--with-cc=$MPICC \
--with-fc=$MPIF90 \
--with-mpiexec=$MPIEXEC \
--COPTFLAGS="-O3 -xCORE-AVX2" \
--COPTFLAGS="-03 -xCORE-AVX2" \
--CXXOPTFLAGS="-O3 -xCORE-AVX2" \
--FOPTFLAGS="-O3 -xCORE-AVX2" \
--with-c-support \
--with-shared-libraries \
--with-debugging=0 \
--with-blaslapack-dir=${MKLROOT} \
--download-hypre \
--download-mumps \
--download-metis \
--download-parmetis \
--download-suitesparse \
--download-ptscotch \
--download-scalapack \
--download-blacs \
--download-scalapack \
--download-parmetis \
--download-metis \
--download-ptscotch \
--download-blacs \
--download-suitesparse \
--prefix=${PREFIX} && \
make MAKE_NP=${BUILD_THREADS} && make install
# --known-mpi-shared-libraries=1 \
# --with-cc=$MPICC \
# --with-cxx=$MPICXX \
# --with-fc=$MPIF90 \
# --download-ml \
# --download-superlu_dist \
# --with-cxx-dialect=C++11 CXXFLAGS="-std=c++0x" \
make MAKE_NP=${BUILD_THREADS} && make install
if [ "$continue_on_key" = true ]; then
echo "Press any key to continue..."
read -n 1
fi

29
intel/build_pybind11.sh

@ -1,7 +1,22 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
mkdir -p $BUILD_DIR/tar
## COMMENT THIS SECTION WHEN ./build_all.sh works without errors ##
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=4
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
#mkdir -p ${PREFIX}
## ------------------------------------------------------------- ##
#mkdir -p $BUILD_DIR/tar
PYBIND11_VERSION="2.2.4"
@ -9,16 +24,16 @@ echo "Downloading and building pybind11 $PYBIND11_VERSION"
cd ${BUILD_DIR} && \
wget --read-timeout=10 -nc \
https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz -O \
tar/pybind11.tar.gz && \
#wget --read-timeout=10 -nc \
# https://github.com/pybind/pybind11/archive/v${PYBIND11_VERSION}.tar.gz -O \
# tar/pybind11.tar.gz && \
mkdir -p ${BUILD_DIR}/pybind11 && \
tar -xf tar/pybind11.tar.gz -C ${BUILD_DIR}/pybind11 --strip-components=1 && \
cd pybind11 && \
pew in fenics-${TAG} mkdir -p build && \
cd build && \
pew in fenics-${TAG} cmake .. \
-DPYBIND11_TEST=False \
-DCMAKE_INSTALL_PREFIX=${PREFIX} && \
-DPYBIND11_TEST=False \
-DCMAKE_INSTALL_PREFIX=${PREFIX} && \
pew in fenics-${TAG} make && \
pew in fenics-${TAG} make install

21
intel/build_python_modules.sh

@ -1,13 +1,24 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
## COMMENT THIS SECTION WHEN build_all.sh works without errors ##
set -e
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
## ----------------------------------------------------------- ##
export PETSC_DIR=${PREFIX}
export SLEPC_DIR=${PREFIX}
MPI4PY_VERSION=3.0.1 # released on Feb 15, 2019
# PETSC4PY_VERSION=3.8.1
PETSC4PY_VERSION=3.13.0
# SLEPC4PY_VERSION=3.8.0
MPI4PY_VERSION=3.0.0
PETSC4PY_VERSION=3.11.0
# pew in fenics-${TAG} pip3 install -I numpy scipy && \
# pew in fenics-${TAG} \

25
intel/build_slepc.sh

@ -1,22 +1,37 @@
#!/bin/bash
source env_build.sh
#source env_build.sh
SLEPC_VERSION="3.13.3"
## COMMENT THIS SECTION WHEN ./build_all.sh works without errors ##
set -e
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
## ------------------------------------------------------------- ##
SLEPC_VERSION="3.11.2"
# http://slepc.upv.es/download/distrib/slepc-3.11.2.tar.gz
echo "Downloading and building SLEPc ${SLEPC_VERSION}"
mkdir -p $BUILD_DIR/tar
#mkdir -p $BUILD_DIR/tar
cd ${BUILD_DIR} && \
wget --quiet --read-timeout=10 -nc http://slepc.upv.es/download/distrib/slepc-${SLEPC_VERSION}.tar.gz -O tar/slepc-${SLEPC_VERSION}.tar.gz && \
tar -xzf tar/slepc-${SLEPC_VERSION}.tar.gz && \
cd slepc-${SLEPC_VERSION} && \
./configure --prefix=${PREFIX} && \
python2 ./configure --prefix=${PREFIX} && \
make SLEPC_DIR=$PWD PETSC_DIR=${PREFIX} MAKE_NP=${BUILD_THREADS} && \
make SLEPC_DIR=${BUILD_DIR}/slepc-${SLEPC_VERSION} PETSC_DIR=${PREFIX} install
# python3 ./configure --prefix=${PREFIX} && \
# python2 ./configure --prefix=${PREFIX} && \
# make MAKE_NP=${BUILD_THREADS} && \
# make install

14
intel/setup_fenics_env.sh

@ -1,6 +1,20 @@
#!/bin/bash
source env_build.sh
## COMMENT THIS SECTION WHEN ./build_all.sh WORKS WITHOUT ERRORS ##
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
export BUILD_THREADS=1
export PREFIX=${HOME}/dev/fenics-${TAG}
export BUILD_DIR=${HOME}/dev/build/fenics-${TAG}
export PYTHON_VERSION="3.6"
## ------------------------------------------------------------- ##
pew in fenics-${TAG} pew add ${PREFIX}/lib/python${PYTHON_VERSION}/site-packages
# pew in fenics-${TAG} pew add ${PREFIX}/lib64/python${PYTHON_VERSION}/site-packages

6
intel/setup_virtualenv.sh

@ -1,6 +1,12 @@
#!/bin/bash
## COMMENT THIS SECTION WHEN ./build_all.sh works without errors ##
source env_build.sh
export FENICS_VERSION="2019.1.0.post0"
export TAG="${FENICS_VERSION}-intel2018a"
## ------------------------------------------------------------- ##
pew new -d fenics-${TAG} -i ply

Loading…
Cancel
Save