cmake problems
Opened this issue · 1 comments
apford commented
Some problems with cmake
on cpugputest branch
CentOS built OK but
Install the project...
/usr/local/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/chrism0dwk/bin/fmdMcmc
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot find
"/home/ashley/chrism0dwk/infer/build/src/unitTests/fmdSim”.
master branch said
CMake Error: The source directory "/home/ashley/chrism0dwk/infer" does not appear to contain CMakeLists.txt.
on fmdgpu branch
Switched to branch 'fmdgpu'
[ashley@apfpc infer]$ cd build/
[ashley@apfpc build]$ cmake ..
-- Boost version: 1.55.0
-- Using GSL from /usr
-- Configuring done
CMake Error at src/mcmc/CMakeLists.txt:33 (add_library):
Cannot find source file:
DummyLikelihood.cpp
When gsl is in a non standard place given by module
module show gsl
-------------------------------------------------------------------
/usr/local/Modules/3.2.6/modulefiles/gsl/1.15:
module-whatis GNU Scientific Library version 1.15
homepage: http://www.http://www.gnu.org/software/gsl/
conflict gsl
setenv GSLLIB /usr/local/packages/gsl-1.15/lib
setenv GSLINC /usr/local/packages/gsl-1.15/include
prepend-path LD_LIBRARY_PATH /usr/local/packages/gsl-1.15/lib
prepend-path LIBRARY_PATH /usr/local/packages/gsl-1.15/lib
after
cmake -DGSL_INCLUDE_DIR=$GSLINC ..
make fails at
cd /home/striad/storage/gitclones/infer/build/src/mcmc && /usr/bin/c++ -DHAVEOMP -fopenmp -I/home/striad/storage/gitclones/infer/build/src/mcmc -I/home/striad/storage/gitclones/infer/src/mcmc -I/home/striad/storage/gitclones/infer/src/Framework -I/home/striad/storage/gitclones/infer/src/data -o CMakeFiles/cpulikelihood.dir/CpuLikelihood.cpp.o -c /home/striad/storage/gitclones/infer/src/mcmc/CpuLikelihood.cpp
/home/striad/storage/gitclones/infer/src/mcmc/CpuLikelihood.cpp:19:25: fatal error: gsl/gsl_cdf.h: No such file or directory
and on a system with no GPU/CUDA
make works OK but
make install gives
-- Install configuration: ""
-- Installing: /usr/local/bin/fmdMcmc
-- Installing: /usr/local/bin/fmdMcmcVec
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot find
"/home/ashley/gitclones/infer/build/src/unitTests/fmdMcmcGpu".
chrism0dwk commented
make install fixed in cpugputest branch.