mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
36d8a857f9
for obtaining a sequence of successive coarse grids that are well suited for geometric multigrid methods. The quality of the elements of the coarse grids is optimized using a multilevel framework. The parallel library is based on MPI and is portable to a wide range of architectures. WWW: http://www.mgnet.org/mgnet-codes-parmgridgen.html PR: ports/152506 Submitted by: Stas Timokhin <devel at stasyan.com>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
--- Makefile.in.orig 2001-12-05 06:30:33.000000000 +0600
|
|
+++ Makefile.in 2010-12-15 09:45:04.000000000 +0600
|
|
@@ -9,17 +9,17 @@
|
|
PARCC = cc
|
|
|
|
# What optimization level to use
|
|
-OPTFLAGS = -O3
|
|
+OPTFLAGS =
|
|
|
|
# What options to be used by the compiler
|
|
-COPTIONS =
|
|
+COPTIONS = ${PTHREAD_CFLAGS}
|
|
|
|
# Which loader to use
|
|
LD = cc
|
|
PARLD = cc
|
|
|
|
# What options to be used by the loader
|
|
-LDOPTIONS = -O3
|
|
+LDOPTIONS =
|
|
|
|
# Where to put the executable
|
|
BINDIR = ../..
|
|
@@ -29,18 +29,21 @@
|
|
IMLIBDIR = ../../MGridGen/IMlib
|
|
|
|
# Include directories for the compiler
|
|
-INCDIR =
|
|
+INCDIR = -I${LOCALBASE}/include \
|
|
+ -I${LOCALBASE}/mpi/openmpi/include
|
|
|
|
# In which directories to look for any additional libraries
|
|
LIBDIR = -L../.. \
|
|
- -L/usr/lib32/
|
|
+ -L/usr/lib/ \
|
|
+ -L/${LOCALBASE}/lib/ \
|
|
+ -L/${LOCALBASE}/mpi/openmpi/lib
|
|
|
|
# Set some flags
|
|
DEBUGFLAGS =
|
|
|
|
# What additional libraries to link the programs with (eg., -lmpi)
|
|
-LIBS = -lmgrid -lm
|
|
-PARLIBS = -lparmgrid -lmgrid -lmpi -lm
|
|
+LIBS = -lmgrid -lm -pthread
|
|
+PARLIBS = -lparmgrid -lmgrid -lmpi -lm -pthread
|
|
|
|
|
|
# What archiving to use
|