Changeset 4629


Ignore:
Timestamp:
07/15/10 14:54:26 (15 years ago)
Author:
jschierm
Message:

Scotch: Updates for building as a new module.

Location:
issm/trunk/externalpackages/scotch
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/scotch/install.sh

    r3651 r4629  
    3939cp -pr src/doc install
    4040cp -pr src/man install
     41mkdir install/lib
     42mv src/lib/* install/lib
    4143mkdir install/bin
    4244mv src/bin/* install/bin
    43 cp -p gmap.m install/bin
    44 cp -p gpart.m install/bin
     45#cp -p gmap.m install/bin
     46#cp -p gpart.m install/bin
    4547
  • issm/trunk/externalpackages/scotch/scotch.patch

    r3650 r4629  
    1 Only in new3: bin
    2 Only in new3: include
    3 Only in new3: lib
    4 diff -rc src/src/libscotch/arch.c new3/src/libscotch/arch.c
     1Only in new4: bin
     2Only in new4: include
     3Only in new4: lib
     4diff -rc src/src/libscotch/arch.c new4/src/libscotch/arch.c
    55*** src/src/libscotch/arch.c    2008-09-27 07:48:01.000000000 -0700
    6 --- new3/src/libscotch/arch.c   2010-04-30 10:28:22.088131040 -0700
     6--- new4/src/libscotch/arch.c   2010-05-03 15:37:55.104089848 -0700
    77***************
    88*** 173,187 ****
     
    6868        memset     (archptr, 0, sizeof (Arch));     /* Initialize architecture body */
    6969        return     (1);
    70 diff -rc src/src/libscotch/arch_cmplt.c new3/src/libscotch/arch_cmplt.c
     70diff -rc src/src/libscotch/arch_cmplt.c new4/src/libscotch/arch_cmplt.c
    7171*** src/src/libscotch/arch_cmplt.c      2008-05-22 06:44:41.000000000 -0700
    72 --- new3/src/libscotch/arch_cmplt.c     2010-04-30 10:28:22.093131042 -0700
     72--- new4/src/libscotch/arch_cmplt.c     2010-05-03 15:37:55.111089854 -0700
    7373***************
    7474*** 90,99 ****
     
    120120      return     (1);
    121121    }
    122 diff -rc src/src/libscotch/arch_cmplt.h new3/src/libscotch/arch_cmplt.h
     122diff -rc src/src/libscotch/arch_cmplt.h new4/src/libscotch/arch_cmplt.h
    123123*** src/src/libscotch/arch_cmplt.h      2008-05-22 06:44:41.000000000 -0700
    124 --- new3/src/libscotch/arch_cmplt.h     2010-04-30 10:28:22.098131044 -0700
     124--- new4/src/libscotch/arch_cmplt.h     2010-05-03 15:37:55.118089860 -0700
    125125***************
    126126*** 87,93 ****
     
    137137  #define archCmpltArchFree           NULL
    138138  ArchDomNum                  archCmpltDomNum     (const ArchCmplt * const, const ArchCmpltDom * const);
    139 diff -rc src/src/libscotch/arch_cmpltw.c new3/src/libscotch/arch_cmpltw.c
     139diff -rc src/src/libscotch/arch_cmpltw.c new4/src/libscotch/arch_cmpltw.c
    140140*** src/src/libscotch/arch_cmpltw.c     2008-08-27 14:22:22.000000000 -0700
    141 --- new3/src/libscotch/arch_cmpltw.c    2010-04-30 10:28:22.103131046 -0700
     141--- new4/src/libscotch/arch_cmpltw.c    2010-05-03 15:37:55.126089866 -0700
    142142***************
    143143*** 200,211 ****
     
    209209        return     (1);
    210210      }
    211 diff -rc src/src/libscotch/arch_cmpltw.h new3/src/libscotch/arch_cmpltw.h
     211diff -rc src/src/libscotch/arch_cmpltw.h new4/src/libscotch/arch_cmpltw.h
    212212*** src/src/libscotch/arch_cmpltw.h     2008-05-22 06:44:41.000000000 -0700
    213 --- new3/src/libscotch/arch_cmpltw.h    2010-04-30 10:28:22.108131048 -0700
     213--- new4/src/libscotch/arch_cmpltw.h    2010-05-03 15:37:55.133089872 -0700
    214214***************
    215215*** 86,92 ****
     
    226226  int                         archCmpltwArchFree  (ArchCmpltw * restrict const);
    227227  ArchDomNum                  archCmpltwDomNum    (const ArchCmpltw * const, const ArchCmpltwDom * const);
    228 diff -rc src/src/libscotch/arch_deco.c new3/src/libscotch/arch_deco.c
     228diff -rc src/src/libscotch/arch_deco.c new4/src/libscotch/arch_deco.c
    229229*** src/src/libscotch/arch_deco.c       2008-09-28 06:35:27.000000000 -0700
    230 --- new3/src/libscotch/arch_deco.c      2010-04-30 10:28:22.153131068 -0700
     230--- new4/src/libscotch/arch_deco.c      2010-05-03 15:37:55.180089911 -0700
    231231***************
    232232*** 211,217 ****
     
    267267    if ((sizeof (ArchDeco)    > sizeof (ArchDummy)) ||
    268268        (sizeof (ArchDecoDom) > sizeof (ArchDomDummy))) {
    269 diff -rc src/src/libscotch/arch_deco.h new3/src/libscotch/arch_deco.h
     269diff -rc src/src/libscotch/arch_deco.h new4/src/libscotch/arch_deco.h
    270270*** src/src/libscotch/arch_deco.h       2008-09-27 07:49:46.000000000 -0700
    271 --- new3/src/libscotch/arch_deco.h      2010-04-30 10:28:22.158131070 -0700
     271--- new4/src/libscotch/arch_deco.h      2010-05-03 15:37:55.187089917 -0700
    272272***************
    273273*** 113,119 ****
     
    284284  int                         archDecoArchFree    (ArchDeco * const);
    285285  Anum                        archDecoArchSize    (ArchDeco * const, const Anum);
    286 diff -rc src/src/libscotch/arch.h new3/src/libscotch/arch.h
     286diff -rc src/src/libscotch/arch.h new4/src/libscotch/arch.h
    287287*** src/src/libscotch/arch.h    2009-04-28 08:11:27.000000000 -0700
    288 --- new3/src/libscotch/arch.h   2010-04-30 10:28:22.163131072 -0700
     288--- new4/src/libscotch/arch.h   2010-05-03 15:37:55.194089922 -0700
    289289***************
    290290*** 175,181 ****
     
    301301  char *                      archName            (const Arch * const);
    302302  const ArchClass *           archClass           (const char * const);
    303 diff -rc src/src/libscotch/arch_hcub.c new3/src/libscotch/arch_hcub.c
     303diff -rc src/src/libscotch/arch_hcub.c new4/src/libscotch/arch_hcub.c
    304304*** src/src/libscotch/arch_hcub.c       2008-05-22 06:44:41.000000000 -0700
    305 --- new3/src/libscotch/arch_hcub.c      2010-04-30 10:28:22.169131075 -0700
     305--- new4/src/libscotch/arch_hcub.c      2010-05-03 15:37:55.201089928 -0700
    306306***************
    307307*** 88,95 ****
     
    349349      errorPrint ("archHcubArchLoad: bad input");
    350350      return     (1);
    351 diff -rc src/src/libscotch/arch_hcub.h new3/src/libscotch/arch_hcub.h
     351diff -rc src/src/libscotch/arch_hcub.h new4/src/libscotch/arch_hcub.h
    352352*** src/src/libscotch/arch_hcub.h       2008-05-22 06:44:41.000000000 -0700
    353 --- new3/src/libscotch/arch_hcub.h      2010-04-30 10:28:22.174131077 -0700
     353--- new4/src/libscotch/arch_hcub.h      2010-05-03 15:37:55.208089934 -0700
    354354***************
    355355*** 85,91 ****
     
    366366  #define archHcubArchFree            NULL
    367367  ArchDomNum                  archHcubDomNum      (const ArchHcub * const, const ArchHcubDom * const);
    368 diff -rc src/src/libscotch/arch_mesh.c new3/src/libscotch/arch_mesh.c
     368diff -rc src/src/libscotch/arch_mesh.c new4/src/libscotch/arch_mesh.c
    369369*** src/src/libscotch/arch_mesh.c       2008-05-22 06:44:41.000000000 -0700
    370 --- new3/src/libscotch/arch_mesh.c      2010-04-30 10:28:22.179131079 -0700
     370--- new4/src/libscotch/arch_mesh.c      2010-05-03 15:37:55.215089940 -0700
    371371***************
    372372*** 96,103 ****
     
    465465      return     (1);
    466466    }
    467 diff -rc src/src/libscotch/arch_mesh.h new3/src/libscotch/arch_mesh.h
     467diff -rc src/src/libscotch/arch_mesh.h new4/src/libscotch/arch_mesh.h
    468468*** src/src/libscotch/arch_mesh.h       2008-05-22 06:44:41.000000000 -0700
    469 --- new3/src/libscotch/arch_mesh.h      2010-04-30 10:28:22.184131082 -0700
     469--- new4/src/libscotch/arch_mesh.h      2010-05-03 15:37:55.221089945 -0700
    470470***************
    471471*** 96,102 ****
     
    496496  #define archMesh3ArchFree           NULL
    497497  ArchDomNum                  archMesh3DomNum     (const ArchMesh3 * const, const ArchMesh3Dom * const);
    498 diff -rc src/src/libscotch/arch_tleaf.c new3/src/libscotch/arch_tleaf.c
     498diff -rc src/src/libscotch/arch_tleaf.c new4/src/libscotch/arch_tleaf.c
    499499*** src/src/libscotch/arch_tleaf.c      2008-05-22 06:44:41.000000000 -0700
    500 --- new3/src/libscotch/arch_tleaf.c     2010-04-30 10:28:22.189131084 -0700
     500--- new4/src/libscotch/arch_tleaf.c     2010-05-03 15:37:55.228089950 -0700
    501501***************
    502502*** 92,99 ****
     
    554554      return     (1);
    555555    }
    556 diff -rc src/src/libscotch/arch_tleaf.h new3/src/libscotch/arch_tleaf.h
     556diff -rc src/src/libscotch/arch_tleaf.h new4/src/libscotch/arch_tleaf.h
    557557*** src/src/libscotch/arch_tleaf.h      2008-05-22 06:44:41.000000000 -0700
    558 --- new3/src/libscotch/arch_tleaf.h     2010-04-30 10:28:22.194131086 -0700
     558--- new4/src/libscotch/arch_tleaf.h     2010-05-03 15:37:55.235089956 -0700
    559559***************
    560560*** 89,95 ****
     
    571571  #define archTleafArchFree           NULL
    572572  ArchDomNum                  archTleafDomNum     (const ArchTleaf * const, const ArchTleafDom * const);
    573 diff -rc src/src/libscotch/arch_torus.c new3/src/libscotch/arch_torus.c
     573diff -rc src/src/libscotch/arch_torus.c new4/src/libscotch/arch_torus.c
    574574*** src/src/libscotch/arch_torus.c      2008-05-22 06:44:41.000000000 -0700
    575 --- new3/src/libscotch/arch_torus.c     2010-04-30 10:28:22.199131088 -0700
     575--- new4/src/libscotch/arch_torus.c     2010-05-03 15:37:55.242089962 -0700
    576576***************
    577577*** 90,97 ****
     
    670670      return     (1);
    671671    }
    672 diff -rc src/src/libscotch/arch_torus.h new3/src/libscotch/arch_torus.h
     672diff -rc src/src/libscotch/arch_torus.h new4/src/libscotch/arch_torus.h
    673673*** src/src/libscotch/arch_torus.h      2008-05-22 06:44:41.000000000 -0700
    674 --- new3/src/libscotch/arch_torus.h     2010-04-30 10:28:22.204131090 -0700
     674--- new4/src/libscotch/arch_torus.h     2010-05-03 15:37:55.248089967 -0700
    675675***************
    676676*** 96,102 ****
     
    701701  #define archTorus3ArchFree          NULL
    702702  ArchDomNum                  archTorus3DomNum    (const ArchTorus3 * const, const ArchTorus3Dom * const);
    703 diff -rc src/src/libscotch/common.c new3/src/libscotch/common.c
     703diff -rc src/src/libscotch/common.c new4/src/libscotch/common.c
    704704*** src/src/libscotch/common.c  2008-05-22 06:44:41.000000000 -0700
    705 --- new3/src/libscotch/common.c 2010-04-30 10:28:22.209131092 -0700
     705--- new4/src/libscotch/common.c 2010-05-03 15:37:55.254089972 -0700
    706706***************
    707707*** 100,106 ****
     
    720720+ #endif /* MATLAB */
    721721  }
    722 diff -rc src/src/libscotch/common.h new3/src/libscotch/common.h
     722diff -rc src/src/libscotch/common.h new4/src/libscotch/common.h
    723723*** src/src/libscotch/common.h  2009-02-06 14:20:55.000000000 -0800
    724 --- new3/src/libscotch/common.h 2010-05-03 14:22:16.763394855 -0700
     724--- new4/src/libscotch/common.h 2010-05-03 15:37:55.261089978 -0700
    725725***************
    726726*** 66,71 ****
     
    766766  void                        intRandInit         (void);
    767767  INT                         intRandVal          (INT);
    768 diff -rc src/src/libscotch/common_integer.c new3/src/libscotch/common_integer.c
     768diff -rc src/src/libscotch/common_integer.c new4/src/libscotch/common_integer.c
    769769*** src/src/libscotch/common_integer.c  2009-01-21 01:32:32.000000000 -0800
    770 --- new3/src/libscotch/common_integer.c 2010-05-03 14:21:44.014369358 -0700
     770--- new4/src/libscotch/common_integer.c 2010-05-03 15:37:55.268089983 -0700
    771771***************
    772772*** 191,196 ****
     
    827827 
    828828  /*********************/
    829 diff -rc src/src/libscotch/common_memory.c new3/src/libscotch/common_memory.c
     829diff -rc src/src/libscotch/common_memory.c new4/src/libscotch/common_memory.c
    830830*** src/src/libscotch/common_memory.c   2009-01-03 02:16:11.000000000 -0800
    831 --- new3/src/libscotch/common_memory.c  2010-04-30 10:28:22.224131099 -0700
     831--- new4/src/libscotch/common_memory.c  2010-05-03 15:37:55.275089989 -0700
    832832***************
    833833*** 87,93 ****
     
    935935  }
    936936  #endif /* COMMON_MEMORY_TRACE */
    937 diff -rc src/src/libscotch/dummysizes.c new3/src/libscotch/dummysizes.c
     937diff -rc src/src/libscotch/dummysizes.c new4/src/libscotch/dummysizes.c
    938938*** src/src/libscotch/dummysizes.c      2009-05-09 16:08:02.000000000 -0700
    939 --- new3/src/libscotch/dummysizes.c     2010-04-30 10:28:22.229131101 -0700
     939--- new4/src/libscotch/dummysizes.c     2010-05-03 15:37:55.282089995 -0700
    940940***************
    941941*** 267,271 ****
     
    948948+ #endif /* MATLAB */
    949949  }
    950 diff -rc src/src/libscotch/graph.c new3/src/libscotch/graph.c
     950diff -rc src/src/libscotch/graph.c new4/src/libscotch/graph.c
    951951*** src/src/libscotch/graph.c   2008-05-22 06:44:42.000000000 -0700
    952 --- new3/src/libscotch/graph.c  2010-04-30 10:28:22.234131103 -0700
     952--- new4/src/libscotch/graph.c  2010-05-03 15:37:55.288090000 -0700
    953953***************
    954954*** 135,141 ****
     
    971971      if ((grafptr->edlotax != NULL) &&
    972972          ((grafptr->flagval & GRAPHEDGEGROUP) == 0))
    973 diff -rc src/src/libscotch/graph.h new3/src/libscotch/graph.h
     973diff -rc src/src/libscotch/graph.h new4/src/libscotch/graph.h
    974974*** src/src/libscotch/graph.h   2008-06-01 02:49:11.000000000 -0700
    975 --- new3/src/libscotch/graph.h  2010-04-30 10:28:22.240131106 -0700
     975--- new4/src/libscotch/graph.h  2010-05-03 15:37:55.295090006 -0700
    976976***************
    977977*** 159,165 ****
     
    988988  int                         graphSave           (const Graph * const, FILE * const);
    989989  Gnum                        graphBase           (Graph * const, const Gnum);
    990 diff -rc src/src/libscotch/graph_io.c new3/src/libscotch/graph_io.c
     990diff -rc src/src/libscotch/graph_io.c new4/src/libscotch/graph_io.c
    991991*** src/src/libscotch/graph_io.c        2008-05-22 06:44:42.000000000 -0700
    992 --- new3/src/libscotch/graph_io.c       2010-04-30 10:28:22.245131108 -0700
     992--- new4/src/libscotch/graph_io.c       2010-05-03 15:37:55.303090012 -0700
    993993***************
    994994*** 86,92 ****
     
    12261226    }
    12271227 
    1228 diff -rc src/src/libscotch/graph_io_scot.c new3/src/libscotch/graph_io_scot.c
     1228diff -rc src/src/libscotch/graph_io_scot.c new4/src/libscotch/graph_io_scot.c
    12291229*** src/src/libscotch/graph_io_scot.c   2008-05-22 06:44:42.000000000 -0700
    1230 --- new3/src/libscotch/graph_io_scot.c  2010-04-30 10:28:22.251131111 -0700
     1230--- new4/src/libscotch/graph_io_scot.c  2010-05-03 15:37:55.310090018 -0700
    12311231***************
    12321232*** 89,95 ****
     
    12431243    }
    12441244 
    1245 diff -rc src/src/libscotch/library_arch.c new3/src/libscotch/library_arch.c
     1245diff -rc src/src/libscotch/library_arch.c new4/src/libscotch/library_arch.c
    12461246*** src/src/libscotch/library_arch.c    2008-05-22 06:44:42.000000000 -0700
    1247 --- new3/src/libscotch/library_arch.c   2010-04-30 10:28:22.256131113 -0700
     1247--- new4/src/libscotch/library_arch.c   2010-05-03 15:37:55.317090024 -0700
    12481248***************
    12491249*** 120,128 ****
     
    12781278 
    12791279  /*+ This routine saves the given opaque
    1280 diff -rc src/src/libscotch/library_arch_f.c new3/src/libscotch/library_arch_f.c
     1280diff -rc src/src/libscotch/library_arch_f.c new4/src/libscotch/library_arch_f.c
    12811281*** src/src/libscotch/library_arch_f.c  2008-05-22 06:44:42.000000000 -0700
    1282 --- new3/src/libscotch/library_arch_f.c 2010-04-30 10:28:22.260131115 -0700
     1282--- new4/src/libscotch/library_arch_f.c 2010-05-03 15:37:55.323090029 -0700
    12831283***************
    12841284*** 121,127 ****
     
    12951295    fclose (stream);                                /* This closes filenum too */
    12961296 
    1297 diff -rc src/src/libscotch/library_error_exit.c new3/src/libscotch/library_error_exit.c
     1297diff -rc src/src/libscotch/library_error_exit.c new4/src/libscotch/library_error_exit.c
    12981298*** src/src/libscotch/library_error_exit.c      2009-01-20 00:36:33.000000000 -0800
    1299 --- new3/src/libscotch/library_error_exit.c     2010-04-30 10:28:22.265131117 -0700
     1299--- new4/src/libscotch/library_error_exit.c     2010-05-03 15:37:55.330090035 -0700
    13001300***************
    13011301*** 114,119 ****
     
    13701370+ #endif /* MATLAB */
    13711371  }
    1372 diff -rc src/src/libscotch/library_graph.c new3/src/libscotch/library_graph.c
     1372diff -rc src/src/libscotch/library_graph.c new4/src/libscotch/library_graph.c
    13731373*** src/src/libscotch/library_graph.c   2008-05-22 07:28:12.000000000 -0700
    1374 --- new3/src/libscotch/library_graph.c  2010-04-30 10:28:22.270131119 -0700
     1374--- new4/src/libscotch/library_graph.c  2010-05-03 15:37:55.337090040 -0700
    13751375***************
    13761376*** 137,143 ****
     
    14151415 
    14161416  /*+ This routine saves the contents of the given
    1417 diff -rc src/src/libscotch/library_graph_f.c new3/src/libscotch/library_graph_f.c
     1417diff -rc src/src/libscotch/library_graph_f.c new4/src/libscotch/library_graph_f.c
    14181418*** src/src/libscotch/library_graph_f.c 2008-05-22 06:44:43.000000000 -0700
    1419 --- new3/src/libscotch/library_graph_f.c        2010-04-30 10:28:22.275131121 -0700
     1419--- new4/src/libscotch/library_graph_f.c        2010-05-03 15:37:55.344090046 -0700
    14201420***************
    14211421*** 136,142 ****
     
    14321432    fclose (stream);                                /* This closes filenum too */
    14331433 
    1434 diff -rc src/src/libscotch/library_graph_map.c new3/src/libscotch/library_graph_map.c
     1434diff -rc src/src/libscotch/library_graph_map.c new4/src/libscotch/library_graph_map.c
    14351435*** src/src/libscotch/library_graph_map.c       2008-09-28 04:04:05.000000000 -0700
    1436 --- new3/src/libscotch/library_graph_map.c      2010-04-30 10:28:22.280131123 -0700
     1436--- new4/src/libscotch/library_graph_map.c      2010-05-03 15:37:55.350090051 -0700
    14371437***************
    14381438*** 182,192 ****
     
    14571457 
    14581458  /*+ This routine computes a mapping
    1459 diff -rc src/src/libscotch/library_graph_map_f.c new3/src/libscotch/library_graph_map_f.c
     1459diff -rc src/src/libscotch/library_graph_map_f.c new4/src/libscotch/library_graph_map_f.c
    14601460*** src/src/libscotch/library_graph_map_f.c     2008-06-28 03:44:26.000000000 -0700
    1461 --- new3/src/libscotch/library_graph_map_f.c    2010-04-30 10:28:22.285131126 -0700
     1461--- new4/src/libscotch/library_graph_map_f.c    2010-05-03 15:37:55.357090057 -0700
    14621462***************
    14631463*** 183,189 ****
     
    14741474    fclose (stream);                                /* This closes filenum too */
    14751475 
    1476 diff -rc src/src/libscotch/library.h new3/src/libscotch/library.h
     1476diff -rc src/src/libscotch/library.h new4/src/libscotch/library.h
    14771477*** src/src/libscotch/library.h 2009-05-09 16:08:03.000000000 -0700
    1478 --- new3/src/libscotch/library.h        2010-04-30 10:28:22.291131128 -0700
     1478--- new4/src/libscotch/library.h        2010-05-03 15:37:55.365090063 -0700
    14791479***************
    14801480*** 134,140 ****
     
    15191519  int                         SCOTCH_graphMapCompute (const SCOTCH_Graph * const, SCOTCH_Mapping * const, const SCOTCH_Strat * const);
    15201520  int                         SCOTCH_graphMap     (const SCOTCH_Graph * const, const SCOTCH_Arch * const, const SCOTCH_Strat * const, SCOTCH_Num * const);
    1521 diff -rc src/src/libscotch/Makefile new3/src/libscotch/Makefile
     1521diff -rc src/src/libscotch/Makefile new4/src/libscotch/Makefile
    15221522*** src/src/libscotch/Makefile  2009-05-09 16:08:04.000000000 -0700
    1523 --- new3/src/libscotch/Makefile 2010-04-30 10:28:22.297131131 -0700
     1523--- new4/src/libscotch/Makefile 2010-06-17 09:55:33.101320246 -0700
    15241524***************
    15251525*** 49,55 ****
     
    15511551+                                       scotch.h                                                \
    15521552+                                       scotchf.h                                               \
    1553 +                                       libscotch$(LIB)                                         \
    1554 +                                       libscotcherr$(LIB)                                      \
    1555 +                                       libscotcherrexit$(LIB)
     1553+                                       libmexscotch$(LIB)                                              \
     1554+                                       libmexscotcherr$(LIB)                                   \
     1555+                                       libmexscotcherrexit$(LIB)
    15561556+
    15571557  install                               :
    15581558                                        -$(CP) scotch.h scotchf.h $(includedir)
    15591559                                        -$(CP) libscotch$(LIB) libscotcherr*$(LIB) $(libdir)
    1560 diff -rc src/src/libscotch/mapping.h new3/src/libscotch/mapping.h
     1560***************
     1561*** 77,82 ****
     1562--- 87,96 ----
     1563                                        -$(CP) scotchf.h $(includedir)/ptscotchf.h
     1564                                        -$(CP) libptscotch*$(LIB) $(libdir)
     1565 
     1566+ mexinstall                            :
     1567+                                       -$(CP) scotch.h scotchf.h $(includedir)
     1568+                                       -$(CP) libmexscotch$(LIB) libmexscotcherr*$(LIB) $(libdir)
     1569+
     1570  clean                         :
     1571                                        -$(RM) *~ *$(OBJ) lib*$(LIB) common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes$(EXE)
     1572 
     1573***************
     1574*** 2452,2457 ****
     1575--- 2466,2632 ----
     1576                                        $(AR) $(ARFLAGS) lib$(SCOTCHLIB)$(LIB) $(?)
     1577                                        -$(RANLIB) lib$(SCOTCHLIB)$(LIB)
     1578 
     1579+ libmexscotch$(LIB)                    :       arch$(OBJ)                              \
     1580+                                       arch_build$(OBJ)                        \
     1581+                                       arch_cmplt$(OBJ)                        \
     1582+                                       arch_cmpltw$(OBJ)                       \
     1583+                                       arch_deco$(OBJ)                         \
     1584+                                       arch_hcub$(OBJ)                         \
     1585+                                       arch_mesh$(OBJ)                         \
     1586+                                       arch_tleaf$(OBJ)                        \
     1587+                                       arch_torus$(OBJ)                        \
     1588+                                       arch_vcmplt$(OBJ)                       \
     1589+                                       arch_vhcub$(OBJ)                        \
     1590+                                       bgraph$(OBJ)                            \
     1591+                                       bgraph_bipart_bd$(OBJ)                  \
     1592+                                       bgraph_bipart_df$(OBJ)                  \
     1593+                                       bgraph_bipart_ex$(OBJ)                  \
     1594+                                       bgraph_bipart_fm$(OBJ)                  \
     1595+                                       bgraph_bipart_gg$(OBJ)                  \
     1596+                                       bgraph_bipart_gp$(OBJ)                  \
     1597+                                       bgraph_bipart_ml$(OBJ)                  \
     1598+                                       bgraph_bipart_st$(OBJ)                  \
     1599+                                       bgraph_bipart_zr$(OBJ)                  \
     1600+                                       bgraph_check$(OBJ)                      \
     1601+                                       bgraph_store$(OBJ)                      \
     1602+                                       common$(OBJ)                            \
     1603+                                       common_file$(OBJ)                       \
     1604+                                       common_file_compress$(OBJ)              \
     1605+                                       common_file_uncompress$(OBJ)            \
     1606+                                       common_integer$(OBJ)                    \
     1607+                                       common_memory$(OBJ)                     \
     1608+                                       common_stub$(OBJ)                       \
     1609+                                       gain$(OBJ)                              \
     1610+                                       geom$(OBJ)                              \
     1611+                                       graph$(OBJ)                             \
     1612+                                       graph_base$(OBJ)                        \
     1613+                                       graph_check$(OBJ)                       \
     1614+                                       graph_coarsen$(OBJ)                     \
     1615+                                       graph_induce$(OBJ)                      \
     1616+                                       graph_io$(OBJ)                          \
     1617+                                       graph_io_chac$(OBJ)                     \
     1618+                                       graph_io_habo$(OBJ)                     \
     1619+                                       graph_io_mmkt$(OBJ)                     \
     1620+                                       graph_io_scot$(OBJ)                     \
     1621+                                       graph_list$(OBJ)                        \
     1622+                                       hall_order_hd$(OBJ)                     \
     1623+                                       hall_order_hf$(OBJ)                     \
     1624+                                       hall_order_hx$(OBJ)                     \
     1625+                                       hgraph$(OBJ)                            \
     1626+                                       hgraph_check$(OBJ)                      \
     1627+                                       hgraph_induce$(OBJ)                     \
     1628+                                       hgraph_order_bl$(OBJ)                   \
     1629+                                       hgraph_order_cp$(OBJ)                   \
     1630+                                       hgraph_order_gp$(OBJ)                   \
     1631+                                       hgraph_order_hd$(OBJ)                   \
     1632+                                       hgraph_order_hf$(OBJ)                   \
     1633+                                       hgraph_order_hx$(OBJ)                   \
     1634+                                       hgraph_order_nd$(OBJ)                   \
     1635+                                       hgraph_order_si$(OBJ)                   \
     1636+                                       hgraph_order_st$(OBJ)                   \
     1637+                                       hmesh$(OBJ)                             \
     1638+                                       hmesh_check$(OBJ)                       \
     1639+                                       hmesh_hgraph$(OBJ)                      \
     1640+                                       hmesh_induce$(OBJ)                      \
     1641+                                       hmesh_mesh$(OBJ)                        \
     1642+                                       hmesh_order_bl$(OBJ)                    \
     1643+                                       hmesh_order_cp$(OBJ)                    \
     1644+                                       hmesh_order_gr$(OBJ)                    \
     1645+                                       hmesh_order_gp$(OBJ)                    \
     1646+                                       hmesh_order_hd$(OBJ)                    \
     1647+                                       hmesh_order_hf$(OBJ)                    \
     1648+                                       hmesh_order_hx$(OBJ)                    \
     1649+                                       hmesh_order_nd$(OBJ)                    \
     1650+                                       hmesh_order_si$(OBJ)                    \
     1651+                                       hmesh_order_st$(OBJ)                    \
     1652+                                       kgraph$(OBJ)                            \
     1653+                                       kgraph_map_rb$(OBJ)                     \
     1654+                                       kgraph_map_rb_map$(OBJ)                 \
     1655+                                       kgraph_map_rb_part$(OBJ)                \
     1656+                                       kgraph_map_st$(OBJ)                     \
     1657+                                       library_arch$(OBJ)                      \
     1658+                                       library_arch_f$(OBJ)                    \
     1659+                                       library_arch_build$(OBJ)                \
     1660+                                       library_arch_build_f$(OBJ)              \
     1661+                                       library_arch_cmpltw$(OBJ)               \
     1662+                                       library_arch_cmpltw_f$(OBJ)             \
     1663+                                       library_geom$(OBJ)                      \
     1664+                                       library_geom_f$(OBJ)                    \
     1665+                                       library_graph$(OBJ)                     \
     1666+                                       library_graph_f$(OBJ)                   \
     1667+                                       library_graph_base$(OBJ)                \
     1668+                                       library_graph_base_f$(OBJ)              \
     1669+                                       library_graph_check$(OBJ)               \
     1670+                                       library_graph_check_f$(OBJ)             \
     1671+                                       library_graph_io_chac$(OBJ)             \
     1672+                                       library_graph_io_chac_f$(OBJ)           \
     1673+                                       library_graph_io_habo$(OBJ)             \
     1674+                                       library_graph_io_habo_f$(OBJ)           \
     1675+                                       library_graph_io_mmkt$(OBJ)             \
     1676+                                       library_graph_io_mmkt_f$(OBJ)           \
     1677+                                       library_graph_io_scot$(OBJ)             \
     1678+                                       library_graph_io_scot_f$(OBJ)           \
     1679+                                       library_graph_map$(OBJ)                 \
     1680+                                       library_graph_map_f$(OBJ)               \
     1681+                                       library_graph_map_view$(OBJ)            \
     1682+                                       library_graph_map_view_f$(OBJ)          \
     1683+                                       library_graph_order$(OBJ)               \
     1684+                                       library_graph_order_f$(OBJ)             \
     1685+                                       library_mesh$(OBJ)                      \
     1686+                                       library_mesh_f$(OBJ)                    \
     1687+                                       library_mesh_graph$(OBJ)                \
     1688+                                       library_mesh_graph_f$(OBJ)              \
     1689+                                       library_mesh_io_habo$(OBJ)              \
     1690+                                       library_mesh_io_habo_f$(OBJ)            \
     1691+                                       library_mesh_io_scot$(OBJ)              \
     1692+                                       library_mesh_io_scot_f$(OBJ)            \
     1693+                                       library_mesh_order$(OBJ)                \
     1694+                                       library_mesh_order_f$(OBJ)              \
     1695+                                       library_parser$(OBJ)                    \
     1696+                                       library_parser_f$(OBJ)                  \
     1697+                                       library_random$(OBJ)                    \
     1698+                                       library_random_f$(OBJ)                  \
     1699+                                       mapping$(OBJ)                           \
     1700+                                       mapping_io$(OBJ)                        \
     1701+                                       mesh$(OBJ)                              \
     1702+                                       mesh_check$(OBJ)                        \
     1703+                                       mesh_coarsen$(OBJ)                      \
     1704+                                       mesh_graph$(OBJ)                        \
     1705+                                       mesh_induce_sepa$(OBJ)                  \
     1706+                                       mesh_io$(OBJ)                           \
     1707+                                       mesh_io_habo$(OBJ)                      \
     1708+                                       mesh_io_scot$(OBJ)                      \
     1709+                                       order$(OBJ)                             \
     1710+                                       order_check$(OBJ)                       \
     1711+                                       order_io$(OBJ)                          \
     1712+                                       parser$(OBJ)                            \
     1713+                                       parser_ll$(OBJ)                         \
     1714+                                       parser_yy$(OBJ)                         \
     1715+                                       vgraph$(OBJ)                            \
     1716+                                       vgraph_check$(OBJ)                      \
     1717+                                       vgraph_separate_bd$(OBJ)                \
     1718+                                       vgraph_separate_es$(OBJ)                \
     1719+                                       vgraph_separate_fm$(OBJ)                \
     1720+                                       vgraph_separate_gg$(OBJ)                \
     1721+                                       vgraph_separate_gp$(OBJ)                \
     1722+                                       vgraph_separate_ml$(OBJ)                \
     1723+                                       vgraph_separate_st$(OBJ)                \
     1724+                                       vgraph_separate_th$(OBJ)                \
     1725+                                       vgraph_separate_vw$(OBJ)                \
     1726+                                       vgraph_separate_zr$(OBJ)                \
     1727+                                       vgraph_store$(OBJ)                      \
     1728+                                       vmesh$(OBJ)                             \
     1729+                                       vmesh_check$(OBJ)                       \
     1730+                                       vmesh_separate_fm$(OBJ)                 \
     1731+                                       vmesh_separate_gg$(OBJ)                 \
     1732+                                       vmesh_separate_gr$(OBJ)                 \
     1733+                                       vmesh_separate_ml$(OBJ)                 \
     1734+                                       vmesh_separate_zr$(OBJ)                 \
     1735+                                       vmesh_separate_st$(OBJ)                 \
     1736+                                       vmesh_store$(OBJ)
     1737+                                       $(AR) $(ARFLAGS) $(@) $(?)
     1738+                                       -$(RANLIB) $(@)
     1739+
     1740  libptscotcherr$(LIB)          :       library_error$(OBJ)
     1741                                        $(AR) $(ARFLAGS) $(@) $(?)
     1742                                        -$(RANLIB) $(@)
     1743***************
     1744*** 2467,2469 ****
     1745--- 2642,2651 ----
     1746  libscotcherrexit$(LIB)                :       library_error_exit$(OBJ)
     1747                                        $(AR) $(ARFLAGS) $(@) $(?)
     1748                                        -$(RANLIB) $(@)
     1749+ libmexscotcherr$(LIB)         :       library_error$(OBJ)
     1750+                                       $(AR) $(ARFLAGS) $(@) $(?)
     1751+                                       -$(RANLIB) $(@)
     1752+
     1753+ libmexscotcherrexit$(LIB)             :       library_error_exit$(OBJ)
     1754+                                       $(AR) $(ARFLAGS) $(@) $(?)
     1755+                                       -$(RANLIB) $(@)
     1756Only in new4/src/libscotch: Makefile_save
     1757diff -rc src/src/libscotch/mapping.h new4/src/libscotch/mapping.h
    15611758*** src/src/libscotch/mapping.h 2008-10-27 08:27:47.000000000 -0700
    1562 --- new3/src/libscotch/mapping.h        2010-04-30 10:28:22.302131133 -0700
     1759--- new4/src/libscotch/mapping.h        2010-05-03 15:37:55.381090077 -0700
    15631760***************
    15641761*** 106,112 ****
     
    15751772 
    15761773  #undef static
    1577 diff -rc src/src/libscotch/mapping_io.c new3/src/libscotch/mapping_io.c
     1774diff -rc src/src/libscotch/mapping_io.c new4/src/libscotch/mapping_io.c
    15781775*** src/src/libscotch/mapping_io.c      2008-05-22 06:44:43.000000000 -0700
    1579 --- new3/src/libscotch/mapping_io.c     2010-04-30 10:28:22.307131135 -0700
     1776--- new4/src/libscotch/mapping_io.c     2010-05-03 15:37:55.388090082 -0700
    15801777***************
    15811778*** 199,204 ****
     
    16641861    return (0);
    16651862  }
    1666 diff -rc src/src/libscotch/mesh_io_scot.c new3/src/libscotch/mesh_io_scot.c
     1863diff -rc src/src/libscotch/mesh_io_scot.c new4/src/libscotch/mesh_io_scot.c
    16671864*** src/src/libscotch/mesh_io_scot.c    2008-05-22 06:44:43.000000000 -0700
    1668 --- new3/src/libscotch/mesh_io_scot.c   2010-04-30 10:28:22.312131137 -0700
     1865--- new4/src/libscotch/mesh_io_scot.c   2010-05-03 15:37:55.394090087 -0700
    16691866***************
    16701867*** 85,91 ****
     
    16811878    }
    16821879 
    1683 diff -rc src/src/libscotch/module.h new3/src/libscotch/module.h
     1880diff -rc src/src/libscotch/module.h new4/src/libscotch/module.h
    16841881*** src/src/libscotch/module.h  2009-04-26 23:07:14.000000000 -0700
    1685 --- new3/src/libscotch/module.h 2010-05-03 14:48:29.655638124 -0700
     1882--- new4/src/libscotch/module.h 2010-05-03 15:37:55.402090094 -0700
    16861883***************
    16871884*** 156,161 ****
     
    16941891  #define intRandInit                 _SCOTCHintRandInit
    16951892  /* #define intRandVal               _SCOTCHintRandVal Already a macro */
    1696 diff -rc src/src/libscotch/parser_ll.l new3/src/libscotch/parser_ll.l
     1893diff -rc src/src/libscotch/parser_ll.l new4/src/libscotch/parser_ll.l
    16971894*** src/src/libscotch/parser_ll.l       2008-05-22 06:44:43.000000000 -0700
    1698 --- new3/src/libscotch/parser_ll.l      2010-04-30 10:28:22.318131140 -0700
     1895--- new4/src/libscotch/parser_ll.l      2010-05-03 15:37:55.410090101 -0700
    16991896***************
    17001897*** 192,197 ****
     
    17231920    yyrestart (yyin);                               /* (Re-)initialize the parser */
    17241921  #endif /* FLEX_SCANNER */
    1725 diff -rc src/src/libscotch/parser_yy.y new3/src/libscotch/parser_yy.y
     1922diff -rc src/src/libscotch/parser_yy.y new4/src/libscotch/parser_yy.y
    17261923*** src/src/libscotch/parser_yy.y       2008-10-22 15:12:48.000000000 -0700
    1727 --- new3/src/libscotch/parser_yy.y      2010-04-30 10:28:22.363131160 -0700
     1924--- new4/src/libscotch/parser_yy.y      2010-05-03 15:37:55.418090107 -0700
    17281925***************
    17291926*** 774,779 ****
     
    17361933    if (stratParserParse2 () != 0) {                /* Parse the strategy string */
    17371934      if (parserstratcurr != NULL)
    1738 diff -rc src/src/libscotch/vgraph_separate_vw.c new3/src/libscotch/vgraph_separate_vw.c
     1935diff -rc src/src/libscotch/vgraph_separate_vw.c new4/src/libscotch/vgraph_separate_vw.c
    17391936*** src/src/libscotch/vgraph_separate_vw.c      2008-05-22 06:44:43.000000000 -0700
    1740 --- new3/src/libscotch/vgraph_separate_vw.c     2010-04-30 10:28:22.368131162 -0700
     1937--- new4/src/libscotch/vgraph_separate_vw.c     2010-05-03 15:37:55.425090113 -0700
    17411938***************
    17421939*** 83,88 ****
     
    17581955    return (0);
    17591956  }
    1760 diff -rc src/src/Makefile new3/src/Makefile
     1957diff -rc src/src/Makefile new4/src/Makefile
    17611958*** src/src/Makefile    2008-09-15 05:50:51.000000000 -0700
    1762 --- new3/src/Makefile   2010-04-30 10:28:22.373131164 -0700
     1959--- new4/src/Makefile   2010-06-17 09:31:54.881418932 -0700
    17631960***************
    17641961*** 97,102 ****
     
    17681965 
    17691966+ mexscotch                     :       required
    1770 +                                       (cd libscotch ;      $(MAKE) VERSION=\"$(VERSION)\" mexscotch && $(MAKE) install)
     1967+                                       (cd libscotch ;      $(MAKE) VERSION=\"$(VERSION)\" mexscotch && $(MAKE) mexinstall)
    17711968+                                       (cd scotch ;         $(MAKE) VERSION=\"$(VERSION)\" mexscotch && $(MAKE) mexinstall)
    17721969+
     
    17741971                                        -$(CP) -f ../bin/[agm]*$(EXE) $(bindir)
    17751972                                        -$(CP) -f ../include/*scotch*.h $(includedir)
    1776 Only in new3/src: Makefile.inc
    1777 Only in new3/src/scotch: gmap_mex.c
    1778 Only in new3/src/scotch: gmapx.c
    1779 diff -rc src/src/scotch/Makefile new3/src/scotch/Makefile
     1973Only in new4/src: Makefile.inc
     1974Only in new4/src/scotch: gmap_mex.c
     1975Only in new4/src/scotch: gmapx.c
     1976diff -rc src/src/scotch/Makefile new4/src/scotch/Makefile
    17801977*** src/src/scotch/Makefile     2009-04-27 02:19:43.000000000 -0700
    1781 --- new3/src/scotch/Makefile    2010-04-30 10:28:22.379131167 -0700
     1978--- new4/src/scotch/Makefile    2010-06-17 10:09:39.718475100 -0700
    17821979***************
    17831980*** 49,59 ****
     
    18252022***************
    18262023*** 104,111 ****
    1827 --- 113,124 ----
     2024--- 113,126 ----
    18282025                                        -$(RM) $(bindir)/dgpart$(EXE)
    18292026                                        -$(LN) $(bindir)/dgmap$(EXE) $(bindir)/dgpart$(EXE)
     
    18312028+ mexinstall                    :
    18322029+                                       -$(CP) gmap_mex$(MEX) $(bindir)
     2030+                                       -$(RM) $(bindir)/gpart_mex$(MEX)
     2031+                                       -$(LN) $(bindir)/gmap_mex$(MEX) $(bindir)/gpart_mex$(MEX)
    18332032+
    18342033  clean                         :
     
    18402039***************
    18412040*** 365,367 ****
    1842 --- 378,396 ----
     2041--- 380,403 ----
    18432042                                        $(libdir)/libscotch$(LIB)               \
    18442043                                        $(libdir)/libscotcherrexit$(LIB)        \
     
    18602059+                                       $(libdir)/libscotcherrexit$(LIB)        \
    18612060+                                       gmap.h
     2061+
     2062+ gpart_mex$(MEX)                       :       gmap_mex$(MEX)
     2063+                                       -$(RM) gpart_mex$(MEX)
     2064+                                       -$(LN) gmap_mex$(MEX) gpart_mex$(MEX)
     2065+
  • issm/trunk/externalpackages/scotch/scotch_jes_notes.txt

    r3650 r4629  
    302302- implemented common_integer.c/intRandResetStatic to reset static variables from previous runs.
    303303
     3046/16/10:
     305
     306- renamed scotch x-layer and separated it from rest of build.
     307- set up scotch to build both stand-alone and mex libraries.
     308
Note: See TracChangeset for help on using the changeset viewer.