HAVE_FEATURE_PARDISO Detect availability/version info for PARDISO Feature detection function implementing 'pardiso' tag for HAVE_FEATURE to detect availability/version of PARDISO, Parallel Sparse Direct & Iterative Linear Solver (https://pardiso-project.org). See also HAVE_FEATURE, HAVE_FEATURE_PARDISO_LEGACY, HAVE_FEATURE_PARDISO_OBJECT.
0001 function [TorF, vstr, rdate] = have_feature_pardiso() 0002 %HAVE_FEATURE_PARDISO Detect availability/version info for PARDISO 0003 % 0004 % Feature detection function implementing 'pardiso' tag for HAVE_FEATURE 0005 % to detect availability/version of PARDISO, Parallel Sparse Direct & 0006 % Iterative Linear Solver (https://pardiso-project.org). 0007 % 0008 % See also HAVE_FEATURE, HAVE_FEATURE_PARDISO_LEGACY, 0009 % HAVE_FEATURE_PARDISO_OBJECT. 0010 0011 % MIPS 0012 % Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC) 0013 % by Ray Zimmerman, PSERC Cornell 0014 % 0015 % This file is part of MIPS. 0016 % Covered by the 3-clause BSD License (see LICENSE file for details). 0017 % See https://github.com/MATPOWER/mips for more info. 0018 0019 if have_feature('pardiso_object') 0020 TorF = 1; 0021 vstr = have_feature('pardiso_object', 'vstr'); 0022 elseif have_feature('pardiso_legacy') 0023 TorF = 1; 0024 vstr = have_feature('pardiso_legacy', 'vstr'); 0025 else 0026 TorF = 0; 0027 vstr = ''; 0028 end 0029 rdate = '';