A numerical differentiation library exploiting parallel architectures

被引:15
作者
Voglis, C. [1 ]
Hadjidoukas, P. E. [1 ]
Lagaris, I. E. [1 ]
Papageorgiou, D. G. [2 ]
机构
[1] Univ Ioannina, Dept Comp Sci, GR-45110 Ioannina, Greece
[2] Univ Ioannina, Dept Mat Sci & Engn, GR-45110 Ioannina, Greece
关键词
Numerical differentiation; Finite differences; Optimization; Nonlinear equations; OpenMP; MPI; Parallel processing; Distributed computing; NEURAL-NETWORK METHODS; DIFFERENCE FORMULAS;
D O I
10.1016/j.cpc.2009.02.004
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We present a software library for numerically estimating first and second order partial derivatives of a function by finite differencing. Various truncation schemes are offered resulting in corresponding formulas that are accurate to order O(h), O(h(2)), and O(h(4)), h being the differencing step. The derivatives are calculated via forward, backward and central differences. Care has been taken that only feasible points are used in the case where bound constraints are imposed on the variables. The Hessian may be approximated either from function or from gradient values. There are three versions of the software: a sequential version, an OpenMP version for shared memory architectures and an MPI version for distributed systems (clusters). The parallel versions exploit the multiprocessing capability offered by computer clusters, as well as modern multi-core systems and due to the independent character of the derivative computation, the speedup scales almost linearly with the number of available processors/cores.
引用
收藏
页码:1404 / 1415
页数:12
相关论文
共 32 条
[31]  
Wolfram Research, Mathematica
[32]  
Yip S., 2005, Handbook of Material Modelling