Coder Social home page Coder Social logo

Comments (7)

dxyzx0 avatar dxyzx0 commented on August 20, 2024

When executing cmake .
I got the following log:

-- MsgPack was not found. Make sure MSGPACK_LIBRARY and MSGPACK_INCLUDE_DIR are set.                                                                                                                                                                                                       
 -- Configuring done
 -- Generating done
 -- Build files have been written to: /path/CCMpred

But I have installed msgpack through yum install msgpack

from ccmpred.

croth1 avatar croth1 commented on August 20, 2024

Hi @DingXiangYuanZhiXing,
Can you give some extra information about the distribution you are using? If you are using yum to satisfy the dependencies, you will want to install jansson-devel and msgpack-devel.

from ccmpred.

dxyzx0 avatar dxyzx0 commented on August 20, 2024

from ccmpred.

croth1 avatar croth1 commented on August 20, 2024

Yes, thanks. You will need to install msgpack-devel and jansson-devel with yum.
If you are still getting errors after installing these two libraries, please start from fresh, post the cmake and make command you are using and the full output and I might be able to help you debug it.

from ccmpred.

dxyzx0 avatar dxyzx0 commented on August 20, 2024

After I delete the whole folder and start with git clone again, I solved the bug. But I got the following warning

make
Scanning dependencies of target conjugrad
[  5%] Building C object lib/libconjugrad/CMakeFiles/conjugrad.dir/src/conjugrad.c.o
[ 10%] Building C object lib/libconjugrad/CMakeFiles/conjugrad.dir/src/debug.c.o
[ 15%] Building C object lib/libconjugrad/CMakeFiles/conjugrad.dir/src/arithmetic_ansi.c.o
[ 21%] Building C object lib/libconjugrad/CMakeFiles/conjugrad.dir/src/conjugrad_cuda.c.o
[ 26%] Building CUDA object lib/libconjugrad/CMakeFiles/conjugrad.dir/src/conjugrad_kernels.cu.o
[ 31%] Linking CUDA static library libconjugrad.a
[ 31%] Built target conjugrad
Scanning dependencies of target ccmpred
[ 36%] Building C object CMakeFiles/ccmpred.dir/src/ccmpred.c.o
[ 42%] Building C object CMakeFiles/ccmpred.dir/src/sequence.c.o
[ 47%] Building C object CMakeFiles/ccmpred.dir/src/util.c.o
[ 52%] Building C object CMakeFiles/ccmpred.dir/src/io.c.o
[ 57%] Building C object CMakeFiles/ccmpred.dir/src/evaluate_cpu.c.o
[ 63%] Building C object CMakeFiles/ccmpred.dir/src/parseopt.c.o
[ 68%] Building C object CMakeFiles/ccmpred.dir/src/reweighting.c.o
[ 73%] Building C object CMakeFiles/ccmpred.dir/src/numdif.c.o
[ 78%] Building C object CMakeFiles/ccmpred.dir/src/meta.c.o
[ 84%] Building C object CMakeFiles/ccmpred.dir/src/evaluate_cpu_omp.c.o
[ 89%] Building C object CMakeFiles/ccmpred.dir/src/evaluate_cuda.c.o
[ 94%] Building CUDA object CMakeFiles/ccmpred.dir/src/evaluate_cuda_kernels.cu.o
In file included from /path/CCMpred/src/evaluate_cuda_kernels.cu:3:0:
/usr/local/cuda-10.2/targets/x86_64-linux/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^
In file included from /path/CCMpred/src/evaluate_cuda_kernels.cu:3:0:
/usr/local/cuda-10.2/targets/x86_64-linux/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^
[100%] Linking CUDA executable bin/ccmpred
[100%] Built target ccmpred

Will the warning prevent me from using CUDA? Thank you very much!

from ccmpred.

dxyzx0 avatar dxyzx0 commented on August 20, 2024

By the way, can I remove the folder after make?? Or I need to put bin folder somewhere else so the program can find it? Thank you very much!!

from ccmpred.

croth1 avatar croth1 commented on August 20, 2024

Will the warning prevent me from using CUDA? Thank you very much!

It's just a warning. I don't think this will cause any problems.

By the way, can I remove the folder after make?? Or I need to put bin folder somewhere else so the program can find it?

You have two options:

  • either you keep the folder and start ccmpred out of this folder.
  • you use make install to install it into a folder of your choice. (See also this for how to set the folder). If you go with this option you can delete the build folder.

from ccmpred.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.