Changeset 19491


Ignore:
Timestamp:
08/13/15 17:21:48 (10 years ago)
Author:
glperez
Message:

FIX: Updated MumpsSolve.cpp to agree with new ADOLC.
CHG: Updated install.sh to install newest version of ADOLC.

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/adolc/install.sh

    r15821 r19491  
    55rm -rf install src
    66
    7 git clone -b ampi git://git.mcs.anl.gov/adol-c.git src
     7git clone https://gitlab.com/adol-c/adol-c.git src
    88#git reset --hard b254b2a001a1b7a024a9184cd087ae06eb975cad
    99
  • issm/trunk-jpl/src/c/toolkits/mumps/MumpsSolve.cpp

    r18521 r19491  
    321321    pack_A_rhs[local_nnz+i]=rhs[i];
    322322  }
    323   IssmPDouble *passivePack_A_rhs=xNew<IssmPDouble>(local_nnz+n);
    324   IssmPDouble *passiveSol=xNew<IssmPDouble>(n);
    325323  IssmDouble *sol=xNew<IssmDouble>(n);
    326324  call_ext_fct(xDynamicCast<GenericParam<Adolc_edf> * >(parameters->FindParamObject(AdolcParamEnum))->GetParameterValue().myEDF_for_solverx_p,
    327325               packedDimsSparseArrLength, packedDimsSparseArr,
    328                local_nnz+n, passivePack_A_rhs, pack_A_rhs,
    329                n, passiveSol,sol);
     326               local_nnz+n, pack_A_rhs,
     327               n,sol);
    330328  for (int i=0;i<n;++i) {
    331329    rhs[i]=sol[i];
    332330  }
    333331  xDelete(sol);
    334   xDelete(passiveSol);
    335   xDelete(passivePack_A_rhs);
    336332  xDelete(pack_A_rhs);
    337333  xDelete(packedDimsSparseArr);
Note: See TracChangeset for help on using the changeset viewer.