~ubuntu-branches/ubuntu/trusty/scotch/trusty-proposed

« back to all changes in this revision

Viewing changes to src/scotch/amk_grf.c

  • Committer: Bazaar Package Importer
  • Author(s): "Adam C. Powell, IV", Christophe Trophime, Adam C. Powell, IV
  • Date: 2010-12-29 13:07:19 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101229130719-jwalolw5d6av6wqx
Tags: 5.1.11.dfsg-1
[Christophe Trophime]
* New upstream release
* Forward-ported patches to version 5.1.10b.
* Install scotch headers properly.
* Fix chrpath commands in debian/rules.
* Fix (pt)scotch library install paths.
* Fix lintian errors and warnings.

[Adam C. Powell, IV]
* Forward-ported patches to version 5.1.11.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS
 
1
/* Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS
2
2
**
3
3
** This file is part of the Scotch software package for static mapping,
4
4
** graph partitioning and sparse matrix ordering.
53
53
/**                # Version 5.0  : from : 23 dec 2007     **/
54
54
/**                                 to   : 16 mar 2008     **/
55
55
/**                # Version 5.1  : from : 11 dec 2008     **/
56
 
/**                                 to   : 11 dec 2008     **/
 
56
/**                                 to   : 15 aug 2010     **/
57
57
/**                                                        **/
58
58
/************************************************************/
59
59
 
80
80
 
81
81
static const char *         C_usageList[] = {     /* Usage */
82
82
  "amk_grf [<input source file> [<output target file>]] <options>",
83
 
  "  -b<strat>[{<params>}]  : Apply bipartitioning strategy <strat>",
84
 
  "  -h                     : Display this help",
85
 
  "  -l<file>               : Load vertex list from <file>",
86
 
  "  -V                     : Print program version and copyright",
 
83
  "  -b<strat>  : Apply bipartitioning strategy <strat>",
 
84
  "  -h         : Display this help",
 
85
  "  -l<file>   : Load vertex list from <file>",
 
86
  "  -V         : Print program version and copyright",
87
87
  "",
88
88
  "Default option set is : '-Bhf{move=1000}/((load0=load)|(load0=0))?x;'",
89
89
  NULL };
158
158
            C_filenamevrtinp = &argv[i][2];
159
159
          break;
160
160
        case 'V' :
161
 
          fprintf (stderr, "amk_grf, version %s - F. Pellegrini\n", SCOTCH_VERSION);
162
 
          fprintf (stderr, "Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS, France\n");
 
161
          fprintf (stderr, "amk_grf, version " SCOTCH_VERSION_STRING "\n");
 
162
          fprintf (stderr, "Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS, France\n");
163
163
          fprintf (stderr, "This software is libre/free software under CeCILL-C -- see the user's manual for more information\n");
164
164
          return  (0);
165
165
        default :
221
221
          vertnum ++;                             /* Search vertex graph with corresponding label */
222
222
        if ((vertnum >= vertnbr) ||               /* If label not found                           */
223
223
            (sorttab[vertnum].labl > listtab[listnum])) {
224
 
          errorPrint ("main: list label not in graph (%ld)", (long) listtab[listnum]);
 
224
          errorPrint ("main: list label not in graph (" SCOTCH_NUMSTRING ")", (SCOTCH_Num) listtab[listnum]);
225
225
          memFree    (sorttab);
226
226
          memFree    (listtab);
227
227
          return     (1);