Cmake error
Hello,
I'm trying to build Chameleon, but the Cmake generation fails, see attached file. Result is the same if I disable static library generation (static becomes shared in error messages).
The problem appears with the MR https://gitlab.inria.fr/solverstack/chameleon/-/merge_requests/236
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Philippe SWARTVAGHER added Bug CMake labels
- Owner
Can you please propose a quick PR ? You just have to add "ARCHIVE lib" in the install commands of the libraries. Thanks. Except if @fpruvost knows another solution :)
- Author Developer
Well... I made this patch, but now I have a lot of errors at the end of the cmake generation (see attached file).
- Author Developer
Even on a fresh clone, correct revision of morse_cmake (which already was), I have the problem.
I use the StarPU master with NewMadeleine.
% cmake --version cmake version 3.13.4
- Author Developer
And with the master of StarPU ? I think the Debian is a little bit out of date...
- Philippe SWARTVAGHER mentioned in issue starpu/starpu#15 (closed)
mentioned in issue starpu/starpu#15 (closed)
- Author Developer
The problem is present only on Debian:
docker run -it debian export DEBIAN_FRONTEND=noninteractive apt-get update -y apt-get upgrade -y apt-get install -y git python cmake build-essential pkg-config libopenblas-dev liblapacke-dev libstarpu-dev hwloc libhwloc-dev gfortran libexpat-dev libtool-bin INSTALLDIR=$HOME/install export PATH=$INSTALLDIR/bin:$PATH export CPATH=$INSTALLDIR/include:$CPATH export LIBRARY_PATH=$INSTALLDIR/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=$INSTALLDIR/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=$INSTALLDIR/lib/pkgconfig:$PKG_CONFIG_PATH cd $HOME git clone https://gitlab.inria.fr/pm2/pm2.git cd pm2/scripts ./pm2-build-packages ./pukabi+madmpi.conf --prefix=$INSTALLDIR cd $HOME git clone https://gitlab.inria.fr/starpu/starpu.git cd starpu ./autogen.sh mkdir build cd build ../configure --enable-nmad --prefix=$INSTALLDIR --disable-opencl make -j 3 && make -j 3 install cd $HOME git clone --recursive https://gitlab.inria.fr/solverstack/chameleon.git cd chameleon mkdir build cd build cmake .. -DCHAMELEON_USE_MPI=ON -DCHAMELEON_USE_MPI_DATATYPES=ON # note: I usually don't provide CMAKE_INSTALL_PREFIX
On Debian, cmake has version 3.13.4 and on Ubuntu 3.16.3 (but I don't know if it's the cause of the problem).
- Philippe SWARTVAGHER mentioned in issue morse_cmake#26 (closed)
mentioned in issue morse_cmake#26 (closed)
- Mathieu Faverge closed
closed
- Mathieu Faverge mentioned in commit fc371f4d
mentioned in commit fc371f4d