Dear all,
I was trying to install dealii version 9.0.1 on my department cluster using candi first,
Before installing it, I install openmpi-3.0.0-intel
git clone https://github.com/dealii/candi
cd candi
./candi.sh -j 12 --platform=./deal.II-toolchain/platforms/supported/linux_cluster.platform -p /opt/bin/
but I got the following messages:
This is candi (compile and install)
Project: deal.II-toolchain: Found configuration.
using (user-forced) ././deal.II-toolchain/platforms/supported/linux_cluster.platform.
Operating System Type detected as: linux
Dynamic shared library file extension detected as: *.so
Please read carefully your operating system notes below!
linux
This build script assumes that you have at least the packages:
automake, autoconf, cmake, gcc, openmpi, blas, lapack, and
git, cmake, zlib and bzip2
installed.
The packages
git, cmake, zlib and bzip2
can be installed with candi by selecting them in the candi.cfg file.
Please note that this platform description is only a hint for
dependencies and cannot ensure a successful build. Look into other
platform descriptions for further dependencies.
Please make sure you’ve read the instructions above and your system
is ready for installing deal.II-toolchain.
If not, please abort the installer by pressing <CTRL> + <C> !
Then copy and paste these instructions into this terminal.
Once ready, hit enter to continue!
candi tries now to download, configure, build and install:
Project: deal.II-toolchain
Platform: ./deal.II-toolchain/platforms/supported/linux_cluster.platform
Downloading files to: /opt/bin//tmp/src
Unpacking files to: /opt/bin//tmp/unpack
Building packages in: /opt/bin//tmp/build
Installing packages in: /opt/bin/
Package configuration in: /opt/bin//configuration
Number of (at most) build processes to use: PROCS=12
Packages:
load:dealii-prepare
once:opencascade
once:parmetis
once:hdf5
once:p4est
once:trilinos
once:petsc
once:slepc
dealii
Building stable releases of deal.II-toolchain packages.
Currently loaded modulefiles:
No Modulefiles Currently Loaded.
Compiler Variables:
CC = /opt/openmpi-3.0.0-intel/bin/mpicc
CXX = /opt/openmpi-3.0.0-intel/bin/mpicxx
FC = /opt/openmpi-3.0.0-intel/bin/mpif90
FF = /opt/openmpi-3.0.0-intel/bin/mpif77
Once ready, hit enter to continue!
After that I got the following error:
[ 92%] Building CXX object examples/CMakeFiles/step-10.release.dir/step-10/step-10.cc.o
…
…
make[2]: *** [bin/step-13.release] Error 1
make[1]: *** [examples/CMakeFiles/step-13.release.dir/all] Error 2
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()’
make[2]: *** [bin/step-12.release] Error 1
make[1]: *** [examples/CMakeFiles/step-12.release.dir/all] Error 2
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()’
…/lib/libdeal_II.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()’
make[2]: *** [bin/step-16.release] Error 1
make[1]: *** [examples/CMakeFiles/step-16.release.dir/all] Error 2
[ 92%] Built target deal_II.g
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building dealii v9.0.1.
Many thanks for any suggestion.
michael