The steps for installing Shark

What is Shark?

SHARK is a fast, modular, feature-rich open-source C++ machine learning library

Because of Installing Shark depending on Boost and CMake

Install steps for Shark:
1. install the dependency software
sudo apt-get install cmake cmake-curses-gui libatlas-base-dev libboost-all-dev

2. download the Shark SRC
svn co https://svn.code.sf.net/p/shark-project/code/trunk/Shark

3. enter the Shark directory
cd Shark

4. cmake the src
cmake -DOPT_ENABLE_ATLAS=ON -DOPT_ENABLE_OPENMP=ON

If you have a custom/manual Boost installation, please identify your boost include and library directories and use instead:

ccmake -DBoost_NO_SYSTEM_PATHS=TRUE -DBOOST_INCLUDEDIR=/path/to/boost/include/ -DBOOST_LIBRARYDIR=/path/to/boost/lib/ <SHARK_SRC_DIR>

5.compiling the src
make

6. verify the installation finished.
make test(ctest)

If all the tests Passed, It will print the following Log:

Start   1: BLAS_Iterators
  1/166 Test   #1: BLAS_Iterators ...............................   Passed    0.06 sec
        Start   2: BLAS_Vector_Assign
  2/166 Test   #2: BLAS_Vector_Assign ...........................   Passed    0.06 sec
        Start   3: BLAS_Matrix_Assign
  3/166 Test   #3: BLAS_Matrix_Assign ...........................   Passed    0.04 sec
        Start   4: BLAS_Compressed_Vector
  4/166 Test   #4: BLAS_Compressed_Vector .......................   Passed    0.03 sec
        Start   5: BLAS_Compressed_Matrix
  5/166 Test   #5: BLAS_Compressed_Matrix .......................   Passed    0.24 sec
        Start   6: BLAS_Vector_Proxy
  6/166 Test   #6: BLAS_Vector_Proxy ............................   Passed    0.07 sec
        Start   7: BLAS_Matrix_Proxy
  7/166 Test   #7: BLAS_Matrix_Proxy ............................   Passed    0.05 sec
        Start   8: BLAS_Vector_Expression
  8/166 Test   #8: BLAS_Vector_Expression .......................   Passed    0.28 sec
        Start   9: BLAS_Axpy_Prod
  9/166 Test   #9: BLAS_Axpy_Prod ...............................   Passed    0.54 sec
        Start  10: BLAS_Triangular_Prod
 10/166 Test  #10: BLAS_Triangular_Prod .........................   Passed    0.06 sec
......

Start 164: RBM_PCDTraining
164/166 Test #164: RBM_PCDTraining ..............................   Passed    1.30 sec
        Start 165: RBM_ContrastiveDivergenceTraining
165/166 Test #165: RBM_ContrastiveDivergenceTraining ............   Passed    4.20 sec
        Start 166: RBM_ExactGradientTraining
166/166 Test #166: RBM_ExactGradientTraining ....................   Passed    1.53 sec

100% tests passed, 0 tests failed out of 166

Total Test time (real) = 546.67 sec

时间: 2024-08-05 01:58:23

The steps for installing Shark的相关文章

Installing MySQL Server

Installing MySQL Server Here we will learn how to Compile and Install the MySQL Server from source code. After that we will Configure our server for basic functionality and Secure it for general usage. Finally we will discuss the Basics of MySQL Serv

P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1

P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1       May 2016 Contents About This Guide...................................................................................... 11 Shared Topics in This Guide .

远程访问 虚拟VPN ssh

前段时间在想,办公室一台电脑,家里一台电脑, 都在firewall后面,于是想如何互相远程: 通过网络查找,可行的方法有: 1 . 通过VPN服务器,(多数要花钱,不花钱的不安全:( 2. teamviewer 远程视频(支持linux与windows),但个人习惯喜欢直接console方便些. 3 hamachi +ssh   + haguichi(可视化开源client,刚开始熟悉时需要,之后就可以完全用命令行操作!) hamachi 可以说是提供虚拟的VPN,当你登录后,类似于QQ,创建加

How to install nginx in Ubuntu

The steps for installing the nginx on Ubuntu below. 1.install the packages first. apt-get install gcc apt-get install libpcre3 libpcre3-dev apt-get install zlib1g zlib1g-dev apt-get install openssl openssl-dev 2.download the source code of nginx from

Skype for Business Server 2015-04-前端服务器-7-部署

申明:文章中部分内容有涉及官方帮助或者网上资源整合,如有违权,请速与作者联系,谢谢! 作者:[email protected] 培训:Skype for Business Server 2015-项目实战-培训-QQ群:65235615.(学员群,非所有人员都加.) Install Skype for Business Server on servers in the topology https://technet.microsoft.com/en-us/library/dn951417.as

xen创建pvm和hvm的过程

these are the basic steps of installing domU with xen-tools in ubuntu13.04 64bit in xen4.3 you can also use virt-manager which has an UI, but there may be some bugs between xen and virt-manager. install a bridge: before xen4.1, xen will automatically

Install MySQL 5.7.5-m15 on Ubuntu Server 14.04 LTS from Source

This post documents the steps of installing MySQL from source code, and the resolutions to serveral issues in installing. The steps here are specific to 64-bit Ubuntu 14.04.1 LTS, and MySQL source code is 5.7.5-m15. But I think most of them can also 

TensorFlow 1.9官网树莓派安装教程

Install TensorFlow on Raspbian This guide explains how to install TensorFlow on a Raspberry Pi running Raspbian. Although these instructions might also work on other Pi variants, we have only tested (and we only support) these instructions on machine

[译]Vulkan教程(03)开发环境

这是我翻译(https://vulkan-tutorial.com)上的Vulkan教程的第3篇. In this chapter we'll set up your environment for developing Vulkan applications and install some useful libraries. All of the tools we'll use, with the exception of the compiler, are compatible with