Changeset 21905


Ignore:
Timestamp:
08/01/17 15:54:00 (8 years ago)
Author:
schlegel
Message:

CHG: minor updates for scotch package

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/etc/environment.sh

    r21723 r21905  
    9696        libpathappend "$PETSC_DIR/lib"
    9797fi
     98
     99SCOTCH_DIR="$ISSM_DIR/externalpackages/scotch/install"
     100libpathappend "$SCOTCH_DIR/lib"
    98101
    99102SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install"
  • TabularUnified issm/trunk-jpl/externalpackages/scotch/scotch.patch

    r14993 r21905  
    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 */
  • TabularUnified issm/trunk-jpl/m4/issm_options.m4

    r21837 r21905  
    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])
  • TabularUnified issm/trunk-jpl/src/m/partition/partitioner.m

    r17686 r21905  
    4141        md.qmu.vertex_weight=[];
    4242        md.mesh.vertexconnectivity=[];
     43        recomputeadjacency='on';
    4344end
    4445
     
    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'),
Note: See TracChangeset for help on using the changeset viewer.