An optimizing symbolic algebra approach for generating fast multipole method operators. Coles, J. P. & Bieri, R. Computer Physics Communications, December, 2019.
Paper doi abstract bibtex We have developed a symbolic algebra approach to automatically produce, verify, and optimize computer code for the Fast Multipole Method (FMM) operators. This approach allows for flexibility in choosing a basis set and kernel, and can generate computer code for any expansion order in multiple languages. The procedure is implemented in the publicly available Python program Mosaic. Optimizations performed at the symbolic level through algebraic manipulations significantly reduce the number of mathematical operations compared with a straightforward implementation of the equations. We find that the optimizer is able to eliminate 20%–80% of the floating-point operations and for the expansion orders it changes the observed scaling properties. We present our approach using three variants of the operators with the Cartesian basis set for the harmonic potential kernel , including the use of totally symmetric and traceless multipole tensors.
@article{coles_optimizing_2019,
title = {An optimizing symbolic algebra approach for generating fast multipole method operators},
issn = {00104655},
url = {https://linkinghub.elsevier.com/retrieve/pii/S0010465519303960},
doi = {10.1016/j.cpc.2019.107081},
abstract = {We have developed a symbolic algebra approach to automatically produce, verify, and optimize computer code for the Fast Multipole Method (FMM) operators. This approach allows for flexibility in choosing a basis set and kernel, and can generate computer code for any expansion order in multiple languages. The procedure is implemented in the publicly available Python program Mosaic. Optimizations performed at the symbolic level through algebraic manipulations significantly reduce the number of mathematical operations compared with a straightforward implementation of the equations. We find that the optimizer is able to eliminate 20\%–80\% of the floating-point operations and for the expansion orders it changes the observed scaling properties. We present our approach using three variants of the operators with the Cartesian basis set for the harmonic potential kernel , including the use of totally symmetric and traceless multipole tensors.},
language = {en},
urldate = {2019-12-08},
journal = {Computer Physics Communications},
author = {Coles, Jonathan P. and Bieri, Rebekka},
month = dec,
year = {2019},
keywords = {fast multipole method, n-body problem, uses sympy},
pages = {107081},
}
Downloads: 0
{"_id":"nst3ogE6GNozwEYZi","bibbaseid":"coles-bieri-anoptimizingsymbolicalgebraapproachforgeneratingfastmultipolemethodoperators-2019","authorIDs":[],"author_short":["Coles, J. P.","Bieri, R."],"bibdata":{"bibtype":"article","type":"article","title":"An optimizing symbolic algebra approach for generating fast multipole method operators","issn":"00104655","url":"https://linkinghub.elsevier.com/retrieve/pii/S0010465519303960","doi":"10.1016/j.cpc.2019.107081","abstract":"We have developed a symbolic algebra approach to automatically produce, verify, and optimize computer code for the Fast Multipole Method (FMM) operators. This approach allows for flexibility in choosing a basis set and kernel, and can generate computer code for any expansion order in multiple languages. The procedure is implemented in the publicly available Python program Mosaic. Optimizations performed at the symbolic level through algebraic manipulations significantly reduce the number of mathematical operations compared with a straightforward implementation of the equations. We find that the optimizer is able to eliminate 20%–80% of the floating-point operations and for the expansion orders it changes the observed scaling properties. We present our approach using three variants of the operators with the Cartesian basis set for the harmonic potential kernel , including the use of totally symmetric and traceless multipole tensors.","language":"en","urldate":"2019-12-08","journal":"Computer Physics Communications","author":[{"propositions":[],"lastnames":["Coles"],"firstnames":["Jonathan","P."],"suffixes":[]},{"propositions":[],"lastnames":["Bieri"],"firstnames":["Rebekka"],"suffixes":[]}],"month":"December","year":"2019","keywords":"fast multipole method, n-body problem, uses sympy","pages":"107081","bibtex":"@article{coles_optimizing_2019,\n\ttitle = {An optimizing symbolic algebra approach for generating fast multipole method operators},\n\tissn = {00104655},\n\turl = {https://linkinghub.elsevier.com/retrieve/pii/S0010465519303960},\n\tdoi = {10.1016/j.cpc.2019.107081},\n\tabstract = {We have developed a symbolic algebra approach to automatically produce, verify, and optimize computer code for the Fast Multipole Method (FMM) operators. This approach allows for flexibility in choosing a basis set and kernel, and can generate computer code for any expansion order in multiple languages. The procedure is implemented in the publicly available Python program Mosaic. Optimizations performed at the symbolic level through algebraic manipulations significantly reduce the number of mathematical operations compared with a straightforward implementation of the equations. We find that the optimizer is able to eliminate 20\\%–80\\% of the floating-point operations and for the expansion orders it changes the observed scaling properties. We present our approach using three variants of the operators with the Cartesian basis set for the harmonic potential kernel , including the use of totally symmetric and traceless multipole tensors.},\n\tlanguage = {en},\n\turldate = {2019-12-08},\n\tjournal = {Computer Physics Communications},\n\tauthor = {Coles, Jonathan P. and Bieri, Rebekka},\n\tmonth = dec,\n\tyear = {2019},\n\tkeywords = {fast multipole method, n-body problem, uses sympy},\n\tpages = {107081},\n}\n\n\n\n\n\n\n\n","author_short":["Coles, J. P.","Bieri, R."],"key":"coles_optimizing_2019","id":"coles_optimizing_2019","bibbaseid":"coles-bieri-anoptimizingsymbolicalgebraapproachforgeneratingfastmultipolemethodoperators-2019","role":"author","urls":{"Paper":"https://linkinghub.elsevier.com/retrieve/pii/S0010465519303960"},"keyword":["fast multipole method","n-body problem","uses sympy"],"metadata":{"authorlinks":{}},"downloads":0},"bibtype":"article","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","creationDate":"2020-07-15T19:11:20.347Z","downloads":0,"keywords":["fast multipole method","n-body problem","uses sympy"],"search_terms":["optimizing","symbolic","algebra","approach","generating","fast","multipole","method","operators","coles","bieri"],"title":"An optimizing symbolic algebra approach for generating fast multipole method operators","year":2019,"dataSources":["YtBDXPDiQEyhyEDZC","fhHfrQgj3AaGp7e9E","qzbMjEJf5d9Lk78vE","45tA9RFoXA9XeH4MM","MeSgs2KDKZo3bEbxH","nSXCrcahhCNfzvXEY","ecatNAsyr4f2iQyGq","tpWeaaCgFjPTYCjg3"]}