View | Details | Raw Unified | Return to bug 249351
Collapse All | Expand All

(-)calculix-ccx/files/patch-Makefile (-1 / +1 lines)
Lines 4-10 Link Here
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
7
+CFLAGS += -O2  -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -DUSE_MT=1
8
+FFLAGS += -O2
8
+FFLAGS += -O2
9
 
9
 
10
-CC=cc
10
-CC=cc
(-)calculix-ccx/pkg-message (-2 / +2 lines)
Lines 2-9 Link Here
2
{ type: install
2
{ type: install
3
  message: <<EOM
3
  message: <<EOM
4
Spooles: by default the single-threaded solver is used unless you set the
4
Spooles: by default the single-threaded solver is used unless you set the
5
CCX_NPROC_EQUATION_SOLVER environment variable with the number of
5
OMP_NUM_THREADS environment variable with the number of cores you want to use.
6
cores you want to use.
6
e.g: /usr/bin/time -h env OMP_NUM_THREADS=4 ccx -i foo
7
EOM
7
EOM
8
}
8
}
9
]
9
]

Return to bug 249351