Lines 1-10
Link Here
|
1 |
--- Makefile.orig 2019-11-25 17:54:53 UTC |
1 |
--- Makefile.orig 2019-11-25 17:54:53 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -1,9 +1,9 @@ |
3 |
@@ -1,9 +1,10 @@ |
4 |
|
4 |
|
5 |
-CFLAGS = -Wall -O2 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT |
5 |
-CFLAGS = -Wall -O2 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT |
6 |
-FFLAGS = -Wall -O2 |
6 |
-FFLAGS = -Wall -O2 |
7 |
+CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -DTAUCS |
7 |
+CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT \ |
|
|
8 |
+ -DUSE_MT=1 |
8 |
+FFLAGS += -O2 |
9 |
+FFLAGS += -O2 |
9 |
|
10 |
|
10 |
-CC=cc |
11 |
-CC=cc |
Lines 14-20
Link Here
|
14 |
|
15 |
|
15 |
.c.o : |
16 |
.c.o : |
16 |
$(CC) $(CFLAGS) -c $< |
17 |
$(CC) $(CFLAGS) -c $< |
17 |
@@ -21,12 +21,12 @@ OCCXMAIN = $(SCCXMAIN:.c=.o) |
18 |
@@ -21,12 +22,11 @@ OCCXMAIN = $(SCCXMAIN:.c=.o) |
18 |
DIR=../../../SPOOLES.2.2 |
19 |
DIR=../../../SPOOLES.2.2 |
19 |
|
20 |
|
20 |
LIBS = \ |
21 |
LIBS = \ |
Lines 21-27
Link Here
|
21 |
- $(DIR)/spooles.a \ |
22 |
- $(DIR)/spooles.a \ |
22 |
- ../../../ARPACK/libarpack_INTEL.a \ |
23 |
- ../../../ARPACK/libarpack_INTEL.a \ |
23 |
- -lpthread -lm -lc |
24 |
- -lpthread -lm -lc |
24 |
+ -ltaucs -lmetis \ |
|
|
25 |
+ -lspooles -larpack %%BLAS_LIBS%% %%LAPACK_LIBS%% \ |
25 |
+ -lspooles -larpack %%BLAS_LIBS%% %%LAPACK_LIBS%% \ |
26 |
+ -lpthread -lm |
26 |
+ -lpthread -lm |
27 |
|
27 |
|