forked from OpenFOAM/OpenFOAM-2.2.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv3-mingw-openfoam-2-2-x.patch
executable file
·24687 lines (24290 loc) · 717 KB
/
v3-mingw-openfoam-2-2-x.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--- extra/scotch/src/Make.inc/Makefile.inc.linux (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/Make.inc/Makefile.inc.linux (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,21 @@
+EXE =
+LIB = .so
+OBJ = .o
+
+MAKE = make
+AR = gcc
+ARFLAGS = -shared -o
+CAT = cat
+CCS = gcc
+CCP = mpicc
+CCD = gcc
+CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -Drestrict=__restrict
+CLIBFLAGS = -shared -fPIC
+LDFLAGS = -lz -lm -lrt
+CP = cp
+LEX = flex -Pscotchyy -olex.yy.c
+LN = ln
+MKDIR = mkdir
+MV = mv
+RANLIB = echo
+YACC = bison -pscotchyy -y -b y
--- extra/scotch/src/Make.inc/Makefile.inc.mingw-w64 (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/Make.inc/Makefile.inc.mingw-w64 (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,23 @@
+EXE =
+#MJ LIB = .a
+LIB = .dll
+OBJ = .o
+
+MAKE = make
+AR = x86_64-w64-mingw32-gcc
+
+CAT = cat
+CC = x86_64-w64-mingw32-gcc
+CCS = x86_64-w64-mingw32-gcc
+CCP = x86_64-w64-mingw32-gcc
+CCD =
+CFLAGS = -O3 -m64 -Wall -DMSWIN -DNDEBUG -Drestrict=__restrict -DCOMMON_WINDOWS -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DCOMMON_RANDOM_RAND -DCOMMON_STUB_FORK -D'pipe(pfds)=_pipe(pfds,1024,0x8000)'
+LDFLAGS = -lz
+ARFLAGS = $(CFLAGS) -shared -Wl,--output-def,libscotch.def,--out-implib,libscotch.a,--enable-auto-import,--strip-all -o
+CP = cp
+LEX = flex
+LN = ln
+MKDIR = mkdir
+MV = mv
+RANLIB = echo
+YACC = bison -pscotchyy -y -b y
--- extra/scotch/src/Make.inc/Makefile.inc.darwin (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/Make.inc/Makefile.inc.darwin (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,23 @@
+EXE =
+#MJ LIB = .a
+LIB = .dylib
+OBJ = .o
+
+MAKE = make
+AR = gcc
+
+CAT = cat
+CCS = gcc
+CC = gcc
+CCP = gcc
+CCD = gcc
+CFLAGS = -O3 -Drestrict=__restrict -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DCOMMON_FILE_COMPRESS_GZ -DSCOTCH_RENAME
+LDFLAGS = -lz -lm
+ARFLAGS = $(CFLAGS) -dynamiclib -flat_namespace -undefined suppress -o
+CP = cp
+LEX = flex
+LN = ln
+MKDIR = mkdir
+MV = mv
+RANLIB = echo
+YACC = bison -pscotchyy -y -b y
--- extra/scotch/src/libscotch/common.c (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/libscotch/common.c (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,116 @@
+/* Copyright 2004,2007 ENSEIRB, INRIA & CNRS
+**
+** This file is part of the Scotch software package for static mapping,
+** graph partitioning and sparse matrix ordering.
+**
+** This software is governed by the CeCILL-C license under French law
+** and abiding by the rules of distribution of free software. You can
+** use, modify and/or redistribute the software under the terms of the
+** CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
+** URL: "http://www.cecill.info".
+**
+** As a counterpart to the access to the source code and rights to copy,
+** modify and redistribute granted by the license, users are provided
+** only with a limited warranty and the software's author, the holder of
+** the economic rights, and the successive licensors have only limited
+** liability.
+**
+** In this respect, the user's attention is drawn to the risks associated
+** with loading, using, modifying and/or developing or reproducing the
+** software by the user in light of its specific status of free software,
+** that may mean that it is complicated to manipulate, and that also
+** therefore means that it is reserved for developers and experienced
+** professionals having in-depth computer knowledge. Users are therefore
+** encouraged to load and test the software's suitability as regards
+** their requirements in conditions enabling the security of their
+** systems and/or data to be ensured and, more generally, to use and
+** operate it in the same conditions as regards security.
+**
+** The fact that you are presently reading this means that you have had
+** knowledge of the CeCILL-C license and that you accept its terms.
+*/
+/************************************************************/
+/** **/
+/** NAME : common.c **/
+/** **/
+/** AUTHORS : David GOUDIN **/
+/** Pascal HENON **/
+/** Francois PELLEGRINI **/
+/** Pierre RAMET **/
+/** **/
+/** FUNCTION : Part of a parallel direct block solver. **/
+/** These lines are common routines used **/
+/** by all modules. **/
+/** **/
+/** DATES : # Version 0.0 : from : 08 may 1998 **/
+/** to 14 sep 1998 **/
+/** # Version 2.0 : from : 27 sep 2004 **/
+/** to 27 sep 2004 **/
+/** **/
+/************************************************************/
+
+/*
+** The defines and includes.
+*/
+
+#define COMMON
+
+#include <time.h>
+#include "common.h"
+
+#ifdef MSWIN
+#include <sys/time.h>
+#endif
+
+/*******************/
+/* */
+/* Timing routine. */
+/* */
+/*******************/
+
+double
+clockGet (void)
+{
+#ifdef MPI_INT
+ return (MPI_Wtime ());
+#else /* MPI_INT */
+#ifdef MSWIN
+ struct timeval data;
+
+ gettimeofday(&data, NULL);
+
+ return (data.tv_sec + 1E-6*data.tv_usec);
+#elif defined(COMMON_TIMING_OLD) /* Old timing routine */
+ struct rusage data;
+
+ getrusage (RUSAGE_SELF, &data);
+
+ return (((double) data.ru_utime.tv_sec + (double) data.ru_stime.tv_sec) +
+ ((double) data.ru_utime.tv_usec + (double) data.ru_stime.tv_usec) * 1.0e-6L);
+#else /* COMMON_TIMING_OLD */
+ struct timespec tp;
+
+ clock_gettime (CLOCK_REALTIME, &tp); /* Elapsed time */
+
+ return ((double) tp.tv_sec + (double) tp.tv_nsec * 1.0e-9L);
+#endif /* COMMON_TIMING_OLD */
+#endif /* MPI_INT */
+}
+
+/***************************/
+/* */
+/* Usage printing routine. */
+/* */
+/***************************/
+
+void
+usagePrint (
+FILE * const stream,
+const char ** const data)
+{
+ const char ** cptr;
+
+ fprintf (stream, "Usage is:\n");
+ for (cptr = data; *cptr != NULL; cptr ++)
+ fprintf (stream, " %s\n", *cptr);
+}
--- extra/scotch/src/libscotch/scotch.h (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/libscotch/scotch.h (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,332 @@
+/* Copyright 2004,2007-2010 ENSEIRB, INRIA & CNRS
+**
+** This file is part of the Scotch software package for static mapping,
+** graph partitioning and sparse matrix ordering.
+**
+** This software is governed by the CeCILL-C license under French law
+** and abiding by the rules of distribution of free software. You can
+** use, modify and/or redistribute the software under the terms of the
+** CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
+** URL: "http://www.cecill.info".
+**
+** As a counterpart to the access to the source code and rights to copy,
+** modify and redistribute granted by the license, users are provided
+** only with a limited warranty and the software's author, the holder of
+** the economic rights, and the successive licensors have only limited
+** liability.
+**
+** In this respect, the user's attention is drawn to the risks associated
+** with loading, using, modifying and/or developing or reproducing the
+** software by the user in light of its specific status of free software,
+** that may mean that it is complicated to manipulate, and that also
+** therefore means that it is reserved for developers and experienced
+** professionals having in-depth computer knowledge. Users are therefore
+** encouraged to load and test the software's suitability as regards
+** their requirements in conditions enabling the security of their
+** systems and/or data to be ensured and, more generally, to use and
+** operate it in the same conditions as regards security.
+**
+** The fact that you are presently reading this means that you have had
+** knowledge of the CeCILL-C license and that you accept its terms.
+*/
+/************************************************************/
+/** **/
+/** NAME : ptscotch.h **/
+/** **/
+/** AUTHOR : Francois PELLEGRINI **/
+/** **/
+/** FUNCTION : Declaration file for the LibScotch **/
+/** static mapping and sparse matrix block **/
+/** ordering library. **/
+/** **/
+/** DATES : # Version 3.2 : from : 07 sep 1996 **/
+/** to 22 aug 1998 **/
+/** # Version 3.3 : from : 02 oct 1998 **/
+/** to 31 may 1999 **/
+/** # Version 3.4 : from : 10 oct 1999 **/
+/** to 15 nov 2001 **/
+/** # Version 4.0 : from : 11 dec 2001 **/
+/** to 20 dec 2005 **/
+/** # Version 5.0 : from : 26 apr 2006 **/
+/** to : 20 feb 2008 **/
+/** # Version 5.1 : from : 30 nov 2007 **/
+/** to : 17 nov 2010 **/
+/** **/
+/************************************************************/
+
+/*
+** The type and structure definitions.
+*/
+
+/*+ Version flags. +*/
+
+#define SCOTCH_VERSION 5
+#define SCOTCH_RELEASE 1
+#define SCOTCH_PATCHLEVEL 11
+
+/*+ Parallel processing flag. +*/
+
+#ifndef SCOTCH_PTSCOTCH
+#define SCOTCH_SEQSCOTCH
+#endif /* SCOTCH_PTSCOTCH */
+
+/** Need to check MSWIN for OpenFOAM build environment */
+#if defined(COMMON_WINDOWS) || defined(MSWIN)
+/* For int64_t definition */
+#include <stdint.h>
+#endif
+
+/*+ Integer type. +*/
+typedef int64_t SCOTCH_Idx;
+
+typedef int SCOTCH_Num;
+
+#define SCOTCH_NUMMAX ((int) (((unsigned int) 1 << ((sizeof (int) << 3) - 1)) - 1))
+#define SCOTCH_NUMSTRING "%d"
+
+/*+ Strategy string parametrization values +*/
+
+#define SCOTCH_STRATQUALITY 1
+#define SCOTCH_STRATSPEED 2
+#define SCOTCH_STRATBALANCE 4
+#define SCOTCH_STRATSAFETY 8
+#define SCOTCH_STRATSCALABILITY 16
+
+/*+ Opaque objects. The dummy sizes of these
+objects, computed at compile-time by program
+"dummysizes", are given as double values for
+proper padding +*/
+
+typedef struct {
+ double dummy[5];
+} SCOTCH_Arch;
+
+#ifdef SCOTCH_PTSCOTCH
+typedef struct {
+ double dummy[1];
+} SCOTCH_Dgraph;
+
+typedef struct {
+ double dummy[1];
+} SCOTCH_DgraphHaloReq;
+
+typedef struct {
+ double dummy[1];
+} SCOTCH_Dmapping;
+
+typedef struct {
+ double dummy[1];
+} SCOTCH_Dordering;
+#endif /* SCOTCH_PTSCOTCH */
+
+typedef struct {
+ double dummy[2];
+} SCOTCH_Geom;
+
+typedef struct {
+ double dummy[12];
+} SCOTCH_Graph;
+
+typedef struct {
+ double dummy[15];
+} SCOTCH_Mesh;
+
+typedef struct {
+ double dummy[13];
+} SCOTCH_Mapping;
+
+typedef struct {
+ double dummy[12];
+} SCOTCH_Ordering;
+
+typedef struct {
+ double dummy[1];
+} SCOTCH_Strat;
+
+/*
+** The function prototypes.
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+SCOTCH_Arch * SCOTCH_archAlloc (void);
+int SCOTCH_archInit (SCOTCH_Arch * const);
+void SCOTCH_archExit (SCOTCH_Arch * const);
+int SCOTCH_archLoad (SCOTCH_Arch * const, FILE * const);
+int SCOTCH_archSave (const SCOTCH_Arch * const, FILE * const);
+int SCOTCH_archBuild (SCOTCH_Arch * const, const SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Strat * const);
+char * SCOTCH_archName (const SCOTCH_Arch * const);
+SCOTCH_Num SCOTCH_archSize (const SCOTCH_Arch * const);
+int SCOTCH_archCmplt (SCOTCH_Arch * const, const SCOTCH_Num);
+int SCOTCH_archCmpltw (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num * const);
+int SCOTCH_archHcub (SCOTCH_Arch * const, const SCOTCH_Num);
+int SCOTCH_archMesh2 (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_archMesh3 (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_archTleaf (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const);
+int SCOTCH_archTorus2 (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_archTorus3 (SCOTCH_Arch * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_archVcmplt (SCOTCH_Arch * const);
+int SCOTCH_archVhcub (SCOTCH_Arch * const);
+
+#ifdef SCOTCH_PTSCOTCH
+SCOTCH_Dgraph * SCOTCH_dgraphAlloc (void);
+int SCOTCH_dgraphInit (SCOTCH_Dgraph * const, MPI_Comm);
+void SCOTCH_dgraphExit (SCOTCH_Dgraph * const);
+void SCOTCH_dgraphFree (SCOTCH_Dgraph * const);
+int SCOTCH_dgraphLoad (SCOTCH_Dgraph * const, FILE * const, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_dgraphSave (SCOTCH_Dgraph * const, FILE * const);
+int SCOTCH_dgraphCheck (const SCOTCH_Dgraph * const);
+int SCOTCH_dgraphBuild (SCOTCH_Dgraph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_dgraphBuildGrid3D (SCOTCH_Dgraph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const int);
+int SCOTCH_dgraphGather (const SCOTCH_Dgraph * const, SCOTCH_Graph * const);
+int SCOTCH_dgraphScatter (SCOTCH_Dgraph * const, const SCOTCH_Graph * const);
+void SCOTCH_dgraphSize (const SCOTCH_Dgraph * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_dgraphData (const SCOTCH_Dgraph * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, MPI_Comm * const);
+int SCOTCH_dgraphStat (const SCOTCH_Dgraph * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const);
+int SCOTCH_dgraphGhst (SCOTCH_Dgraph * const);
+int SCOTCH_dgraphHalo (SCOTCH_Dgraph * const, void * const, const MPI_Datatype);
+int SCOTCH_dgraphHaloAsync (SCOTCH_Dgraph * const, void * const, const MPI_Datatype, SCOTCH_DgraphHaloReq * const);
+SCOTCH_DgraphHaloReq * SCOTCH_dgraphHaloReqAlloc (void);
+int SCOTCH_dgraphHaloWait (SCOTCH_DgraphHaloReq * const);
+int SCOTCH_dgraphMapInit (const SCOTCH_Dgraph * const, SCOTCH_Dmapping * const, const SCOTCH_Arch * const, SCOTCH_Num * const);
+void SCOTCH_dgraphMapExit (const SCOTCH_Dgraph * const, SCOTCH_Dmapping * const);
+int SCOTCH_dgraphMapSave (const SCOTCH_Dgraph * const, const SCOTCH_Dmapping * const, FILE * const);
+int SCOTCH_dgraphMapView (SCOTCH_Dgraph * const, const SCOTCH_Dmapping * const, FILE * const);
+int SCOTCH_dgraphMapCompute (SCOTCH_Dgraph * const, SCOTCH_Dmapping * const, SCOTCH_Strat * const);
+int SCOTCH_dgraphMap (SCOTCH_Dgraph * const, const SCOTCH_Arch * const, SCOTCH_Strat * const, SCOTCH_Num * const);
+int SCOTCH_dgraphPart (SCOTCH_Dgraph * const, const SCOTCH_Num, SCOTCH_Strat * const, SCOTCH_Num * const);
+int SCOTCH_dgraphCorderInit (const SCOTCH_Dgraph * const, SCOTCH_Ordering * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_dgraphCorderExit (const SCOTCH_Dgraph * const, SCOTCH_Ordering * const);
+
+int SCOTCH_dgraphOrderInit (const SCOTCH_Dgraph * const, SCOTCH_Dordering * const);
+void SCOTCH_dgraphOrderExit (const SCOTCH_Dgraph * const, SCOTCH_Dordering * const);
+int SCOTCH_dgraphOrderSave (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, FILE * const);
+int SCOTCH_dgraphOrderSaveBlock (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, FILE * const);
+int SCOTCH_dgraphOrderSaveMap (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, FILE * const);
+int SCOTCH_dgraphOrderSaveTree (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, FILE * const);
+int SCOTCH_dgraphOrderPerm (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, SCOTCH_Num * const);
+SCOTCH_Num SCOTCH_dgraphOrderCblkDist (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const);
+int SCOTCH_dgraphOrderTreeDist (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_dgraphOrderCompute (SCOTCH_Dgraph * const, SCOTCH_Dordering * const, SCOTCH_Strat * const);
+int SCOTCH_dgraphOrderComputeList (SCOTCH_Dgraph * const, SCOTCH_Dordering * const, const SCOTCH_Num, const SCOTCH_Num * const, SCOTCH_Strat * const);
+int SCOTCH_dgraphOrderGather (const SCOTCH_Dgraph * const, const SCOTCH_Dordering * const, SCOTCH_Ordering * const);
+
+SCOTCH_Dmapping * SCOTCH_dmapAlloc (void);
+
+SCOTCH_Dordering * SCOTCH_dorderAlloc (void);
+#endif /* SCOTCH_PTSCOTCH */
+
+void SCOTCH_errorProg (const char * const);
+void SCOTCH_errorPrint (const char * const, ...);
+void SCOTCH_errorPrintW (const char * const, ...);
+
+SCOTCH_Geom * SCOTCH_geomAlloc (void);
+int SCOTCH_geomInit (SCOTCH_Geom * const);
+void SCOTCH_geomExit (SCOTCH_Geom * const);
+void SCOTCH_geomData (const SCOTCH_Geom * const, SCOTCH_Num * const, double ** const);
+
+SCOTCH_Graph * SCOTCH_graphAlloc (void);
+int SCOTCH_graphInit (SCOTCH_Graph * const);
+void SCOTCH_graphExit (SCOTCH_Graph * const);
+void SCOTCH_graphFree (SCOTCH_Graph * const);
+int SCOTCH_graphLoad (SCOTCH_Graph * const, FILE * const, const SCOTCH_Num, const SCOTCH_Num);
+int SCOTCH_graphSave (const SCOTCH_Graph * const, FILE * const);
+int SCOTCH_graphBuild (SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const);
+SCOTCH_Num SCOTCH_graphBase (SCOTCH_Graph * const, const SCOTCH_Num baseval);
+int SCOTCH_graphCheck (const SCOTCH_Graph * const);
+void SCOTCH_graphSize (const SCOTCH_Graph * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_graphData (const SCOTCH_Graph * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num ** const);
+void SCOTCH_graphStat (const SCOTCH_Graph * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const);
+int SCOTCH_graphGeomLoadChac (SCOTCH_Graph * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomLoadHabo (SCOTCH_Graph * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomLoadMmkt (SCOTCH_Graph * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomLoadScot (SCOTCH_Graph * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomSaveChac (const SCOTCH_Graph * const, const SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomSaveMmkt (const SCOTCH_Graph * const, const SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_graphGeomSaveScot (const SCOTCH_Graph * const, const SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+
+int SCOTCH_graphMapInit (const SCOTCH_Graph * const, SCOTCH_Mapping * const, const SCOTCH_Arch * const, SCOTCH_Num * const);
+void SCOTCH_graphMapExit (const SCOTCH_Graph * const, SCOTCH_Mapping * const);
+int SCOTCH_graphMapLoad (const SCOTCH_Graph * const, const SCOTCH_Mapping * const, FILE * const);
+int SCOTCH_graphMapSave (const SCOTCH_Graph * const, const SCOTCH_Mapping * const, FILE * const);
+int SCOTCH_graphMapView (const SCOTCH_Graph * const, const SCOTCH_Mapping * const, FILE * const);
+int SCOTCH_graphMapCompute (SCOTCH_Graph * const, SCOTCH_Mapping * const, SCOTCH_Strat * const);
+int SCOTCH_graphMap (SCOTCH_Graph * const, const SCOTCH_Arch * const, SCOTCH_Strat * const, SCOTCH_Num * const);
+int SCOTCH_graphPart (SCOTCH_Graph * const, const SCOTCH_Num, SCOTCH_Strat * const, SCOTCH_Num * const);
+
+int SCOTCH_graphOrderInit (const SCOTCH_Graph * const, SCOTCH_Ordering * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_graphOrderExit (const SCOTCH_Graph * const, SCOTCH_Ordering * const);
+int SCOTCH_graphOrderLoad (const SCOTCH_Graph * const, SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_graphOrderSave (const SCOTCH_Graph * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_graphOrderSaveMap (const SCOTCH_Graph * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_graphOrderSaveTree (const SCOTCH_Graph * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_graphOrderCompute (SCOTCH_Graph * const, SCOTCH_Ordering * const, SCOTCH_Strat * const);
+int SCOTCH_graphOrderComputeList (SCOTCH_Graph * const, SCOTCH_Ordering * const, const SCOTCH_Num, const SCOTCH_Num * const, SCOTCH_Strat * const);
+int SCOTCH_graphOrderFactor (const SCOTCH_Graph * const, const SCOTCH_Ordering * const, SCOTCH_Graph * const);
+int SCOTCH_graphOrderView (const SCOTCH_Graph * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_graphOrder (SCOTCH_Graph * const, SCOTCH_Strat * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_graphOrderList (SCOTCH_Graph * const, const SCOTCH_Num, const SCOTCH_Num * const, SCOTCH_Strat * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_graphOrderCheck (const SCOTCH_Graph * const, const SCOTCH_Ordering * const);
+
+SCOTCH_Mapping * SCOTCH_mapAlloc (void);
+
+void SCOTCH_memoryTrace (void);
+void SCOTCH_memoryUntrace (void);
+void SCOTCH_memoryTraceReset (void);
+unsigned long SCOTCH_memoryTraceGet (void);
+
+int SCOTCH_meshInit (SCOTCH_Mesh * const);
+void SCOTCH_meshExit (SCOTCH_Mesh * const);
+int SCOTCH_meshLoad (SCOTCH_Mesh * const, FILE * const, const SCOTCH_Num);
+int SCOTCH_meshSave (const SCOTCH_Mesh * const, FILE * const);
+int SCOTCH_meshBuild (SCOTCH_Mesh * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, const SCOTCH_Num * const);
+int SCOTCH_meshCheck (const SCOTCH_Mesh * const);
+void SCOTCH_meshSize (const SCOTCH_Mesh * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_meshData (const SCOTCH_Mesh * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num ** const, SCOTCH_Num * const, SCOTCH_Num ** const, SCOTCH_Num * const);
+void SCOTCH_meshStat (const SCOTCH_Mesh * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const, SCOTCH_Num * const, SCOTCH_Num * const, double * const, double * const);
+int SCOTCH_meshGraph (const SCOTCH_Mesh * const, SCOTCH_Graph * const);
+int SCOTCH_meshGeomLoadHabo (SCOTCH_Mesh * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_meshGeomLoadScot (SCOTCH_Mesh * const, SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+int SCOTCH_meshGeomSaveScot (const SCOTCH_Mesh * const, const SCOTCH_Geom * const, FILE * const, FILE * const, const char * const);
+
+int SCOTCH_meshOrderInit (const SCOTCH_Mesh * const, SCOTCH_Ordering * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+void SCOTCH_meshOrderExit (const SCOTCH_Mesh * const, SCOTCH_Ordering * const);
+int SCOTCH_meshOrderSave (const SCOTCH_Mesh * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_meshOrderSaveMap (const SCOTCH_Mesh * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_meshOrderSaveTree (const SCOTCH_Mesh * const, const SCOTCH_Ordering * const, FILE * const);
+int SCOTCH_meshOrderCompute (SCOTCH_Mesh * const, SCOTCH_Ordering * const, SCOTCH_Strat * const);
+int SCOTCH_meshOrderComputeList (SCOTCH_Mesh * const, SCOTCH_Ordering * const, const SCOTCH_Num, const SCOTCH_Num * const, SCOTCH_Strat * const);
+int SCOTCH_meshOrder (SCOTCH_Mesh * const, SCOTCH_Strat * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_meshOrderList (SCOTCH_Mesh * const, const SCOTCH_Num, const SCOTCH_Num * const, SCOTCH_Strat * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
+int SCOTCH_meshOrderCheck (const SCOTCH_Mesh * const, const SCOTCH_Ordering * const);
+
+SCOTCH_Ordering * SCOTCH_orderAlloc (void);
+
+void SCOTCH_randomReset (void);
+
+SCOTCH_Strat * SCOTCH_stratAlloc (void);
+int SCOTCH_stratInit (SCOTCH_Strat * const);
+void SCOTCH_stratExit (SCOTCH_Strat * const);
+void SCOTCH_stratFree (SCOTCH_Strat * const);
+int SCOTCH_stratSave (const SCOTCH_Strat * const, FILE * const);
+#ifdef SCOTCH_PTSCOTCH
+int SCOTCH_stratDgraphMap (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratDgraphMapBuild (SCOTCH_Strat * const, const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, const double);
+int SCOTCH_stratDgraphOrder (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratDgraphOrderBuild (SCOTCH_Strat * const, const SCOTCH_Num, const SCOTCH_Num, const double);
+#endif /* SCOTCH_PTSCOTCH */
+int SCOTCH_stratGraphBipart (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratGraphMap (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratGraphMapBuild (SCOTCH_Strat * const, const SCOTCH_Num, const SCOTCH_Num, const double);
+int SCOTCH_stratGraphOrder (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratGraphOrderBuild (SCOTCH_Strat * const, const SCOTCH_Num, const double);
+int SCOTCH_stratMeshOrder (SCOTCH_Strat * const, const char * const);
+int SCOTCH_stratMeshOrderBuild (SCOTCH_Strat * const, const SCOTCH_Num, const double);
+
+void SCOTCH_version (int * const, int * const, int * const);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
--- extra/scotch/src/libscotch/Makefile (.../tags/2.2.x-2) (revision 0)
+++ extra/scotch/src/libscotch/Makefile (.../branches/2.2.x-2) (revision 831)
@@ -0,0 +1,2961 @@
+## Copyright 2004,2007-2012 IPB, Universite de Bordeaux, INRIA & CNRS
+##
+## This file is part of the Scotch software package for static mapping,
+## graph partitioning and sparse matrix ordering.
+##
+## This software is governed by the CeCILL-C license under French law
+## and abiding by the rules of distribution of free software. You can
+## use, modify and/or redistribute the software under the terms of the
+## CeCILL-C license as circulated by CEA, CNRS and INRIA at the following
+## URL: "http://www.cecill.info".
+##
+## As a counterpart to the access to the source code and rights to copy,
+## modify and redistribute granted by the license, users are provided
+## only with a limited warranty and the software's author, the holder of
+## the economic rights, and the successive licensors have only limited
+## liability.
+##
+## In this respect, the user's attention is drawn to the risks associated
+## with loading, using, modifying and/or developing or reproducing the
+## software by the user in light of its specific status of free software,
+## that may mean that it is complicated to manipulate, and that also
+## therefore means that it is reserved for developers and experienced
+## professionals having in-depth computer knowledge. Users are therefore
+## encouraged to load and test the software's suitability as regards
+## their requirements in conditions enabling the security of their
+## systems and/or data to be ensured and, more generally, to use and
+## operate it in the same conditions as regards security.
+##
+## The fact that you are presently reading this means that you have had
+## knowledge of the CeCILL-C license and that you accept its terms.
+##
+
+includedir = ../../include
+libdir = ../../lib
+
+##
+## General inference rules.
+##
+
+include ../Makefile.inc
+
+%$(OBJ) : %.c
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -o $(@)
+
+%$(EXE) : %.c
+ $(CC) $(CFLAGS) -DSCOTCH_VERSION=$(VERSION) -DSCOTCH_RELEASE=$(RELEASE) -DSCOTCH_PATCHLEVEL=$(PATCHLEVEL) $(<) -o $(@) $(LDFLAGS)
+
+##
+## Project rules.
+##
+
+.PHONY : libscotch ptscotch scotch ptinstall install clean realclean
+
+libscotch : libscotch$(LIB) scotch.h
+
+scotch :
+ $(MAKE) CC="$(CCS)" CCD="$(CCS)" \
+ scotch.h \
+ scotchf.h \
+ libscotch$(LIB) \
+ libscotcherr$(LIB) \
+ libscotcherrexit$(LIB)
+
+ptscotch : scotch
+ $(MAKE) CFLAGS="$(CFLAGS) -DSCOTCH_PTSCOTCH" CC="$(CCP)" \
+ ptscotch.h \
+ ptscotchf.h \
+ libptscotch$(LIB) \
+ libptscotcherr$(LIB) \
+ libptscotcherrexit$(LIB)
+
+install : $(includedir)/scotch.h \
+ $(includedir)/scotchf.h \
+ $(libdir)/libscotch$(LIB)
+
+ptinstall : install \
+ $(includedir)/ptscotch.h \
+ $(includedir)/ptscotchf.h \
+ $(libdir)/libptscotch$(LIB)
+
+clean :
+ -$(RM) *~ *$(OBJ) lib*$(LIB) parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output *dummysizes$(EXE)
+
+realclean : clean
+
+
+##
+## Installation dependencies
+##
+
+$(includedir)/scotch.h : scotch.h
+ -$(CP) scotch.h $(includedir)
+
+$(includedir)/scotchf.h : scotchf.h
+ -$(CP) scotchf.h $(includedir)
+
+$(includedir)/ptscotch.h : ptscotch.h
+ -$(CP) ptscotch.h $(includedir)
+
+$(includedir)/ptscotchf.h : ptscotchf.h
+ -$(CP) ptscotchf.h $(includedir)
+
+$(libdir)/libscotch$(LIB) : libscotch$(LIB)
+ -$(CP) libscotch$(LIB) libscotcherr*$(LIB) $(libdir)
+
+$(libdir)/libptscotch$(LIB) : libptscotch$(LIB)
+ -$(CP) libptscotch$(LIB) libptscotcherr*$(LIB) $(libdir)
+
+##
+## Library dependencies.
+##
+
+LIBPTSCOTCHDEPS = bdgraph$(OBJ) \
+ bdgraph_bipart_bd$(OBJ) \
+ bdgraph_bipart_df$(OBJ) \
+ bdgraph_bipart_ex$(OBJ) \
+ bdgraph_bipart_ml$(OBJ) \
+ bdgraph_bipart_sq$(OBJ) \
+ bdgraph_bipart_st$(OBJ) \
+ bdgraph_bipart_zr$(OBJ) \
+ bdgraph_check$(OBJ) \
+ bdgraph_gather_all$(OBJ) \
+ bdgraph_store$(OBJ) \
+ comm$(OBJ) \
+ dgraph$(OBJ) \
+ dgraph_allreduce$(OBJ) \
+ dgraph_band$(OBJ) \
+ dgraph_build$(OBJ) \
+ dgraph_build_grid3d$(OBJ) \
+ dgraph_build_hcub$(OBJ) \
+ dgraph_check$(OBJ) \
+ dgraph_coarsen$(OBJ) \
+ dgraph_fold$(OBJ) \
+ dgraph_fold_comm$(OBJ) \
+ dgraph_fold_dup$(OBJ) \
+ dgraph_gather$(OBJ) \
+ dgraph_gather_all$(OBJ) \
+ dgraph_ghst$(OBJ) \
+ dgraph_halo$(OBJ) \
+ dgraph_induce$(OBJ) \
+ dgraph_io_load$(OBJ) \
+ dgraph_io_save$(OBJ) \
+ dgraph_match$(OBJ) \
+ dgraph_match_sync_coll$(OBJ) \
+ dgraph_match_sync_ptop$(OBJ) \
+ dgraph_match_check$(OBJ) \
+ dgraph_redist$(OBJ) \
+ dgraph_scatter$(OBJ) \
+ dgraph_view$(OBJ) \
+ dmapping$(OBJ) \
+ dmapping_io$(OBJ) \
+ dorder$(OBJ) \
+ dorder_gather$(OBJ) \
+ dorder_io$(OBJ) \
+ dorder_io_block$(OBJ) \
+ dorder_io_tree$(OBJ) \
+ dorder_perm$(OBJ) \
+ dorder_tree_dist$(OBJ) \
+ hdgraph$(OBJ) \
+ hdgraph_check$(OBJ) \
+ hdgraph_fold$(OBJ) \
+ hdgraph_gather$(OBJ) \
+ hdgraph_induce$(OBJ) \
+ hdgraph_order_nd$(OBJ) \
+ hdgraph_order_si$(OBJ) \
+ hdgraph_order_sq$(OBJ) \
+ hdgraph_order_st$(OBJ) \
+ kdgraph$(OBJ) \
+ kdgraph_gather$(OBJ) \
+ kdgraph_map_rb$(OBJ) \
+ kdgraph_map_rb_map$(OBJ) \
+ kdgraph_map_rb_part$(OBJ) \
+ kdgraph_map_st$(OBJ) \
+ library_dgraph$(OBJ) \
+ library_dgraph_f$(OBJ) \
+ library_dgraph_band$(OBJ) \
+ library_dgraph_band_f$(OBJ) \
+ library_dgraph_build$(OBJ) \
+ library_dgraph_build_f$(OBJ) \
+ library_dgraph_build_grid3d$(OBJ) \
+ library_dgraph_build_grid3d_f$(OBJ) \
+ library_dgraph_check$(OBJ) \
+ library_dgraph_check_f$(OBJ) \
+ library_dgraph_coarsen$(OBJ) \
+ library_dgraph_coarsen_f$(OBJ) \
+ library_dgraph_gather$(OBJ) \
+ library_dgraph_gather_f$(OBJ) \
+ library_dgraph_grow$(OBJ) \
+ library_dgraph_halo$(OBJ) \
+ library_dgraph_halo_f$(OBJ) \
+ library_dgraph_induce$(OBJ) \
+ library_dgraph_induce_f$(OBJ) \
+ library_dgraph_io_load$(OBJ) \
+ library_dgraph_io_load_f$(OBJ) \
+ library_dgraph_io_save$(OBJ) \
+ library_dgraph_io_save_f$(OBJ) \
+ library_dgraph_map$(OBJ) \
+ library_dgraph_map_f$(OBJ) \
+ library_dgraph_map_view$(OBJ) \
+ library_dgraph_map_view_f$(OBJ) \
+ library_dgraph_order$(OBJ) \
+ library_dgraph_order_f$(OBJ) \
+ library_dgraph_order_gather$(OBJ) \
+ library_dgraph_order_gather_f$(OBJ) \
+ library_dgraph_order_io$(OBJ) \
+ library_dgraph_order_io_f$(OBJ) \
+ library_dgraph_order_io_block$(OBJ) \
+ library_dgraph_order_io_block_f$(OBJ) \
+ library_dgraph_order_perm$(OBJ) \
+ library_dgraph_order_perm_f$(OBJ) \
+ library_dgraph_order_tree_dist$(OBJ) \
+ library_dgraph_order_tree_dist_f$(OBJ) \
+ library_dgraph_redist$(OBJ) \
+ library_dgraph_redist_f$(OBJ) \
+ library_dgraph_scatter$(OBJ) \
+ library_dgraph_scatter_f$(OBJ) \
+ library_dgraph_stat$(OBJ) \
+ library_dgraph_stat_f$(OBJ) \
+ library_dmapping$(OBJ) \
+ library_dorder$(OBJ) \
+ vdgraph$(OBJ) \
+ vdgraph_check$(OBJ) \
+ vdgraph_gather_all$(OBJ) \
+ vdgraph_separate_bd$(OBJ) \
+ vdgraph_separate_df$(OBJ) \
+ vdgraph_separate_ml$(OBJ) \
+ vdgraph_separate_sq$(OBJ) \
+ vdgraph_separate_st$(OBJ) \
+ vdgraph_separate_zr$(OBJ) \
+ vdgraph_store$(OBJ)
+
+LIBSCOTCHDEPS = arch$(OBJ) \
+ arch_build$(OBJ) \
+ arch_cmplt$(OBJ) \
+ arch_cmpltw$(OBJ) \
+ arch_deco$(OBJ) \
+ arch_dist$(OBJ) \
+ arch_hcub$(OBJ) \
+ arch_mesh$(OBJ) \
+ arch_tleaf$(OBJ) \
+ arch_torus$(OBJ) \
+ arch_vcmplt$(OBJ) \
+ arch_vhcub$(OBJ) \
+ bgraph$(OBJ) \
+ bgraph_bipart_bd$(OBJ) \
+ bgraph_bipart_df$(OBJ) \
+ bgraph_bipart_ex$(OBJ) \
+ bgraph_bipart_fm$(OBJ) \
+ bgraph_bipart_gg$(OBJ) \
+ bgraph_bipart_gp$(OBJ) \
+ bgraph_bipart_ml$(OBJ) \
+ bgraph_bipart_st$(OBJ) \
+ bgraph_bipart_zr$(OBJ) \
+ bgraph_check$(OBJ) \
+ bgraph_store$(OBJ) \
+ common$(OBJ) \
+ common_file$(OBJ) \
+ common_file_compress$(OBJ) \
+ common_file_uncompress$(OBJ) \
+ common_integer$(OBJ) \
+ common_memory$(OBJ) \
+ common_string$(OBJ) \
+ common_stub$(OBJ) \
+ common_thread$(OBJ) \
+ fibo$(OBJ) \
+ gain$(OBJ) \
+ geom$(OBJ) \
+ graph$(OBJ) \
+ graph_base$(OBJ) \
+ graph_band$(OBJ) \
+ graph_check$(OBJ) \
+ graph_coarsen$(OBJ) \
+ graph_induce$(OBJ) \
+ graph_io$(OBJ) \
+ graph_io_chac$(OBJ) \
+ graph_io_habo$(OBJ) \
+ graph_io_mmkt$(OBJ) \
+ graph_io_scot$(OBJ) \
+ graph_list$(OBJ) \
+ graph_match$(OBJ) \
+ hall_order_hd$(OBJ) \
+ hall_order_hf$(OBJ) \
+ hall_order_hx$(OBJ) \
+ hgraph$(OBJ) \
+ hgraph_check$(OBJ) \
+ hgraph_induce$(OBJ) \
+ hgraph_order_bl$(OBJ) \
+ hgraph_order_cp$(OBJ) \
+ hgraph_order_gp$(OBJ) \
+ hgraph_order_hd$(OBJ) \
+ hgraph_order_hf$(OBJ) \
+ hgraph_order_hx$(OBJ) \
+ hgraph_order_kp$(OBJ) \
+ hgraph_order_nd$(OBJ) \
+ hgraph_order_si$(OBJ) \
+ hgraph_order_st$(OBJ) \
+ hmesh$(OBJ) \
+ hmesh_check$(OBJ) \
+ hmesh_hgraph$(OBJ) \
+ hmesh_induce$(OBJ) \
+ hmesh_mesh$(OBJ) \
+ hmesh_order_bl$(OBJ) \
+ hmesh_order_cp$(OBJ) \
+ hmesh_order_gr$(OBJ) \
+ hmesh_order_gp$(OBJ) \
+ hmesh_order_hd$(OBJ) \
+ hmesh_order_hf$(OBJ) \
+ hmesh_order_hx$(OBJ) \
+ hmesh_order_nd$(OBJ) \
+ hmesh_order_si$(OBJ) \
+ hmesh_order_st$(OBJ) \
+ kgraph$(OBJ) \
+ kgraph_band$(OBJ) \
+ kgraph_check$(OBJ) \
+ kgraph_map_bd$(OBJ) \
+ kgraph_map_cp$(OBJ) \
+ kgraph_map_df$(OBJ) \
+ kgraph_map_ex$(OBJ) \
+ kgraph_map_fm$(OBJ) \
+ kgraph_map_ml$(OBJ) \
+ kgraph_map_rb$(OBJ) \
+ kgraph_map_rb_map$(OBJ) \
+ kgraph_map_rb_part$(OBJ) \
+ kgraph_map_st$(OBJ) \
+ kgraph_store$(OBJ) \
+ library_arch$(OBJ) \
+ library_arch_f$(OBJ) \
+ library_arch_build$(OBJ) \
+ library_arch_build_f$(OBJ) \
+ library_common_f$(OBJ) \
+ library_geom$(OBJ) \
+ library_geom_f$(OBJ) \
+ library_graph$(OBJ) \
+ library_graph_f$(OBJ) \
+ library_graph_base$(OBJ) \
+ library_graph_base_f$(OBJ) \
+ library_graph_check$(OBJ) \
+ library_graph_check_f$(OBJ) \
+ library_graph_coarsen$(OBJ) \
+ library_graph_coarsen_f$(OBJ) \
+ library_graph_color$(OBJ) \
+ library_graph_color_f$(OBJ) \
+ library_graph_io_chac$(OBJ) \
+ library_graph_io_chac_f$(OBJ) \
+ library_graph_io_habo$(OBJ) \
+ library_graph_io_habo_f$(OBJ) \
+ library_graph_io_mmkt$(OBJ) \
+ library_graph_io_mmkt_f$(OBJ) \
+ library_graph_io_scot$(OBJ) \
+ library_graph_io_scot_f$(OBJ) \
+ library_graph_map$(OBJ) \
+ library_graph_map_f$(OBJ) \
+ library_graph_map_io$(OBJ) \
+ library_graph_map_io_f$(OBJ) \
+ library_graph_map_view$(OBJ) \
+ library_graph_map_view_f$(OBJ) \
+ library_graph_order$(OBJ) \
+ library_graph_order_f$(OBJ) \
+ library_graph_part_ovl$(OBJ) \
+ library_graph_part_ovl_f$(OBJ) \
+ library_mapping$(OBJ) \
+ library_mesh$(OBJ) \
+ library_mesh_f$(OBJ) \
+ library_mesh_graph$(OBJ) \
+ library_mesh_graph_f$(OBJ) \
+ library_mesh_io_habo$(OBJ) \
+ library_mesh_io_habo_f$(OBJ) \
+ library_mesh_io_scot$(OBJ) \
+ library_mesh_io_scot_f$(OBJ) \
+ library_mesh_order$(OBJ) \
+ library_mesh_order_f$(OBJ) \
+ library_order$(OBJ) \
+ library_parser$(OBJ) \
+ library_parser_f$(OBJ) \
+ library_random$(OBJ) \
+ library_random_f$(OBJ) \
+ library_strat$(OBJ) \
+ library_version$(OBJ) \
+ library_version_f$(OBJ) \
+ mapping$(OBJ) \
+ mapping_io$(OBJ) \
+ mesh$(OBJ) \
+ mesh_check$(OBJ) \
+ mesh_coarsen$(OBJ) \
+ mesh_graph$(OBJ) \
+ mesh_induce_sepa$(OBJ) \
+ mesh_io$(OBJ) \
+ mesh_io_habo$(OBJ) \
+ mesh_io_scot$(OBJ) \
+ order$(OBJ) \
+ order_check$(OBJ) \
+ order_io$(OBJ) \
+ parser$(OBJ) \
+ parser_ll$(OBJ) \
+ parser_yy$(OBJ) \
+ vgraph$(OBJ) \
+ vgraph_check$(OBJ) \
+ vgraph_separate_bd$(OBJ) \
+ vgraph_separate_df$(OBJ) \
+ vgraph_separate_es$(OBJ) \
+ vgraph_separate_fm$(OBJ) \
+ vgraph_separate_gg$(OBJ) \
+ vgraph_separate_gp$(OBJ) \
+ vgraph_separate_ml$(OBJ) \
+ vgraph_separate_st$(OBJ) \
+ vgraph_separate_th$(OBJ) \
+ vgraph_separate_vw$(OBJ) \
+ vgraph_separate_zr$(OBJ) \
+ vgraph_store$(OBJ) \
+ vmesh$(OBJ) \
+ vmesh_check$(OBJ) \
+ vmesh_separate_fm$(OBJ) \
+ vmesh_separate_gg$(OBJ) \
+ vmesh_separate_gr$(OBJ) \
+ vmesh_separate_ml$(OBJ) \
+ vmesh_separate_zr$(OBJ) \
+ vmesh_separate_st$(OBJ) \
+ vmesh_store$(OBJ) \
+ wgraph$(OBJ) \
+ wgraph_check$(OBJ) \
+ wgraph_part_fm$(OBJ) \
+ wgraph_part_gg$(OBJ) \
+ wgraph_part_gp$(OBJ) \
+ wgraph_part_ml$(OBJ) \
+ wgraph_part_rb$(OBJ) \
+ wgraph_part_st$(OBJ) \
+ wgraph_part_zr$(OBJ) \
+ wgraph_store$(OBJ) \
+ library_error_exit$(OBJ)
+
+##
+## Todo list.
+##
+
+common$(OBJ) : common.c \
+ module.h \
+ common.h
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -DSCOTCH_COMMON_RENAME -o $(@)
+
+common_file$(OBJ) : common_file.c \
+ module.h \
+ common.h \
+ common_file.h
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -DSCOTCH_COMMON_RENAME -o $(@)
+
+common_file_compress$(OBJ) : common_file_compress.c \
+ module.h \
+ common.h \
+ common_file.h \
+ common_file_compress.h
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -DSCOTCH_COMMON_RENAME -o $(@)
+
+common_file_uncompress$(OBJ) : common_file_uncompress.c \
+ module.h \
+ common.h \
+ common_file.h \
+ common_file_compress.h
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -DSCOTCH_COMMON_RENAME -o $(@)
+
+common_integer$(OBJ) : common_integer.c \
+ module.h \
+ common.h \
+ common_sort.c
+ $(CC) $(CFLAGS) $(CLIBFLAGS) -c $(<) -DSCOTCH_COMMON_RENAME -o $(@)
+
+common_memory$(OBJ) : common_memory.c \
+ module.h \