forked from brainstudio-team/NeMo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
47 lines (35 loc) · 1.24 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Build/installation
------------------
The build process uses cmake. Basic usage on UNIX:
mkdir build
cd build
cmake ..
make
su
make install
To build on Windows using MSVC:
- start cmake-gui
- enter the source and target directories (these should be different)
- configure
- generate
- open the resulting project file and build from within visual studio.
Dependencies
------------
- CUDA toolkit >= 2.1 (SDK not required)
- Boost
- CMake (>= 2.8)
Note that the CUDA compiler driver 'nvcc' is not compatible with all versions
of gcc, especially newer versions of gcc.
For Boost, mostly header-only libraries are required (shared_ptr, tuples,
random, date_time), so a full install/build is generally not required. Note,
however, that some versions of Visual C++ requires date_time to be compiled as
a proper library. The date_time library is only required for simulation timing,
and can be disabled in the cmake configuration stage.
Usage
-----
The 'examples' directory contains an example network using the C++ API.
On UNIX, the build process generates man pages. Check 'man 3 nemo' for an
overview of the library, 'man 3 nemo-c' for C API reference and 'man 3
nemo-cpp' for the C++ API reference.
Andreas Fidjeland <[email protected]>
April 2010