aboutsummaryrefslogtreecommitdiff
path: root/doc/compile_GEMMA_win64.txt
blob: 84f16ec7ce0befcbb9614cba38523e2cd9d7da67 (plain)
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
// install R 3.4.3
https://cran.r-project.org/bin/windows/base/

// install Rtools 3.4
https://cran.r-project.org/bin/windows/Rtools/

// Download openblas (v0.2.19-Win64-int32)
https://sourceforge.net/projects/openblas/files/v0.2.19/

// Make a place to store the files
mkdir Github
cd Github/

// Clone the required dependancies
git clone https://github.com/eigenteam/eigen-git-mirror.git
git clone https://github.com/genetics-statistics/GEMMA.git

// Download and install gsl2.4, unzip/tar into Github
http://gnu.askapache.com/gsl/

// Download and install msys from http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
cd c:/msys/1.0
// Run mysys
msys.bat

// Under msys, Compile GSL-2.4 inside the msys
cd /c/
cd Github/gsl-2.4
./configure --prefix=C:/MinGW
make -j 4
make install

// Building Gemma on the R tool chain under windows using CMD compile gemma
cd gemma
make -j 2

// Get all the DLLs from:
- MinGW DLLs: https://sourceforge.net/projects/openblas/files/v0.2.12/mingw64_dll.zip/download
- DLLs from the compiled gsl-2.4
- DLLs from openBLAS

// Required DLLs:
+ libgcc_s_seh-1.dll
+ libgfortran-3.dll
+ libgsl-23.dll
+ libgslcblas-0.dll
+ libopenblas.dll
+ libquadmath-0.dll