[Genabel-commits] r1736 - pkg/OmicABELnoMM/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 21 16:07:39 CEST 2014


Author: afrank
Date: 2014-05-21 16:07:38 +0200 (Wed, 21 May 2014)
New Revision: 1736

Modified:
   pkg/OmicABELnoMM/doc/howtocompile.txt
Log:
Modified installation process to use custom compilations of openblas in combination with Automake.

Modified: pkg/OmicABELnoMM/doc/howtocompile.txt
===================================================================
--- pkg/OmicABELnoMM/doc/howtocompile.txt	2014-05-19 20:24:52 UTC (rev 1735)
+++ pkg/OmicABELnoMM/doc/howtocompile.txt	2014-05-21 14:07:38 UTC (rev 1736)
@@ -1,35 +1,35 @@
 
 mkdir GWAS_PROJECT
 cd GWAS_PROJECT
-mkdir GWAS
-
-#copy contents of this zip to the GWAS folder
-#DO THIS
-#!!!!!!!!!!!!!!!!!!!!
-
+
+#recommended to compile your own optimized blas! if not check Alternative Version at the end of the document
+#BLAS
 git clone git://github.com/xianyi/OpenBLAS
 cd OpenBLAS
 
 #make sure g++ its 4.8 or above!on rwth cluster module load gcc/4.8, choose 32 or 64 also
 make all HOSTCC=g++ FC=gfortran USE_OPENMP=1
 
-make PREFIX=../GWAS/ install
-cd ../GWAS/lib/
+sudo make install PREFIX="/usr"
 
-#this hopefully lets the Os knwo where BLAS is
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:pwd
-
+sudo ldconfig
+
 cd ..
+#BLAS END
+
+svn checkout svn+ssh://developername@svn.r-forge.r-project.org/svnroot/genabel/OmicABELnoMM
+
+cd OmicABELnoMM
 
+./configure LDFLAGS="-L/usr/lib/"
+
+make
+
+#test it
+./omicabelnomm -c examples/XL --geno examples/XR -p examples/Y -o examples/B -n 2 -t 2
+
+#usage
 
-
-#compile the contents of the GWAS solver
-g++ *.cpp  -I./include -L./lib -lopenblas -w
-
-#this creates an a.out
-
-a.out -c XL --geno XR -p Y -o B -n 2 -t 2
-
 Must be included:
 -c --cov filename		covariates in fv (no need for the .fvd/.fvi, both should have the same name!)
 -g --geno filename		snps in fv (no need for the .fvd/.fvi, both should have the same name!)
@@ -61,7 +61,6 @@
 sudo apt-get install autoconf
 autoreconf -fi
 autoconf
-make
 
 
 



More information about the Genabel-commits mailing list