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

« back to all changes in this revision

Viewing changes to src/scotch/amk_p2.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.
47
47
/**                # Version 3.4  : from : 03 feb 2000     **/
48
48
/**                                 to   : 03 feb 2000     **/
49
49
/**                # Version 5.1  : from : 16 dec 2007     **/
50
 
/**                                 to   : 16 mar 2008     **/
 
50
/**                                 to   : 15 aug 2010     **/
51
51
/**                                                        **/
52
52
/************************************************************/
53
53
 
124
124
          usagePrint (stdout, C_usageList);
125
125
          return     (0);
126
126
        case 'V' :
127
 
          fprintf (stderr, "amk_p2, version %s - F. Pellegrini\n", SCOTCH_VERSION);
128
 
          fprintf (stderr, "Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS, France\n");
 
127
          fprintf (stderr, "amk_p2, version " SCOTCH_VERSION_STRING "\n");
 
128
          fprintf (stderr, "Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS, France\n");
129
129
          fprintf (stderr, "This software is libre/free software under CeCILL-C -- see the user's manual for more information\n");
130
130
          return  (0);
131
131
        default :
137
137
 
138
138
  fileBlockOpen (C_fileTab, C_FILENBR);           /* Open all files */
139
139
 
140
 
  fprintf (C_filepntrtgtout, "cmpltw\t2\t%ld\t%ld\n", (long) wght[0], (long) wght[1]); /* Print target description */
 
140
  fprintf (C_filepntrtgtout, "cmpltw\t2\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\n", /* Print target description */
 
141
           (SCOTCH_Num) wght[0],
 
142
           (SCOTCH_Num) wght[1]);
141
143
 
142
144
  fileBlockClose (C_fileTab, C_FILENBR);          /* Always close explicitely to end eventual (un)compression tasks */
143
145