DOC: Mention UserGuide in freefoam.1.in.txt
[freefoam.git] / ThirdParty / parmetis.patch
blob10fa7d417627fc01e9222fa0829fcc81a0668b02
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 new file mode 100644
3 index 0000000..6b564c5
4 --- /dev/null
5 +++ b/CMakeLists.txt
6 @@ -0,0 +1,79 @@
7 +#-------------------------------------------------------------------------------
8 +# ______ _ ____ __ __
9 +# | ____| _| |_ / __ \ /\ | \/ |
10 +# | |__ _ __ ___ ___ / \| | | | / \ | \ / |
11 +# | __| '__/ _ \/ _ ( (| |) ) | | |/ /\ \ | |\/| |
12 +# | | | | | __/ __/\_ _/| |__| / ____ \| | | |
13 +# |_| |_| \___|\___| |_| \____/_/ \_\_| |_|
15 +# FreeFOAM: The Cross-Platform CFD Toolkit
17 +# Copyright (C) 2008-2011 Michael Wild <themiwi@users.sf.net>
18 +# Gerber van der Graaf <gerber_graaf@users.sf.net>
19 +#-------------------------------------------------------------------------------
20 +# License
21 +# This file is part of FreeFOAM.
23 +# FreeFOAM is free software; you can redistribute it and/or modify it
24 +# under the terms of the GNU General Public License as published by the
25 +# Free Software Foundation; either version 2 of the License, or (at your
26 +# option) any later version.
28 +# FreeFOAM is distributed in the hope that it will be useful, but WITHOUT
29 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
31 +# for more details.
33 +# You should have received a copy of the GNU General Public License
34 +# along with FreeFOAM; if not, write to the Free Software Foundation,
35 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
37 +#-------------------------------------------------------------------------------
39 +cmake_minimum_required(VERSION 2.8)
40 +project(ParMetis)
42 +# gcc > 4.3 fails when using -O3
43 +if(CMAKE_COMPILER_IS_GNUCC)
44 + string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
45 + foreach(config DEBUG RELEASE RELWITHDEBINFO MINSIZEREL)
46 + string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_${config}
47 + "${CMAKE_C_FLAGS_${config}}")
48 + endforeach()
49 +endif()
51 +find_package(MPI REQUIRED)
53 +include(files.cmake)
55 +include_directories(
56 + ${CMAKE_SOURCE_DIR}
57 + ${MPI_INCLUDE_PATH}
58 + )
59 +add_library(foam_parmetis ${METISLIB_SRCS} ${PARMETIS_SRCS})
61 +target_link_libraries(foam_parmetis ${MPI_LIBRARIES})
63 +if(MPI_COMPILE_FLAGS)
64 + set_target_properties(foam_parmetis PROPERTIES
65 + COMPILE_FLAGS ${MPI_COMPILE_FLAGS}
66 + )
67 +endif()
69 +if(MPI_LINK_FLAGS)
70 + set_target_properties(foam_parmetis PROPERTIES
71 + LINK_FLAGS ${MPI_LINK_FLAGS}
72 + )
73 +endif()
75 +install(TARGETS foam_parmetis
76 + LIBRARY DESTINATION lib
77 + ARCHIVE DESTINATION lib
78 + RUNTIME DESTINATION bin
79 + )
81 +install(FILES parmetis.h
82 + DESTINATION include
83 + )
85 +# ------------------------- vim: set sw=2 sts=2 et: --------------- end-of-file
86 diff --git a/METISLib/NEW_checkgraph.c b/METISLib/NEW_checkgraph.c
87 index aea0094..656779b 100644
88 --- a/METISLib/NEW_checkgraph.c
89 +++ b/METISLib/NEW_checkgraph.c
90 @@ -12,7 +12,7 @@
94 -#include <metis.h>
95 +#include <METISLib/metis.h>
99 diff --git a/METISLib/NEW_memory.c b/METISLib/NEW_memory.c
100 index aa03b9d..e9e4768 100644
101 --- a/METISLib/NEW_memory.c
102 +++ b/METISLib/NEW_memory.c
103 @@ -12,7 +12,7 @@
107 -#include <metis.h>
108 +#include <METISLib/metis.h>
111 /*************************************************************************
112 diff --git a/METISLib/NEW_mfm.c b/METISLib/NEW_mfm.c
113 index 9f37848..1b1f39b 100644
114 --- a/METISLib/NEW_mfm.c
115 +++ b/METISLib/NEW_mfm.c
116 @@ -11,7 +11,7 @@
117 * $Id: NEW_mfm.c,v 1.1 2003/07/16 15:55:13 karypis Exp $
120 -#include <metis.h>
121 +#include <METISLib/metis.h>
124 /*************************************************************************
125 diff --git a/METISLib/NEW_mrefine.c b/METISLib/NEW_mrefine.c
126 index 9cea995..b2c4d5a 100644
127 --- a/METISLib/NEW_mrefine.c
128 +++ b/METISLib/NEW_mrefine.c
129 @@ -11,7 +11,7 @@
130 * $Id: NEW_mrefine.c,v 1.1 2003/07/16 15:55:14 karypis Exp $
133 -#include <metis.h>
134 +#include <METISLib/metis.h>
137 /*************************************************************************
138 diff --git a/METISLib/NEW_parmetis.c b/METISLib/NEW_parmetis.c
139 index bd97917..36ea0fd 100644
140 --- a/METISLib/NEW_parmetis.c
141 +++ b/METISLib/NEW_parmetis.c
142 @@ -13,7 +13,7 @@
146 -#include <metis.h>
147 +#include <METISLib/metis.h>
150 /*************************************************************************
151 diff --git a/METISLib/NEW_stats.c b/METISLib/NEW_stats.c
152 index 9e04b23..9c9417a 100644
153 --- a/METISLib/NEW_stats.c
154 +++ b/METISLib/NEW_stats.c
155 @@ -12,7 +12,7 @@
159 -#include <metis.h>
160 +#include <METISLib/metis.h>
163 /*************************************************************************
164 diff --git a/METISLib/balance.c b/METISLib/balance.c
165 index ac951da..a345da0 100644
166 --- a/METISLib/balance.c
167 +++ b/METISLib/balance.c
168 @@ -13,7 +13,7 @@
172 -#include <metis.h>
173 +#include <METISLib/metis.h>
175 /*************************************************************************
176 * This function is the entry point of the bisection balancing algorithms.
177 diff --git a/METISLib/bucketsort.c b/METISLib/bucketsort.c
178 index 14aa213..f6ef140 100644
179 --- a/METISLib/bucketsort.c
180 +++ b/METISLib/bucketsort.c
181 @@ -13,7 +13,7 @@
185 -#include <metis.h>
186 +#include <METISLib/metis.h>
190 diff --git a/METISLib/ccgraph.c b/METISLib/ccgraph.c
191 index 3485ab0..6eaeff3 100644
192 --- a/METISLib/ccgraph.c
193 +++ b/METISLib/ccgraph.c
194 @@ -12,7 +12,7 @@
198 -#include <metis.h>
199 +#include <METISLib/metis.h>
203 diff --git a/METISLib/checkgraph.c b/METISLib/checkgraph.c
204 index 0134ec1..5c68fb5 100644
205 --- a/METISLib/checkgraph.c
206 +++ b/METISLib/checkgraph.c
207 @@ -12,7 +12,7 @@
211 -#include <metis.h>
212 +#include <METISLib/metis.h>
216 diff --git a/METISLib/coarsen.c b/METISLib/coarsen.c
217 index 15f06d3..f6b44d8 100644
218 --- a/METISLib/coarsen.c
219 +++ b/METISLib/coarsen.c
220 @@ -10,7 +10,7 @@
224 -#include <metis.h>
225 +#include <METISLib/metis.h>
228 /*************************************************************************
229 diff --git a/METISLib/compress.c b/METISLib/compress.c
230 index 6b1cf13..f7f7c97 100644
231 --- a/METISLib/compress.c
232 +++ b/METISLib/compress.c
233 @@ -12,7 +12,7 @@
234 * $Id: compress.c,v 1.1 2003/07/16 15:55:01 karypis Exp $
237 -#include <metis.h>
238 +#include <METISLib/metis.h>
240 /*************************************************************************
241 * This function compresses a graph by merging identical vertices
242 diff --git a/METISLib/debug.c b/METISLib/debug.c
243 index b71fe2f..4224567 100644
244 --- a/METISLib/debug.c
245 +++ b/METISLib/debug.c
246 @@ -12,7 +12,7 @@
250 -#include <metis.h>
251 +#include <METISLib/metis.h>
253 /*************************************************************************
254 * This function computes the cut given the graph and a where vector
255 diff --git a/METISLib/estmem.c b/METISLib/estmem.c
256 index 82b9ac9..67c6cb5 100644
257 --- a/METISLib/estmem.c
258 +++ b/METISLib/estmem.c
259 @@ -13,7 +13,7 @@
263 -#include <metis.h>
264 +#include <METISLib/metis.h>
266 /*************************************************************************
267 * This function computes how much memory will be required by the various
268 diff --git a/METISLib/fm.c b/METISLib/fm.c
269 index 2fc08d2..633b5fa 100644
270 --- a/METISLib/fm.c
271 +++ b/METISLib/fm.c
272 @@ -11,7 +11,7 @@
273 * $Id: fm.c,v 1.1 2003/07/16 15:55:02 karypis Exp $
276 -#include <metis.h>
277 +#include <METISLib/metis.h>
280 /*************************************************************************
281 diff --git a/METISLib/fortran.c b/METISLib/fortran.c
282 index 46ebefd..980393c 100644
283 --- a/METISLib/fortran.c
284 +++ b/METISLib/fortran.c
285 @@ -12,7 +12,7 @@
289 -#include <metis.h>
290 +#include <METISLib/metis.h>
293 /*************************************************************************
294 diff --git a/METISLib/frename.c b/METISLib/frename.c
295 index 5cde8b6..007b494 100644
296 --- a/METISLib/frename.c
297 +++ b/METISLib/frename.c
298 @@ -12,7 +12,7 @@
302 -#include <metis.h>
303 +#include <METISLib/metis.h>
306 void METIS_PARTGRAPHRECURSIVE(int *nvtxs, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *adjwgt, int *wgtflag, int *numflag, int *nparts, int *options, int *edgecut, idxtype *part)
307 diff --git a/METISLib/graph.c b/METISLib/graph.c
308 index 9a93784..8aa548a 100644
309 --- a/METISLib/graph.c
310 +++ b/METISLib/graph.c
311 @@ -13,7 +13,7 @@
315 -#include <metis.h>
316 +#include <METISLib/metis.h>
318 /*************************************************************************
319 * This function sets up the graph from the user input
320 diff --git a/METISLib/initpart.c b/METISLib/initpart.c
321 index 075cfb9..2e13c1f 100644
322 --- a/METISLib/initpart.c
323 +++ b/METISLib/initpart.c
324 @@ -13,7 +13,7 @@
328 -#include <metis.h>
329 +#include <METISLib/metis.h>
331 /*************************************************************************
332 * This function computes the initial bisection of the coarsest graph
333 diff --git a/METISLib/kmetis.c b/METISLib/kmetis.c
334 index 87c3a59..84451db 100644
335 --- a/METISLib/kmetis.c
336 +++ b/METISLib/kmetis.c
337 @@ -13,7 +13,7 @@
341 -#include <metis.h>
342 +#include <METISLib/metis.h>
345 /*************************************************************************
346 diff --git a/METISLib/kvmetis.c b/METISLib/kvmetis.c
347 index 5bc0a67..5b569cc 100644
348 --- a/METISLib/kvmetis.c
349 +++ b/METISLib/kvmetis.c
350 @@ -13,7 +13,7 @@
354 -#include <metis.h>
355 +#include <METISLib/metis.h>
358 /*************************************************************************
359 diff --git a/METISLib/kwayfm.c b/METISLib/kwayfm.c
360 index 170dcf3..296f0c5 100644
361 --- a/METISLib/kwayfm.c
362 +++ b/METISLib/kwayfm.c
363 @@ -10,7 +10,7 @@
367 -#include <metis.h>
368 +#include <METISLib/metis.h>
371 /*************************************************************************
372 diff --git a/METISLib/kwayrefine.c b/METISLib/kwayrefine.c
373 index a6d58f7..ea3ee05 100644
374 --- a/METISLib/kwayrefine.c
375 +++ b/METISLib/kwayrefine.c
376 @@ -11,7 +11,7 @@
377 * $Id: kwayrefine.c,v 1.1 2003/07/16 15:55:05 karypis Exp $
380 -#include <metis.h>
381 +#include <METISLib/metis.h>
384 /*************************************************************************
385 diff --git a/METISLib/kwayvolfm.c b/METISLib/kwayvolfm.c
386 index 4e1112d..57efbc6 100644
387 --- a/METISLib/kwayvolfm.c
388 +++ b/METISLib/kwayvolfm.c
389 @@ -10,7 +10,7 @@
393 -#include <metis.h>
394 +#include <METISLib/metis.h>
397 /*************************************************************************
398 diff --git a/METISLib/kwayvolrefine.c b/METISLib/kwayvolrefine.c
399 index 7cf248d..3a91bf2 100644
400 --- a/METISLib/kwayvolrefine.c
401 +++ b/METISLib/kwayvolrefine.c
402 @@ -11,7 +11,7 @@
403 * $Id: kwayvolrefine.c,v 1.1 2003/07/16 15:55:05 karypis Exp $
406 -#include <metis.h>
407 +#include <METISLib/metis.h>
410 /*************************************************************************
411 diff --git a/METISLib/match.c b/METISLib/match.c
412 index 509f457..865bf92 100644
413 --- a/METISLib/match.c
414 +++ b/METISLib/match.c
415 @@ -13,7 +13,7 @@
419 -#include <metis.h>
420 +#include <METISLib/metis.h>
423 /*************************************************************************
424 diff --git a/METISLib/mbalance.c b/METISLib/mbalance.c
425 index 65e9961..78fde7f 100644
426 --- a/METISLib/mbalance.c
427 +++ b/METISLib/mbalance.c
428 @@ -13,7 +13,7 @@
432 -#include <metis.h>
433 +#include <METISLib/metis.h>
436 /*************************************************************************
437 diff --git a/METISLib/mbalance2.c b/METISLib/mbalance2.c
438 index d39f1e0..8db86ab 100644
439 --- a/METISLib/mbalance2.c
440 +++ b/METISLib/mbalance2.c
441 @@ -13,7 +13,7 @@
445 -#include <metis.h>
446 +#include <METISLib/metis.h>
449 /*************************************************************************
450 diff --git a/METISLib/mcoarsen.c b/METISLib/mcoarsen.c
451 index 336e6c6..e38b6cf 100644
452 --- a/METISLib/mcoarsen.c
453 +++ b/METISLib/mcoarsen.c
454 @@ -10,7 +10,7 @@
458 -#include <metis.h>
459 +#include <METISLib/metis.h>
462 /*************************************************************************
463 diff --git a/METISLib/memory.c b/METISLib/memory.c
464 index 0082b8c..8d69913 100644
465 --- a/METISLib/memory.c
466 +++ b/METISLib/memory.c
467 @@ -12,7 +12,7 @@
471 -#include <metis.h>
472 +#include <METISLib/metis.h>
475 /*************************************************************************
476 diff --git a/METISLib/mesh.c b/METISLib/mesh.c
477 index 3d93628..478cc81 100644
478 --- a/METISLib/mesh.c
479 +++ b/METISLib/mesh.c
480 @@ -13,7 +13,7 @@
484 -#include <metis.h>
485 +#include <METISLib/metis.h>
487 /*****************************************************************************
488 * This function creates a graph corresponding to the dual of a finite element
489 diff --git a/METISLib/meshpart.c b/METISLib/meshpart.c
490 index 4ca3a2a..51a62cf 100644
491 --- a/METISLib/meshpart.c
492 +++ b/METISLib/meshpart.c
493 @@ -12,7 +12,7 @@
497 -#include <metis.h>
498 +#include <METISLib/metis.h>
501 /*************************************************************************
502 diff --git a/METISLib/metis.h b/METISLib/metis.h
503 index b655d90..dbbf502 100644
504 --- a/METISLib/metis.h
505 +++ b/METISLib/metis.h
506 @@ -16,16 +16,16 @@
507 #define DMALLOC 1
510 -#include <stdheaders.h>
511 +#include <METISLib/stdheaders.h>
513 #ifdef DMALLOC
514 #include <dmalloc.h>
515 #endif
517 #include "../parmetis.h" /* Get the idxtype definition */
518 -#include <defs.h>
519 -#include <struct.h>
520 -#include <macros.h>
521 -#include <rename.h>
522 -#include <proto.h>
523 +#include <METISLib/defs.h>
524 +#include <METISLib/struct.h>
525 +#include <METISLib/macros.h>
526 +#include <METISLib/rename.h>
527 +#include <METISLib/proto.h>
529 diff --git a/METISLib/mfm.c b/METISLib/mfm.c
530 index d0047e5..1060233 100644
531 --- a/METISLib/mfm.c
532 +++ b/METISLib/mfm.c
533 @@ -11,7 +11,7 @@
534 * $Id: mfm.c,v 1.1 2003/07/24 18:39:09 karypis Exp $
537 -#include <metis.h>
538 +#include <METISLib/metis.h>
541 /*************************************************************************
542 diff --git a/METISLib/mfm2.c b/METISLib/mfm2.c
543 index ce4eb8b..e922a56 100644
544 --- a/METISLib/mfm2.c
545 +++ b/METISLib/mfm2.c
546 @@ -11,7 +11,7 @@
547 * $Id: mfm2.c,v 1.1 2003/07/16 15:55:09 karypis Exp $
550 -#include <metis.h>
551 +#include <METISLib/metis.h>
554 /*************************************************************************
555 diff --git a/METISLib/mincover.c b/METISLib/mincover.c
556 index 789022b..2d67768 100644
557 --- a/METISLib/mincover.c
558 +++ b/METISLib/mincover.c
559 @@ -11,7 +11,7 @@
560 * $Id: mincover.c,v 1.1 2003/07/16 15:55:09 karypis Exp $
563 -#include <metis.h>
564 +#include <METISLib/metis.h>
566 /*************************************************************************
567 * Constants used by mincover algorithm
568 diff --git a/METISLib/minitpart.c b/METISLib/minitpart.c
569 index 58dfcea..2e6be46 100644
570 --- a/METISLib/minitpart.c
571 +++ b/METISLib/minitpart.c
572 @@ -13,7 +13,7 @@
576 -#include <metis.h>
577 +#include <METISLib/metis.h>
579 /*************************************************************************
580 * This function computes the initial bisection of the coarsest graph
581 diff --git a/METISLib/minitpart2.c b/METISLib/minitpart2.c
582 index 4c1e1b1..6b60c7d 100644
583 --- a/METISLib/minitpart2.c
584 +++ b/METISLib/minitpart2.c
585 @@ -13,7 +13,7 @@
589 -#include <metis.h>
590 +#include <METISLib/metis.h>
592 /*************************************************************************
593 * This function computes the initial bisection of the coarsest graph
594 diff --git a/METISLib/mkmetis.c b/METISLib/mkmetis.c
595 index 55c7c9b..66d9e1b 100644
596 --- a/METISLib/mkmetis.c
597 +++ b/METISLib/mkmetis.c
598 @@ -13,7 +13,7 @@
602 -#include <metis.h>
603 +#include <METISLib/metis.h>
607 diff --git a/METISLib/mkwayfmh.c b/METISLib/mkwayfmh.c
608 index 69a781a..0c4405a 100644
609 --- a/METISLib/mkwayfmh.c
610 +++ b/METISLib/mkwayfmh.c
611 @@ -10,7 +10,7 @@
615 -#include <metis.h>
616 +#include <METISLib/metis.h>
620 diff --git a/METISLib/mkwayrefine.c b/METISLib/mkwayrefine.c
621 index 15836db..7665020 100644
622 --- a/METISLib/mkwayrefine.c
623 +++ b/METISLib/mkwayrefine.c
624 @@ -11,7 +11,7 @@
625 * $Id: mkwayrefine.c,v 1.1 2003/07/16 15:55:11 karypis Exp $
628 -#include <metis.h>
629 +#include <METISLib/metis.h>
632 /*************************************************************************
633 diff --git a/METISLib/mmatch.c b/METISLib/mmatch.c
634 index 2666dd3..3d23b7a 100644
635 --- a/METISLib/mmatch.c
636 +++ b/METISLib/mmatch.c
637 @@ -13,7 +13,7 @@
641 -#include <metis.h>
642 +#include <METISLib/metis.h>
645 /*************************************************************************
646 diff --git a/METISLib/mmd.c b/METISLib/mmd.c
647 index 1b43618..a2a790b 100644
648 --- a/METISLib/mmd.c
649 +++ b/METISLib/mmd.c
650 @@ -19,7 +19,7 @@
651 * $Id: mmd.c,v 1.1 2003/07/16 15:55:11 karypis Exp $
654 -#include <metis.h>
655 +#include <METISLib/metis.h>
658 /*************************************************************************
659 diff --git a/METISLib/mpmetis.c b/METISLib/mpmetis.c
660 index 3b7aa9f..e7db307 100644
661 --- a/METISLib/mpmetis.c
662 +++ b/METISLib/mpmetis.c
663 @@ -13,7 +13,7 @@
667 -#include <metis.h>
668 +#include <METISLib/metis.h>
672 diff --git a/METISLib/mrefine.c b/METISLib/mrefine.c
673 index 3e28dc7..5d35f73 100644
674 --- a/METISLib/mrefine.c
675 +++ b/METISLib/mrefine.c
676 @@ -11,7 +11,7 @@
677 * $Id: mrefine.c,v 1.1 2003/07/24 18:39:10 karypis Exp $
680 -#include <metis.h>
681 +#include <METISLib/metis.h>
684 /*************************************************************************
685 diff --git a/METISLib/mrefine2.c b/METISLib/mrefine2.c
686 index 91ad0b5..fe6d8ef 100644
687 --- a/METISLib/mrefine2.c
688 +++ b/METISLib/mrefine2.c
689 @@ -11,7 +11,7 @@
690 * $Id: mrefine2.c,v 1.1 2003/07/16 15:55:12 karypis Exp $
693 -#include <metis.h>
694 +#include <METISLib/metis.h>
697 /*************************************************************************
698 diff --git a/METISLib/mutil.c b/METISLib/mutil.c
699 index 68dc5c5..1d0d773 100644
700 --- a/METISLib/mutil.c
701 +++ b/METISLib/mutil.c
702 @@ -11,7 +11,7 @@
706 -#include <metis.h>
707 +#include <METISLib/metis.h>
710 /*************************************************************************
711 diff --git a/METISLib/myqsort.c b/METISLib/myqsort.c
712 index a6939ce..1523608 100644
713 --- a/METISLib/myqsort.c
714 +++ b/METISLib/myqsort.c
715 @@ -12,7 +12,7 @@
716 * $Id: myqsort.c,v 1.1 2003/07/16 15:55:13 karypis Exp $
719 -#include <metis.h> /* only for type declarations */
720 +#include <METISLib/metis.h> /* only for type declarations */
722 #define THRESH 1 /* threshold for insertion */
723 #define MTHRESH 6 /* threshold for median */
724 diff --git a/METISLib/ometis.c b/METISLib/ometis.c
725 index e972e88..3b1e83d 100644
726 --- a/METISLib/ometis.c
727 +++ b/METISLib/ometis.c
728 @@ -13,7 +13,7 @@
732 -#include <metis.h>
733 +#include <METISLib/metis.h>
736 /*************************************************************************
737 diff --git a/METISLib/parmetis.c b/METISLib/parmetis.c
738 index d183082..c8d9ff3 100644
739 --- a/METISLib/parmetis.c
740 +++ b/METISLib/parmetis.c
741 @@ -12,7 +12,7 @@
745 -#include <metis.h>
746 +#include <METISLib/metis.h>
749 /*************************************************************************
750 diff --git a/METISLib/pmetis.c b/METISLib/pmetis.c
751 index 9212cd7..997a6bc 100644
752 --- a/METISLib/pmetis.c
753 +++ b/METISLib/pmetis.c
754 @@ -13,7 +13,7 @@
758 -#include <metis.h>
759 +#include <METISLib/metis.h>
762 /*************************************************************************
763 diff --git a/METISLib/pqueue.c b/METISLib/pqueue.c
764 index 6a1986f..ff02b72 100644
765 --- a/METISLib/pqueue.c
766 +++ b/METISLib/pqueue.c
767 @@ -14,7 +14,7 @@
771 -#include <metis.h>
772 +#include <METISLib/metis.h>
775 /*************************************************************************
776 diff --git a/METISLib/refine.c b/METISLib/refine.c
777 index f479298..08175a0 100644
778 --- a/METISLib/refine.c
779 +++ b/METISLib/refine.c
780 @@ -11,7 +11,7 @@
781 * $Id: refine.c,v 1.1 2003/07/16 15:55:17 karypis Exp $
784 -#include <metis.h>
785 +#include <METISLib/metis.h>
788 /*************************************************************************
789 diff --git a/METISLib/separator.c b/METISLib/separator.c
790 index 380d4f4..b8ab43a 100644
791 --- a/METISLib/separator.c
792 +++ b/METISLib/separator.c
793 @@ -12,7 +12,7 @@
797 -#include <metis.h>
798 +#include <METISLib/metis.h>
800 /*************************************************************************
801 * This function takes a bisection and constructs a minimum weight vertex
802 diff --git a/METISLib/sfm.c b/METISLib/sfm.c
803 index eece33f..c05cb58 100644
804 --- a/METISLib/sfm.c
805 +++ b/METISLib/sfm.c
806 @@ -12,7 +12,7 @@
810 -#include <metis.h>
811 +#include <METISLib/metis.h>
814 /*************************************************************************
815 diff --git a/METISLib/srefine.c b/METISLib/srefine.c
816 index cd02cb9..c9f1169 100644
817 --- a/METISLib/srefine.c
818 +++ b/METISLib/srefine.c
819 @@ -12,7 +12,7 @@
823 -#include <metis.h>
824 +#include <METISLib/metis.h>
827 /*************************************************************************
828 diff --git a/METISLib/stat.c b/METISLib/stat.c
829 index 6156d6d..b76004b 100644
830 --- a/METISLib/stat.c
831 +++ b/METISLib/stat.c
832 @@ -12,7 +12,7 @@
836 -#include <metis.h>
837 +#include <METISLib/metis.h>
840 /*************************************************************************
841 diff --git a/METISLib/stats.c b/METISLib/stats.c
842 index 4f6b548..e13d6d5 100644
843 --- a/METISLib/stats.c
844 +++ b/METISLib/stats.c
845 @@ -12,7 +12,7 @@
849 -#include <metis.h>
850 +#include <METISLib/metis.h>
853 /*************************************************************************
854 diff --git a/METISLib/subdomains.c b/METISLib/subdomains.c
855 index 6fc65e7..b439dd7 100644
856 --- a/METISLib/subdomains.c
857 +++ b/METISLib/subdomains.c
858 @@ -13,7 +13,7 @@
862 -#include <metis.h>
863 +#include <METISLib/metis.h>
866 /*************************************************************************
867 diff --git a/METISLib/timing.c b/METISLib/timing.c
868 index a9d0910..9e70ff4 100644
869 --- a/METISLib/timing.c
870 +++ b/METISLib/timing.c
871 @@ -12,7 +12,7 @@
875 -#include <metis.h>
876 +#include <METISLib/metis.h>
879 /*************************************************************************
880 diff --git a/METISLib/util.c b/METISLib/util.c
881 index 5d2e739..faf780b 100644
882 --- a/METISLib/util.c
883 +++ b/METISLib/util.c
884 @@ -11,7 +11,7 @@
885 * $Id: util.c,v 1.2 2003/07/21 18:53:41 karypis Exp $
888 -#include <metis.h>
889 +#include <METISLib/metis.h>
892 /*************************************************************************
893 diff --git a/ParMETISLib/adrivers.c b/ParMETISLib/adrivers.c
894 index e9c5fe0..1f34302 100644
895 --- a/ParMETISLib/adrivers.c
896 +++ b/ParMETISLib/adrivers.c
897 @@ -13,7 +13,7 @@
901 -#include <parmetislib.h>
902 +#include <ParMETISLib/parmetislib.h>
906 diff --git a/ParMETISLib/akwayfm.c b/ParMETISLib/akwayfm.c
907 index 7579d8b..4ca3826 100644
908 --- a/ParMETISLib/akwayfm.c
909 +++ b/ParMETISLib/akwayfm.c
910 @@ -11,7 +11,7 @@
911 * $Id: akwayfm.c,v 1.3 2003/07/22 22:58:18 karypis Exp $
914 -#include <parmetislib.h>
915 +#include <ParMETISLib/parmetislib.h>
917 #define ProperSide(c, from, other) \
918 (((c) == 0 && (from)-(other) < 0) || ((c) == 1 && (from)-(other) > 0))
919 diff --git a/ParMETISLib/ametis.c b/ParMETISLib/ametis.c
920 index 6fac271..2c86ab3 100644
921 --- a/ParMETISLib/ametis.c
922 +++ b/ParMETISLib/ametis.c
923 @@ -12,7 +12,7 @@
927 -#include <parmetislib.h>
928 +#include <ParMETISLib/parmetislib.h>
932 diff --git a/ParMETISLib/backcompat.c b/ParMETISLib/backcompat.c
933 index b62d4bb..5f691e5 100644
934 --- a/ParMETISLib/backcompat.c
935 +++ b/ParMETISLib/backcompat.c
936 @@ -12,7 +12,7 @@
940 -#include <parmetislib.h>
941 +#include <ParMETISLib/parmetislib.h>
943 /*****************************************************************************
944 * This function computes a partitioning.
945 diff --git a/ParMETISLib/balancemylink.c b/ParMETISLib/balancemylink.c
946 index dd944d1..d1a8664 100644
947 --- a/ParMETISLib/balancemylink.c
948 +++ b/ParMETISLib/balancemylink.c
949 @@ -11,7 +11,7 @@
950 * $Id: balancemylink.c,v 1.2 2003/07/21 17:18:48 karypis Exp $
953 -#include <parmetislib.h>
954 +#include <ParMETISLib/parmetislib.h>
955 #define PE 0
957 /*************************************************************************
958 diff --git a/ParMETISLib/coarsen.c b/ParMETISLib/coarsen.c
959 index 70f48c2..ed3a3f9 100644
960 --- a/ParMETISLib/coarsen.c
961 +++ b/ParMETISLib/coarsen.c
962 @@ -12,7 +12,7 @@
966 -#include <parmetislib.h>
967 +#include <ParMETISLib/parmetislib.h>
970 /*************************************************************************
971 diff --git a/ParMETISLib/comm.c b/ParMETISLib/comm.c
972 index fb18789..fa1826a 100644
973 --- a/ParMETISLib/comm.c
974 +++ b/ParMETISLib/comm.c
975 @@ -8,7 +8,7 @@
976 * $Id: comm.c,v 1.2 2003/07/21 17:18:48 karypis Exp $
979 -#include <parmetislib.h>
980 +#include <ParMETISLib/parmetislib.h>
984 diff --git a/ParMETISLib/csrmatch.c b/ParMETISLib/csrmatch.c
985 index ace7998..6b0bede 100644
986 --- a/ParMETISLib/csrmatch.c
987 +++ b/ParMETISLib/csrmatch.c
988 @@ -12,7 +12,7 @@
992 -#include <parmetislib.h>
993 +#include <ParMETISLib/parmetislib.h>
997 diff --git a/ParMETISLib/debug.c b/ParMETISLib/debug.c
998 index ebdf69c..6c8dcf4 100644
999 --- a/ParMETISLib/debug.c
1000 +++ b/ParMETISLib/debug.c
1001 @@ -13,7 +13,7 @@
1005 -#include <parmetislib.h>
1006 +#include <ParMETISLib/parmetislib.h>
1009 /*************************************************************************
1010 diff --git a/ParMETISLib/diffutil.c b/ParMETISLib/diffutil.c
1011 index f31da64..d0b1751 100644
1012 --- a/ParMETISLib/diffutil.c
1013 +++ b/ParMETISLib/diffutil.c
1014 @@ -12,7 +12,7 @@
1018 -#include <parmetislib.h>
1019 +#include <ParMETISLib/parmetislib.h>
1022 /*************************************************************************
1023 diff --git a/ParMETISLib/fpqueue.c b/ParMETISLib/fpqueue.c
1024 index 11c617f..634c8fb 100644
1025 --- a/ParMETISLib/fpqueue.c
1026 +++ b/ParMETISLib/fpqueue.c
1027 @@ -14,7 +14,7 @@
1031 -#include <parmetislib.h>
1032 +#include <ParMETISLib/parmetislib.h>
1035 /*************************************************************************
1036 diff --git a/ParMETISLib/frename.c b/ParMETISLib/frename.c
1037 index 551dd59..ba88e88 100644
1038 --- a/ParMETISLib/frename.c
1039 +++ b/ParMETISLib/frename.c
1040 @@ -11,7 +11,7 @@
1044 -#include <parmetislib.h>
1045 +#include <ParMETISLib/parmetislib.h>
1049 diff --git a/ParMETISLib/gkmetis.c b/ParMETISLib/gkmetis.c
1050 index 8eb2382..d645376 100644
1051 --- a/ParMETISLib/gkmetis.c
1052 +++ b/ParMETISLib/gkmetis.c
1053 @@ -13,7 +13,7 @@
1057 -#include <parmetislib.h>
1058 +#include <ParMETISLib/parmetislib.h>
1062 diff --git a/ParMETISLib/grsetup.c b/ParMETISLib/grsetup.c
1063 index 7f10a8f..c7f0474 100644
1064 --- a/ParMETISLib/grsetup.c
1065 +++ b/ParMETISLib/grsetup.c
1066 @@ -12,7 +12,7 @@
1070 -#include <parmetislib.h>
1071 +#include <ParMETISLib/parmetislib.h>
1075 diff --git a/ParMETISLib/iidxsort.c b/ParMETISLib/iidxsort.c
1076 index 869748c..e879037 100644
1077 --- a/ParMETISLib/iidxsort.c
1078 +++ b/ParMETISLib/iidxsort.c
1079 @@ -1,4 +1,4 @@
1080 -#include <parmetislib.h>
1081 +#include <ParMETISLib/parmetislib.h>
1084 /* Byte-wise swap two items of size SIZE. */
1085 diff --git a/ParMETISLib/iintsort.c b/ParMETISLib/iintsort.c
1086 index fb0e840..3bf1247 100644
1087 --- a/ParMETISLib/iintsort.c
1088 +++ b/ParMETISLib/iintsort.c
1089 @@ -1,4 +1,4 @@
1090 -#include <parmetislib.h>
1091 +#include <ParMETISLib/parmetislib.h>
1094 /* Byte-wise swap two items of size SIZE. */
1095 diff --git a/ParMETISLib/ikeysort.c b/ParMETISLib/ikeysort.c
1096 index 14b4241..a64c1b3 100644
1097 --- a/ParMETISLib/ikeysort.c
1098 +++ b/ParMETISLib/ikeysort.c
1099 @@ -1,4 +1,4 @@
1100 -#include <parmetislib.h>
1101 +#include <ParMETISLib/parmetislib.h>
1104 /* Byte-wise swap two items of size SIZE. */
1105 diff --git a/ParMETISLib/ikeyvalsort.c b/ParMETISLib/ikeyvalsort.c
1106 index 59dce52..3a821b4 100644
1107 --- a/ParMETISLib/ikeyvalsort.c
1108 +++ b/ParMETISLib/ikeyvalsort.c
1109 @@ -1,4 +1,4 @@
1110 -#include <parmetislib.h>
1111 +#include <ParMETISLib/parmetislib.h>
1114 /* Byte-wise swap two items of size SIZE. */
1115 diff --git a/ParMETISLib/initbalance.c b/ParMETISLib/initbalance.c
1116 index 9ec7a31..3f67d2d 100644
1117 --- a/ParMETISLib/initbalance.c
1118 +++ b/ParMETISLib/initbalance.c
1119 @@ -11,7 +11,7 @@
1120 * $Id: initbalance.c,v 1.4 2003/07/30 21:18:52 karypis Exp $
1123 -#include <parmetislib.h>
1124 +#include <ParMETISLib/parmetislib.h>
1127 /*************************************************************************
1128 diff --git a/ParMETISLib/initmsection.c b/ParMETISLib/initmsection.c
1129 index 63c7c35..1c2823e 100644
1130 --- a/ParMETISLib/initmsection.c
1131 +++ b/ParMETISLib/initmsection.c
1132 @@ -11,7 +11,7 @@
1133 * $Id: initmsection.c,v 1.2 2003/07/21 17:18:49 karypis Exp $
1136 -#include <parmetislib.h>
1137 +#include <ParMETISLib/parmetislib.h>
1140 #define DEBUG_IPART_
1141 diff --git a/ParMETISLib/initpart.c b/ParMETISLib/initpart.c
1142 index 40b8d95..a14a926 100644
1143 --- a/ParMETISLib/initpart.c
1144 +++ b/ParMETISLib/initpart.c
1145 @@ -12,7 +12,7 @@
1146 * $Id: initpart.c,v 1.2 2003/07/21 17:18:49 karypis Exp $
1149 -#include <parmetislib.h>
1150 +#include <ParMETISLib/parmetislib.h>
1153 #define DEBUG_IPART_
1154 diff --git a/ParMETISLib/kmetis.c b/ParMETISLib/kmetis.c
1155 index 2ad20e3..7d3bb4d 100644
1156 --- a/ParMETISLib/kmetis.c
1157 +++ b/ParMETISLib/kmetis.c
1158 @@ -12,7 +12,7 @@
1162 -#include <parmetislib.h>
1163 +#include <ParMETISLib/parmetislib.h>
1166 /***********************************************************************************
1167 diff --git a/ParMETISLib/kwaybalance.c b/ParMETISLib/kwaybalance.c
1168 index 003ec7c..6d5a72b 100644
1169 --- a/ParMETISLib/kwaybalance.c
1170 +++ b/ParMETISLib/kwaybalance.c
1171 @@ -11,7 +11,7 @@
1172 * $Id: kwaybalance.c,v 1.2 2003/07/21 17:18:49 karypis Exp $
1175 -#include <parmetislib.h>
1176 +#include <ParMETISLib/parmetislib.h>
1178 #define ProperSide(c, from, other) \
1179 (((c) == 0 && (from)-(other) < 0) || ((c) == 1 && (from)-(other) > 0))
1180 diff --git a/ParMETISLib/kwayfm.c b/ParMETISLib/kwayfm.c
1181 index 4d0849b..830b35a 100644
1182 --- a/ParMETISLib/kwayfm.c
1183 +++ b/ParMETISLib/kwayfm.c
1184 @@ -11,7 +11,7 @@
1185 * $Id: kwayfm.c,v 1.3 2003/07/22 20:29:05 karypis Exp $
1188 -#include <parmetislib.h>
1189 +#include <ParMETISLib/parmetislib.h>
1191 #define ProperSide(c, from, other) \
1192 (((c) == 0 && (from)-(other) < 0) || ((c) == 1 && (from)-(other) > 0))
1193 diff --git a/ParMETISLib/kwayrefine.c b/ParMETISLib/kwayrefine.c
1194 index e4b776e..fa65691 100644
1195 --- a/ParMETISLib/kwayrefine.c
1196 +++ b/ParMETISLib/kwayrefine.c
1197 @@ -11,7 +11,7 @@
1198 * $Id: kwayrefine.c,v 1.2 2003/07/21 17:18:49 karypis Exp $
1201 -#include <parmetislib.h>
1202 +#include <ParMETISLib/parmetislib.h>
1204 #define ProperSide(c, from, other) \
1205 (((c) == 0 && (from)-(other) < 0) || ((c) == 1 && (from)-(other) > 0))
1206 diff --git a/ParMETISLib/lmatch.c b/ParMETISLib/lmatch.c
1207 index d8601ef..7252917 100644
1208 --- a/ParMETISLib/lmatch.c
1209 +++ b/ParMETISLib/lmatch.c
1210 @@ -12,7 +12,7 @@
1214 -#include <parmetislib.h>
1215 +#include <ParMETISLib/parmetislib.h>
1218 /*************************************************************************
1219 diff --git a/ParMETISLib/match.c b/ParMETISLib/match.c
1220 index 89bfa62..828347b 100644
1221 --- a/ParMETISLib/match.c
1222 +++ b/ParMETISLib/match.c
1223 @@ -12,7 +12,7 @@
1227 -#include <parmetislib.h>
1228 +#include <ParMETISLib/parmetislib.h>
1231 /*************************************************************************
1232 diff --git a/ParMETISLib/mdiffusion.c b/ParMETISLib/mdiffusion.c
1233 index 6c02138..c9773c7 100644
1234 --- a/ParMETISLib/mdiffusion.c
1235 +++ b/ParMETISLib/mdiffusion.c
1236 @@ -10,7 +10,7 @@
1237 * $Id: mdiffusion.c,v 1.2 2003/07/21 17:18:50 karypis Exp $
1240 -#include <parmetislib.h>
1241 +#include <ParMETISLib/parmetislib.h>
1243 #define PE -1
1245 diff --git a/ParMETISLib/mdrivers.c b/ParMETISLib/mdrivers.c
1246 index 467df79..2d47f5c 100644
1247 --- a/ParMETISLib/mdrivers.c
1248 +++ b/ParMETISLib/mdrivers.c
1249 @@ -13,7 +13,7 @@
1253 -#include <parmetislib.h>
1254 +#include <ParMETISLib/parmetislib.h>
1258 diff --git a/ParMETISLib/memory.c b/ParMETISLib/memory.c
1259 index a8eeaff..e81c843 100644
1260 --- a/ParMETISLib/memory.c
1261 +++ b/ParMETISLib/memory.c
1262 @@ -12,7 +12,7 @@
1266 -#include <parmetislib.h>
1267 +#include <ParMETISLib/parmetislib.h>
1270 /*************************************************************************
1271 diff --git a/ParMETISLib/mesh.c b/ParMETISLib/mesh.c
1272 index 57a80c0..9d1551c 100644
1273 --- a/ParMETISLib/mesh.c
1274 +++ b/ParMETISLib/mesh.c
1275 @@ -13,7 +13,7 @@
1279 -#include <parmetislib.h>
1280 +#include <ParMETISLib/parmetislib.h>
1283 /*************************************************************************
1284 diff --git a/ParMETISLib/mmetis.c b/ParMETISLib/mmetis.c
1285 index b262ed1..29475b3 100644
1286 --- a/ParMETISLib/mmetis.c
1287 +++ b/ParMETISLib/mmetis.c
1288 @@ -12,7 +12,7 @@
1292 -#include <parmetislib.h>
1293 +#include <ParMETISLib/parmetislib.h>
1296 /***********************************************************************************
1297 diff --git a/ParMETISLib/move.c b/ParMETISLib/move.c
1298 index 06a8e5c..e0140ee 100644
1299 --- a/ParMETISLib/move.c
1300 +++ b/ParMETISLib/move.c
1301 @@ -12,7 +12,7 @@
1305 -#include <parmetislib.h>
1306 +#include <ParMETISLib/parmetislib.h>
1308 /*************************************************************************
1309 * This function moves the graph, and returns a new graph.
1310 diff --git a/ParMETISLib/node_refine.c b/ParMETISLib/node_refine.c
1311 index 3f57aa7..8781b66 100644
1312 --- a/ParMETISLib/node_refine.c
1313 +++ b/ParMETISLib/node_refine.c
1314 @@ -11,7 +11,7 @@
1315 * $Id: node_refine.c,v 1.2 2003/07/21 17:18:50 karypis Exp $
1318 -#include <parmetislib.h>
1319 +#include <ParMETISLib/parmetislib.h>
1321 #define PackWeightWhereInfo(a, b) (((a)<<10) + (b))
1322 #define SelectWhere(a) ((a)%1024)
1323 diff --git a/ParMETISLib/ometis.c b/ParMETISLib/ometis.c
1324 index 1a461f1..afed696 100644
1325 --- a/ParMETISLib/ometis.c
1326 +++ b/ParMETISLib/ometis.c
1327 @@ -12,7 +12,7 @@
1331 -#include <parmetislib.h>
1332 +#include <ParMETISLib/parmetislib.h>
1336 diff --git a/ParMETISLib/order.c b/ParMETISLib/order.c
1337 index a73c87b..b660d5f 100644
1338 --- a/ParMETISLib/order.c
1339 +++ b/ParMETISLib/order.c
1340 @@ -14,7 +14,7 @@
1342 #define DEBUG_ORDER_
1344 -#include <parmetislib.h>
1345 +#include <ParMETISLib/parmetislib.h>
1347 /*************************************************************************
1348 * This is the top level ordering routine
1349 diff --git a/ParMETISLib/parmetislib.h b/ParMETISLib/parmetislib.h
1350 index 36c1041..553bc52 100644
1351 --- a/ParMETISLib/parmetislib.h
1352 +++ b/ParMETISLib/parmetislib.h
1353 @@ -16,16 +16,16 @@
1354 #define DMALLOC 1
1357 -#include <stdheaders.h>
1358 +#include <ParMETISLib/stdheaders.h>
1359 #include "../parmetis.h"
1361 #ifdef DMALLOC
1362 #include <dmalloc.h>
1363 #endif
1365 -#include <rename.h>
1366 -#include <defs.h>
1367 -#include <struct.h>
1368 -#include <macros.h>
1369 -#include <proto.h>
1370 +#include <ParMETISLib/rename.h>
1371 +#include <ParMETISLib/defs.h>
1372 +#include <ParMETISLib/struct.h>
1373 +#include <ParMETISLib/macros.h>
1374 +#include <ParMETISLib/proto.h>
1376 diff --git a/ParMETISLib/pspases.c b/ParMETISLib/pspases.c
1377 index 8b7a182..66b8ccf 100644
1378 --- a/ParMETISLib/pspases.c
1379 +++ b/ParMETISLib/pspases.c
1380 @@ -11,7 +11,7 @@
1384 -#include <parmetislib.h>
1385 +#include <ParMETISLib/parmetislib.h>
1388 /***********************************************************************************
1389 diff --git a/ParMETISLib/redomylink.c b/ParMETISLib/redomylink.c
1390 index 98b6810..0e0411d 100644
1391 --- a/ParMETISLib/redomylink.c
1392 +++ b/ParMETISLib/redomylink.c
1393 @@ -11,7 +11,7 @@
1394 * $Id: redomylink.c,v 1.2 2003/07/21 17:18:53 karypis Exp $
1397 -#include <parmetislib.h>
1398 +#include <ParMETISLib/parmetislib.h>
1399 #define PE 0
1401 /*************************************************************************
1402 diff --git a/ParMETISLib/remap.c b/ParMETISLib/remap.c
1403 index 31f186b..7e9a9cb 100644
1404 --- a/ParMETISLib/remap.c
1405 +++ b/ParMETISLib/remap.c
1406 @@ -11,7 +11,7 @@
1410 -#include <parmetislib.h>
1411 +#include <ParMETISLib/parmetislib.h>
1413 /*************************************************************************
1414 * This function remaps that graph so that it will minimize the
1415 diff --git a/ParMETISLib/rmetis.c b/ParMETISLib/rmetis.c
1416 index 3755209..398f0ae 100644
1417 --- a/ParMETISLib/rmetis.c
1418 +++ b/ParMETISLib/rmetis.c
1419 @@ -12,7 +12,7 @@
1423 -#include <parmetislib.h>
1424 +#include <ParMETISLib/parmetislib.h>
1428 diff --git a/ParMETISLib/selectq.c b/ParMETISLib/selectq.c
1429 index 5ec9109..ce52809 100644
1430 --- a/ParMETISLib/selectq.c
1431 +++ b/ParMETISLib/selectq.c
1432 @@ -11,7 +11,7 @@
1433 * $Id: selectq.c,v 1.2 2003/07/21 17:18:53 karypis Exp $
1436 -#include <parmetislib.h>
1437 +#include <ParMETISLib/parmetislib.h>
1439 /*************************************************************************
1440 * This stuff is hardcoded for up to four constraints
1441 diff --git a/ParMETISLib/serial.c b/ParMETISLib/serial.c
1442 index 630d4e5..4b0299a 100644
1443 --- a/ParMETISLib/serial.c
1444 +++ b/ParMETISLib/serial.c
1445 @@ -10,7 +10,7 @@
1449 -#include <parmetislib.h>
1450 +#include <ParMETISLib/parmetislib.h>
1453 /*************************************************************************
1454 diff --git a/ParMETISLib/setup.c b/ParMETISLib/setup.c
1455 index 682a31d..6a2c113 100644
1456 --- a/ParMETISLib/setup.c
1457 +++ b/ParMETISLib/setup.c
1458 @@ -14,7 +14,7 @@
1462 -#include <parmetislib.h>
1463 +#include <ParMETISLib/parmetislib.h>
1465 #define DEBUG_SETUPINFO_
1467 diff --git a/ParMETISLib/stat.c b/ParMETISLib/stat.c
1468 index 4a32bc8..413ec12 100644
1469 --- a/ParMETISLib/stat.c
1470 +++ b/ParMETISLib/stat.c
1471 @@ -12,7 +12,7 @@
1475 -#include <parmetislib.h>
1476 +#include <ParMETISLib/parmetislib.h>
1480 diff --git a/ParMETISLib/stdheaders.h b/ParMETISLib/stdheaders.h
1481 index e30f989..0bf179e 100644
1482 --- a/ParMETISLib/stdheaders.h
1483 +++ b/ParMETISLib/stdheaders.h
1484 @@ -14,7 +14,6 @@
1486 #include <stdio.h>
1487 #include <stdlib.h>
1488 -#include <malloc.h>
1489 #include <string.h>
1490 #include <ctype.h>
1491 #include <math.h>
1492 diff --git a/ParMETISLib/timer.c b/ParMETISLib/timer.c
1493 index 73cc11a..d86d9ba 100644
1494 --- a/ParMETISLib/timer.c
1495 +++ b/ParMETISLib/timer.c
1496 @@ -12,7 +12,7 @@
1500 -#include <parmetislib.h>
1501 +#include <ParMETISLib/parmetislib.h>
1505 diff --git a/ParMETISLib/util.c b/ParMETISLib/util.c
1506 index 34c657d..a27ee49 100644
1507 --- a/ParMETISLib/util.c
1508 +++ b/ParMETISLib/util.c
1509 @@ -11,7 +11,7 @@
1510 * $Id: util.c,v 1.2 2003/07/21 17:18:54 karypis Exp $
1513 -#include <parmetislib.h>
1514 +#include <ParMETISLib/parmetislib.h>
1517 /*************************************************************************
1518 diff --git a/ParMETISLib/wave.c b/ParMETISLib/wave.c
1519 index 0f1cb3f..8e8252f 100644
1520 --- a/ParMETISLib/wave.c
1521 +++ b/ParMETISLib/wave.c
1522 @@ -11,7 +11,7 @@
1526 -#include <parmetislib.h>
1527 +#include <ParMETISLib/parmetislib.h>
1529 /*************************************************************************
1530 * This function performs a k-way directed diffusion
1531 diff --git a/ParMETISLib/weird.c b/ParMETISLib/weird.c
1532 index 69d0e5d..9a679db 100644
1533 --- a/ParMETISLib/weird.c
1534 +++ b/ParMETISLib/weird.c
1535 @@ -12,7 +12,7 @@
1539 -#include <parmetislib.h>
1540 +#include <ParMETISLib/parmetislib.h>
1544 diff --git a/ParMETISLib/xyzpart.c b/ParMETISLib/xyzpart.c
1545 index e538034..0cca89c 100644
1546 --- a/ParMETISLib/xyzpart.c
1547 +++ b/ParMETISLib/xyzpart.c
1548 @@ -12,7 +12,7 @@
1552 -#include <parmetislib.h>
1553 +#include <ParMETISLib/parmetislib.h>
1556 /*************************************************************************
1557 diff --git a/files.cmake b/files.cmake
1558 new file mode 100644
1559 index 0000000..9f85b90
1560 --- /dev/null
1561 +++ b/files.cmake
1562 @@ -0,0 +1,138 @@
1563 +#-------------------------------------------------------------------------------
1564 +# ______ _ ____ __ __
1565 +# | ____| _| |_ / __ \ /\ | \/ |
1566 +# | |__ _ __ ___ ___ / \| | | | / \ | \ / |
1567 +# | __| '__/ _ \/ _ ( (| |) ) | | |/ /\ \ | |\/| |
1568 +# | | | | | __/ __/\_ _/| |__| / ____ \| | | |
1569 +# |_| |_| \___|\___| |_| \____/_/ \_\_| |_|
1571 +# FreeFOAM: The Cross-Platform CFD Toolkit
1573 +# Copyright (C) 2008-2011 Michael Wild <themiwi@users.sf.net>
1574 +# Gerber van der Graaf <gerber_graaf@users.sf.net>
1575 +#-------------------------------------------------------------------------------
1576 +# License
1577 +# This file is part of FreeFOAM.
1579 +# FreeFOAM is free software; you can redistribute it and/or modify it
1580 +# under the terms of the GNU General Public License as published by the
1581 +# Free Software Foundation; either version 2 of the License, or (at your
1582 +# option) any later version.
1584 +# FreeFOAM is distributed in the hope that it will be useful, but WITHOUT
1585 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1586 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1587 +# for more details.
1589 +# You should have received a copy of the GNU General Public License
1590 +# along with FreeFOAM; if not, write to the Free Software Foundation,
1591 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1592 +#-------------------------------------------------------------------------------
1594 +set(PARMETIS_SRCS
1595 + ParMETISLib/comm.c
1596 + ParMETISLib/util.c
1597 + ParMETISLib/debug.c
1598 + ParMETISLib/setup.c
1599 + ParMETISLib/grsetup.c
1600 + ParMETISLib/timer.c
1601 + ParMETISLib/node_refine.c
1602 + ParMETISLib/initmsection.c
1603 + ParMETISLib/order.c
1604 + ParMETISLib/xyzpart.c
1605 + ParMETISLib/pspases.c
1606 + ParMETISLib/frename.c
1607 + ParMETISLib/iintsort.c
1608 + ParMETISLib/iidxsort.c
1609 + ParMETISLib/ikeysort.c
1610 + ParMETISLib/ikeyvalsort.c
1611 + ParMETISLib/kmetis.c
1612 + ParMETISLib/gkmetis.c
1613 + ParMETISLib/ometis.c
1614 + ParMETISLib/initpart.c
1615 + ParMETISLib/match.c
1616 + ParMETISLib/coarsen.c
1617 + ParMETISLib/kwayfm.c
1618 + ParMETISLib/kwayrefine.c
1619 + ParMETISLib/kwaybalance.c
1620 + ParMETISLib/remap.c
1621 + ParMETISLib/stat.c
1622 + ParMETISLib/fpqueue.c
1623 + ParMETISLib/ametis.c
1624 + ParMETISLib/rmetis.c
1625 + ParMETISLib/lmatch.c
1626 + ParMETISLib/initbalance.c
1627 + ParMETISLib/mdiffusion.c
1628 + ParMETISLib/diffutil.c
1629 + ParMETISLib/wave.c
1630 + ParMETISLib/csrmatch.c
1631 + ParMETISLib/redomylink.c
1632 + ParMETISLib/balancemylink.c
1633 + ParMETISLib/selectq.c
1634 + ParMETISLib/akwayfm.c
1635 + ParMETISLib/serial.c
1636 + ParMETISLib/move.c
1637 + ParMETISLib/mmetis.c
1638 + ParMETISLib/mesh.c
1639 + ParMETISLib/memory.c
1640 + ParMETISLib/weird.c
1641 + ParMETISLib/backcompat.c
1644 +set(METISLIB_SRCS
1645 + METISLib/coarsen.c
1646 + METISLib/fm.c
1647 + METISLib/initpart.c
1648 + METISLib/match.c
1649 + METISLib/ccgraph.c
1650 + METISLib/pmetis.c
1651 + METISLib/pqueue.c
1652 + METISLib/refine.c
1653 + METISLib/util.c
1654 + METISLib/timing.c
1655 + METISLib/debug.c
1656 + METISLib/bucketsort.c
1657 + METISLib/graph.c
1658 + METISLib/stat.c
1659 + METISLib/kmetis.c
1660 + METISLib/kwayrefine.c
1661 + METISLib/kwayfm.c
1662 + METISLib/balance.c
1663 + METISLib/ometis.c
1664 + METISLib/srefine.c
1665 + METISLib/sfm.c
1666 + METISLib/separator.c
1667 + METISLib/mincover.c
1668 + METISLib/mmd.c
1669 + METISLib/mesh.c
1670 + METISLib/meshpart.c
1671 + METISLib/frename.c
1672 + METISLib/fortran.c
1673 + METISLib/myqsort.c
1674 + METISLib/compress.c
1675 + METISLib/parmetis.c
1676 + METISLib/estmem.c
1677 + METISLib/mpmetis.c
1678 + METISLib/mcoarsen.c
1679 + METISLib/mmatch.c
1680 + METISLib/minitpart.c
1681 + METISLib/mbalance.c
1682 + METISLib/mutil.c
1683 + METISLib/mkmetis.c
1684 + METISLib/mkwayrefine.c
1685 + METISLib/mkwayfmh.c
1686 + METISLib/mrefine2.c
1687 + METISLib/minitpart2.c
1688 + METISLib/mbalance2.c
1689 + METISLib/mfm2.c
1690 + METISLib/kvmetis.c
1691 + METISLib/kwayvolrefine.c
1692 + METISLib/kwayvolfm.c
1693 + METISLib/subdomains.c
1694 + METISLib/mfm.c
1695 + METISLib/memory.c
1696 + METISLib/mrefine.c
1697 + METISLib/checkgraph.c
1700 +# ------------------------- vim: set sw=2 sts=2 et: --------------- end-of-file