-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathINSTALL
70 lines (46 loc) · 1.89 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
### This file is a quick installation for Solaris, Linux, and Mac OS X.
### See `INSTALL.win.src' for a source installation for Windows system.
### See `INSTALL.win.bin' for a binary installation for Windows system.
--- 'pbdMPI' Installation:
See 'pbdMPI/INSTALL' for the details.
--- 'pbdSLAP' Installation:
0. Download and extract 'pbdSLAP'
> tar zxvf pbdSLAP_*.*-*.tar.gz
1. Default Installation:
This should work with most platforms with OpenMPI installed. The
configuration is based on Rmpi but detect the flags and libraries from
'mpicc --showme:*' which is more portable.
> R CMD INSTALL pbdSLAP
--- Testing:
Suppose 'pbdMPI' and 'pbdSLAP' are installed correctly. I can run
> mpiexec -np 2 Rscript -e "demo(gridinfo,'pbdSLAP',ask=F,echo=F)"
### `INSTALL.win.src'.
--- 'pbdMPI' Installation:
See 'pbdMPI/INSTALL.win.src' for the details.
--- 'pbdSLAP' Installation:
Default Installation:
("set_mpisrc.bat" is available in "pbdMPI/INSTALL.win.bin")
C:/> set_mpisrc
C:/> tar zxvf pbdSLAP_*.*-*.tar.gz
C:/> R CMD INSTALL --build pbdSLAP
C:/> R CMD INSTALL pbdSLAP_*.*-*.zip
--- Testing:
Suppose all environments are set correctly, I can run test examples by
-- 64-bits
C:/> set_mpisrc 64
C:/> mpiexec -np 2 Rscript.exe -e "demo(gridinfo,'pbdSLAP',ask=F,echo=F)"
-- 32-bits
C:/> set_mpisrc 32
C:/> mpiexec -np 2 Rscript.exe -e "demo(gridinfo,'pbdSLAP',ask=F,echo=F)"
### `INSTALL.win.bin'.
--- 'pbdMPI' Installation:
See 'pbdMPI/INSTALL.win.bin' for the details.
--- 'pbdSLAP' Installation:
Default Installation:
("set_mpi.bat" is available in "pbdMPI/INSTALL.win.bin")
C:/> set_mpi
C:/> R CMD INSTALL pbdSLAP_*.*-*.zip
--- Testing:
Suppose all environments are set correctly, I can run test examples by
C:/> set_mpi
C:/> mpiexec -np 2 Rscript.exe -e "demo(gridinfo,'pbdSLAP',ask=F,echo=F)"