Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/biology/gcta/files/patch-gcta.h
16146 views
1
--- gcta.h.orig 2016-06-22 03:11:01 UTC
2
+++ gcta.h
3
@@ -17,9 +17,9 @@
4
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
5
#endif
6
7
-#ifndef EIGEN_USE_MKL_ALL
8
-#define EIGEN_USE_MKL_ALL
9
-#endif
10
+//#ifndef EIGEN_USE_MKL_ALL
11
+//#define EIGEN_USE_MKL_ALL
12
+//#endif
13
14
#include "CommFunc.h"
15
#include "StrFunc.h"
16
@@ -36,8 +36,11 @@
17
#include <unsupported/Eigen/SparseExtra>
18
#include <unsupported/Eigen/IterativeSolvers>
19
#include <omp.h>
20
-#include <mkl_cblas.h>
21
-#include <mkl_lapack.h>
22
+#include <cblas.h>
23
+#include <lapacke.h>
24
+// Looks like openblas, cblas and lapacke are all that's needed
25
+//#include <blaspp.h>
26
+//#include <lapackpp.h>
27
28
using namespace Eigen;
29
using namespace std;
30
31