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

« back to all changes in this revision

Viewing changes to src/scotch/atst.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.
51
51
/**                                 to   : 23 nov 2005     **/
52
52
/**                # Version 5.0  : from : 23 dec 2007     **/
53
53
/**                                 to   : 16 mar 2008     **/
 
54
/**                # Version 5.1  : from : 01 jul 2010     **/
 
55
/**                                 to   : 15 aug 2010     **/
54
56
/**                                                        **/
55
57
/************************************************************/
56
58
 
131
133
          usagePrint (stdout, C_usageList);
132
134
          return     (0);
133
135
        case 'V' :
134
 
          fprintf (stderr, "atst, version %s - F. Pellegrini\n", SCOTCH_VERSION);
135
 
          fprintf (stderr, "Copyright 2004,2007,2008 ENSEIRB, INRIA & CNRS, France\n");
 
136
          fprintf (stderr, "atst, version " SCOTCH_VERSION_STRING "\n");
 
137
          fprintf (stderr, "Copyright 2004,2007,2008,2010 ENSEIRB, INRIA & CNRS, France\n");
136
138
          fprintf (stderr, "This software is libre/free software under CeCILL-C -- see the user's manual for more information\n");
137
139
          return  (0);
138
140
        default :
185
187
  if (deco->domtermnbr > 1)
186
188
    dstdlt /= (double) (deco->domtermnbr * (deco->domtermnbr - 1) / 2);
187
189
 
188
 
  fprintf (C_filepntrlogout, "A\tTerminals\tnbr=%ld\n",
189
 
           (long) deco->domtermnbr);
190
 
  fprintf (C_filepntrlogout, "A\tDistance\tmin=%ld\tmax=%ld\tavg=%g\tdlt=%g\n",
191
 
           (long) dstmin, (long) dstmax, dstavg, dstdlt);
 
190
  fprintf (C_filepntrlogout, "A\tTerminals\tnbr=" SCOTCH_NUMSTRING "\n",
 
191
           (SCOTCH_Num) deco->domtermnbr);
 
192
  fprintf (C_filepntrlogout, "A\tDistance\tmin=" SCOTCH_NUMSTRING "\tmax=" SCOTCH_NUMSTRING "\tavg=%g\tdlt=%g\n",
 
193
           (SCOTCH_Num) dstmin, (SCOTCH_Num) dstmax, dstavg, dstdlt);
192
194
 
193
195
  fileBlockClose (C_fileTab, C_FILENBR);          /* Always close explicitely to end eventual (un)compression tasks */
194
196