1 /* Copyright 2007,2008,2014 IPB, Universite de Bordeaux, INRIA & CNRS 2 ** 3 ** This file is part of the Scotch software package for static mapping, 4 ** graph partitioning and sparse matrix ordering. 5 ** 6 ** This software is governed by the CeCILL-C license under French law 7 ** and abiding by the rules of distribution of free software. You can 8 ** use, modify and/or redistribute the software under the terms of the 9 ** CeCILL-C license as circulated by CEA, CNRS and INRIA at the following 10 ** URL: "http://www.cecill.info". 11 ** 12 ** As a counterpart to the access to the source code and rights to copy, 13 ** modify and redistribute granted by the license, users are provided 14 ** only with a limited warranty and the software's author, the holder of 15 ** the economic rights, and the successive licensors have only limited 16 ** liability. 17 ** 18 ** In this respect, the user's attention is drawn to the risks associated 19 ** with loading, using, modifying and/or developing or reproducing the 20 ** software by the user in light of its specific status of free software, 21 ** that may mean that it is complicated to manipulate, and that also 22 ** therefore means that it is reserved for developers and experienced 23 ** professionals having in-depth computer knowledge. Users are therefore 24 ** encouraged to load and test the software's suitability as regards 25 ** their requirements in conditions enabling the security of their 26 ** systems and/or data to be ensured and, more generally, to use and 27 ** operate it in the same conditions as regards security. 28 ** 29 ** The fact that you are presently reading this means that you have had 30 ** knowledge of the CeCILL-C license and that you accept its terms. 31 */ 32 /************************************************************/ 33 /** **/ 34 /** NAME : dgord.h **/ 35 /** **/ 36 /** AUTHOR : Francois PELLEGRINI **/ 37 /** Cedric CHEVALIER **/ 38 /** **/ 39 /** FUNCTION : Part of a parallel sparse matrix **/ 40 /** ordering software. **/ 41 /** This module contains the data declara- **/ 42 /** tions for the main routine. **/ 43 /** **/ 44 /** DATES : # Version 5.0 : from : 30 apr 2006 **/ 45 /** to : 27 may 2008 **/ 46 /** # Version 5.1 : from : 22 nov 2008 **/ 47 /** to : 22 nov 2008 **/ 48 /** # Version 6.0 : from : 10 nov 2014 **/ 49 /** to : 10 nov 2014 **/ 50 /** **/ 51 /************************************************************/ 52 53 /* 54 ** The defines. 55 */ 56 57 /*+ File name aliases. +*/ 58 59 #define C_FILENBR 5 /* Number of files in list */ 60 #define C_FILEARGNBR 3 /* Number of files which can be arguments */ 61 62 #define C_filenamesrcinp fileBlockName (C_fileTab, 0) /* Source graph input file name */ 63 #define C_filenameordout fileBlockName (C_fileTab, 1) /* Ordering output file name */ 64 #define C_filenamelogout fileBlockName (C_fileTab, 2) /* Log file name */ 65 #define C_filenamemapout fileBlockName (C_fileTab, 3) /* Separator mapping file name */ 66 #define C_filenametreout fileBlockName (C_fileTab, 4) /* Separator tree file name */ 67 68 #define C_filepntrsrcinp fileBlockFile (C_fileTab, 0) /* Source graph input file */ 69 #define C_filepntrordout fileBlockFile (C_fileTab, 1) /* Ordering output file */ 70 #define C_filepntrlogout fileBlockFile (C_fileTab, 2) /* Log file */ 71 #define C_filepntrmapout fileBlockFile (C_fileTab, 3) /* Separator mapping file */ 72 #define C_filepntrtreout fileBlockFile (C_fileTab, 4) /* Separator tre file */ 73 74 /*+ Process flags. +*/ 75 76 #define C_FLAGNONE 0x0000 /* No flags */ 77 #define C_FLAGMAPOUT 0x0001 /* Output mapping data */ 78 #define C_FLAGTREOUT 0x0002 /* Output separator tree data */ 79 #define C_FLAGVERBSTR 0x0004 /* Output strategy string */ 80 #define C_FLAGVERBTIM 0x0008 /* Output timing information */ 81 #define C_FLAGVERBMEM 0x0010 /* Output memory information */ 82 #define C_FLAGBLOCK 0x0020 /* Output block ordering */ 83 #define C_FLAGDEBUG 0x0040 /* Debugging */ 84 85 /* 86 ** The function prototypes. 87 */ 88 89 void dgordStatReduceOp (double *, double *, int *, MPI_Datatype *); 90