aboutsummaryrefslogtreecommitdiff
path: root/doc/compile_GEMMA_win64.txt
diff options
context:
space:
mode:
authorPeter Carbonetto2018-03-01 14:31:44 -0600
committerGitHub2018-03-01 14:31:44 -0600
commit9df4b1c912a796383bbf9457aebaf9d82ae8f69d (patch)
treec8ab7ea1129f2f5f36d100b6274a044189e43c3b /doc/compile_GEMMA_win64.txt
parentde72b4a9235c6932364fc1930fc243abfdd134e6 (diff)
parentdd3ca7014de2d8f1a2cec36cc22ff93b1e929cc4 (diff)
downloadpangemma-9df4b1c912a796383bbf9457aebaf9d82ae8f69d.tar.gz
Merge pull request #139 from DannyArends/minGW_R
Added support to build GEMMA using the Rtool chain in Windows (x64).
Diffstat (limited to 'doc/compile_GEMMA_win64.txt')
-rw-r--r--doc/compile_GEMMA_win64.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/compile_GEMMA_win64.txt b/doc/compile_GEMMA_win64.txt
new file mode 100644
index 0000000..84f16ec
--- /dev/null
+++ b/doc/compile_GEMMA_win64.txt
@@ -0,0 +1,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