forked from coin-or/CHiPPS-BiCePS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
96 lines (65 loc) · 3.23 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
These are quick install instructions mainly intended for UNIX-like systems
(including Linux, OS X, AIX, Cygwin and MSys). Additional details for building
this and other COIN projects are available at
https://projects.coin-or.org/BuildTools
You can find instructions for building with Microsoft Visual Studio under
Windows at
https://projects.coin-or.org/MSVisualStudio
**********************************************************************
*** DOWNLOAD ***
**********************************************************************
Pre-built binaries are available for some versions of BiCePS on some
platforms. They can be downloaded at
http://www.coin-or.org/download/binary/Bcps
If you would like to build from source, you can obtain the source code for
BiCePS in two ways:
1. Obtain the source directly from the COIN-OR subversion repository
(recommended). For this, you need a subversion client installed. For a
command-line client, check out the code with
svn co https://projects.coin-or.org/svn/CHiPPS/Bcps/stable/0.93 Bcps-0.93
2. Download the source in a compressed file from from
http://www.coin-or.org/download/source/CHiPPS and
extract it, for example, with
tar -xzvf Bcps-0.93.0.tgz
More detailed download instructions can be found at
https://projects.coin-or.org/CHiPPS
**********************************************************************
*** CONFIGURATION, COMPILE, INSTALLATION ***
**********************************************************************
1. Serial Solver
----------------
Switch to the directory in which you just downloaded or extracted the source
(e.g., Bcps-0.93) and execute the following commands:
1) ./configure
2) make
3) make test
4) make install
2. Parallel Solver (MPI as message passing interface)
-----------------------------------------------------
For configuration and and compilation of the MPI parallel solver, the user has
to specify the location of MPI with options --with-mpi-incdir, --with-mpi-lib,
MPICC, and MPICXX. Switch to the directory that you just downloaded or
extracted (e.g., Bcps-0.93) and execute the following commands (substituting the
correct paths and command names).
1) ./configure --enable-debug --with-mpi-incdir=/usr/local/mpich/include
--with-mpi-lib='-L/usr/local/mpich/lib -lmpich' MPICC=mpicc
MPICXX=mpiCC
2) make
3) make install
You might want to specify other options, in case you don't want to
use the default choices that configure makes (e.g., compilers).
Please visit
https://projects.coin-or.org/BuildTools
and the CHiPPS Trac page
https://projects.coin-or.org/CHiPPS
for more information.
3. Building Examples
--------------------
To build the example code (Blis), configure and build as above. Switch
into the appropriate subdirectory in the source distribution and type "make".
**********************************************************************
*** CONFIGURATION, COMPILE, INSTALLATION (MS Visual C++) ***
**********************************************************************
MSVC++ project and solution files are provided for all libraries and example
codes. Simply open the files corresponding to the project you wish to build and
build it.