source: issm/oecreview/Archive/21724-22754/ISSM-21904-21905.diff@ 22755

Last change on this file since 22755 was 22755, checked in by Mathieu Morlighem, 7 years ago

CHG: added 21724-22754

File size: 2.7 KB
  • TabularUnified ../trunk-jpl/etc/environment.sh

     
    9696        libpathappend "$PETSC_DIR/lib"
    9797fi
    9898
     99SCOTCH_DIR="$ISSM_DIR/externalpackages/scotch/install"
     100libpathappend "$SCOTCH_DIR/lib"
     101
    99102SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install"
    100103libpathappend "$SLEPC_DIR/lib"
    101104
  • TabularUnified ../trunk-jpl/m4/issm_options.m4

     
    713713        dnl scotch libraries
    714714        if test "x$HAVE_SCOTCH" = "xyes"; then
    715715                SCOTCHINCL="-DNOFILEIO -I$SCOTCH_ROOT/include -DSCOTCH_VERSION=\\\"UNKNOWN\\\""
    716                 SCOTCHLIB="-L$SCOTCH_ROOT/lib -lnfioscotch -lnfioscotcherr -lnfioscotcherrexit -lscotchmetis"
     716                SCOTCHLIB="-L$SCOTCH_ROOT/lib -lnfioscotch -lnfioscotcherr -lnfioscotcherrexit "
    717717                AC_DEFINE([_HAVE_SCOTCH_],[1],[with Scotch in ISSM src])
    718718                AC_SUBST([SCOTCHINCL])
    719719                AC_SUBST([SCOTCHLIB])
  • TabularUnified ../trunk-jpl/externalpackages/scotch/scotch.patch

     
    22262226--- src/src/libscotch/parser_ll.l       2013-05-06 14:14:21.000000000 -0700
    22272227***************
    22282228*** 192,197 ****
    2229 --- 192,214 ----
     2229--- 192,213 ----
    22302230  stratParserInit (
    22312231  const char * const          string)               /*+ Strategy string to parse +*/
    22322232  {
    22332233+ /*  reset static variables from previous runs (jes, 4/29/10)  */
    2234 +   yy_current_buffer = 0;
    22352234+   yy_hold_char = (char) 0;
    22362235+   yy_n_chars=0;          /* number of characters read into yy_ch_buf */
    22372236+   yy_c_buf_p = (char *) 0;
  • TabularUnified ../trunk-jpl/src/m/partition/partitioner.m

     
    4040        md.mesh.numberofelements=md.mesh.numberofelements2d;
    4141        md.qmu.vertex_weight=[];
    4242        md.mesh.vertexconnectivity=[];
     43        recomputeadjacency='on';
    4344end
    4445
    4546%adjacency matrix if needed:
     
    7980        %are we using weights?
    8081        if strcmpi(getfieldvalue(options,'weighting'),'on'),
    8182                weights=floor(md.qmu.vertex_weight/min(md.qmu.vertex_weight));
     83        else
     84                weights=[];
    8285        end
    8386        maptab=Scotch(md.qmu.adjacency,[],weights,[],'cmplt',[npart]);
    8487
    85         part=maptab(:,2);%index partitions from 1 up. like metis.
     88        part=maptab(:,2)+1;%index partitions from 1 up. like metis.
    8689
    8790elseif strcmpi(package,'linear'),
    8891
Note: See TracBrowser for help on using the repository browser.