Skip to main content
Erschienen in: The Journal of Supercomputing 10/2021

01.04.2021

Multidimensional adaptative and deterministic integration in CUDA and OpenMP

verfasst von: R. Quintero-Monsebaiz, A. Meneses-Viveros, F. Carranza, C. G. Cortés, A. González-Zamudio, A. Vela

Erschienen in: The Journal of Supercomputing | Ausgabe 10/2021

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Parallelization schemes on many-core architectures, in this case, CUDA and OpenMP, are used to accelerate and improve the accuracy of adaptive multidimensional integration algorithms. The one-dimensional Gauss–Kronrod adaptive method is generalized to 3, 4, 5 and 6 dimensions. The implementation of the traditional tensor product construction of the grid and weights for multidimensional integration is revisited and reformulated taking advantages of the multi and many-core architectures. Tests performed in a set of benchmark functions show that the algorithm is numerically accurate, with accelerations as high as 800X in CUDA and 300X in the OpenMP implementation both compared to a sequential multidimensional integration algorithm.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Abramowitz M (1974) Handbook of mathematical functions, with formulas, graphs, and mathematical tables. Dover Publications Inc, New YorkMATH Abramowitz M (1974) Handbook of mathematical functions, with formulas, graphs, and mathematical tables. Dover Publications Inc, New YorkMATH
3.
Zurück zum Zitat Ammar GS, Calvetti D, Reichel L (1999) Computation of gauss-kronrod quadrature rules with non-positive weights. Electron Trans Num Anal 9:26–38MathSciNetMATH Ammar GS, Calvetti D, Reichel L (1999) Computation of gauss-kronrod quadrature rules with non-positive weights. Electron Trans Num Anal 9:26–38MathSciNetMATH
4.
Zurück zum Zitat Arfken G (1985) Mathematical methods for physicists, 3rd edn. Academic Press Inc, San DiegoMATH Arfken G (1985) Mathematical methods for physicists, 3rd edn. Academic Press Inc, San DiegoMATH
5.
Zurück zum Zitat Arumugam K, Godunov A, Ranjan D, Terzic B, Zubair M (2013) An efficient deterministic parallel algorithm for adaptive multidimensional numerical integration on gpus. In: Parallel processing (ICPP), 2013 42nd International Conference on, pp. 486–491. IEEE Arumugam K, Godunov A, Ranjan D, Terzic B, Zubair M (2013) An efficient deterministic parallel algorithm for adaptive multidimensional numerical integration on gpus. In: Parallel processing (ICPP), 2013 42nd International Conference on, pp. 486–491. IEEE
6.
Zurück zum Zitat Atisattapong W, Marupanthorn P (2017) A 1/t algorithm with the density of two states for estimating multidimensional integrals. Comput Phys Commun 220:122–128MathSciNetCrossRef Atisattapong W, Marupanthorn P (2017) A 1/t algorithm with the density of two states for estimating multidimensional integrals. Comput Phys Commun 220:122–128MathSciNetCrossRef
7.
Zurück zum Zitat Becke AD (1988) A multicenter numerical integration scheme for polyatomic molecules. J Chem Phys 88(4):2547–2553CrossRef Becke AD (1988) A multicenter numerical integration scheme for polyatomic molecules. J Chem Phys 88(4):2547–2553CrossRef
8.
Zurück zum Zitat Berntsen J, Espelid TO, Genz A (1991) An adaptive algorithm for the approximate calculation of multiple integrals. ACM Trans Math Softw (TOMS) 17(4):437–451MathSciNetCrossRef Berntsen J, Espelid TO, Genz A (1991) An adaptive algorithm for the approximate calculation of multiple integrals. ACM Trans Math Softw (TOMS) 17(4):437–451MathSciNetCrossRef
9.
Zurück zum Zitat Blinder S, House J (eds) (2019) Slater and Gaussian basis functions and computation of molecular integrals developments in physical and theoretical chemistry. Elsevier, Amsterdam Blinder S, House J (eds) (2019) Slater and Gaussian basis functions and computation of molecular integrals developments in physical and theoretical chemistry. Elsevier, Amsterdam
10.
Zurück zum Zitat Boys SF, Egerton AC (1950) Electronic wave functions - i. a general method of calculation for the stationary states of any molecular system. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences 200(1063) Boys SF, Egerton AC (1950) Electronic wave functions - i. a general method of calculation for the stationary states of any molecular system. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences 200(1063)
11.
Zurück zum Zitat Brass S, Kilian W, Reuter J (2019) Parallel adaptive Monte Carlo integration with the event generator WHIZARD. Eur Phys J C 79(4):1–25CrossRef Brass S, Kilian W, Reuter J (2019) Parallel adaptive Monte Carlo integration with the event generator WHIZARD. Eur Phys J C 79(4):1–25CrossRef
12.
13.
Zurück zum Zitat Cheng VB, Suzukawa HH, Wolfsberg M (1973) Investigations of a nonrandom numerical method for multidimensional integration. J Chem Phys 59(8):3992–3999MathSciNetCrossRef Cheng VB, Suzukawa HH, Wolfsberg M (1973) Investigations of a nonrandom numerical method for multidimensional integration. J Chem Phys 59(8):3992–3999MathSciNetCrossRef
14.
Zurück zum Zitat Dahlquist G, Björck Å (2008) Numerical methods in scientific computing, vol 1. Soc Ind Appl Math Dahlquist G, Björck Å (2008) Numerical methods in scientific computing, vol 1. Soc Ind Appl Math
15.
Zurück zum Zitat Dixit AK, Sherrerd JJ et al (1990) Optimization in economic theory. Oxford University Press on Demand, Oxford Dixit AK, Sherrerd JJ et al (1990) Optimization in economic theory. Oxford University Press on Demand, Oxford
16.
Zurück zum Zitat Fuller SH, Millett LI (2011) Computing performance: game over or next level? Computer 44(1):31–38CrossRef Fuller SH, Millett LI (2011) Computing performance: game over or next level? Computer 44(1):31–38CrossRef
17.
Zurück zum Zitat G S (1975) vol. 23, fourth edn. American Mathematical Society, Rhode Island G S (1975) vol. 23, fourth edn. American Mathematical Society, Rhode Island
18.
Zurück zum Zitat Genz A (1972) An adaptive multidimensional quadrature procedure. Comput Phys Commun 4(1):11–15CrossRef Genz A (1972) An adaptive multidimensional quadrature procedure. Comput Phys Commun 4(1):11–15CrossRef
19.
Zurück zum Zitat Genz A (1986) Fully symmetric interpolatory rules for multiple integrals. SIAM 23:1273–1283MathSciNetMATH Genz A (1986) Fully symmetric interpolatory rules for multiple integrals. SIAM 23:1273–1283MathSciNetMATH
20.
Zurück zum Zitat Gibbs D (1916) A course in interpolation and numerical integration for the mathematical laboratory. J Inst Actuar 50(1):67–68MathSciNetCrossRef Gibbs D (1916) A course in interpolation and numerical integration for the mathematical laboratory. J Inst Actuar 50(1):67–68MathSciNetCrossRef
21.
Zurück zum Zitat Grammer G Jr, Kinoshita T (1974) The two-photon process for particle production in colliding beam experiments. Nucl Phys B 80(3):461–490CrossRef Grammer G Jr, Kinoshita T (1974) The two-photon process for particle production in colliding beam experiments. Nucl Phys B 80(3):461–490CrossRef
23.
Zurück zum Zitat Intriligator MD (2002) Mathematical optimization and economic theory. SIAM, PhiladelphiaCrossRef Intriligator MD (2002) Mathematical optimization and economic theory. SIAM, PhiladelphiaCrossRef
24.
Zurück zum Zitat J. McNamee FS (1967) Construction of fully symmetric numerical integration formulas of fully symmetric numerical integration formulas. Numerische Mathematik 10:327–344MathSciNetCrossRef J. McNamee FS (1967) Construction of fully symmetric numerical integration formulas of fully symmetric numerical integration formulas. Numerische Mathematik 10:327–344MathSciNetCrossRef
26.
Zurück zum Zitat Kronrod AS (1964) Nodes and weights for quadrature formulas. Nauka pp. 597–598 Kronrod AS (1964) Nodes and weights for quadrature formulas. Nauka pp. 597–598
27.
28.
Zurück zum Zitat Lytvyn O, Nechuiviter O (2014) Approximate calculation of triple integrals of rapidly oscillating functions with the use of lagrange polynomial interflation. Cyber Syst Anal 50(3):410–418MathSciNetCrossRef Lytvyn O, Nechuiviter O (2014) Approximate calculation of triple integrals of rapidly oscillating functions with the use of lagrange polynomial interflation. Cyber Syst Anal 50(3):410–418MathSciNetCrossRef
29.
Zurück zum Zitat Mattson TG, Sanders B, Massingill B (2004) Patterns for parallel programming. Pearson Education, New YorkMATH Mattson TG, Sanders B, Massingill B (2004) Patterns for parallel programming. Pearson Education, New YorkMATH
30.
Zurück zum Zitat Nechuiviter O, Iarmosh O, Kovalchuk K (2021) Numerical calculation of multidimensional integrals depended on input information about the function in mathematical modelling of technical and economic processes. In: IOP Conference Series: Materials Science and Engineering, vol. 1031, p. 012059. IOP Publishing Nechuiviter O, Iarmosh O, Kovalchuk K (2021) Numerical calculation of multidimensional integrals depended on input information about the function in mathematical modelling of technical and economic processes. In: IOP Conference Series: Materials Science and Engineering, vol. 1031, p. 012059. IOP Publishing
31.
Zurück zum Zitat Notaris SE (2016) Gauss-kronrod quadrature formulae a survey if fifty years of research. Electron Trans Num Anal 45(1):371–404MATH Notaris SE (2016) Gauss-kronrod quadrature formulae a survey if fifty years of research. Electron Trans Num Anal 45(1):371–404MATH
32.
Zurück zum Zitat Notaris SE (2016) Gauss-kronrod quadrature formulae a survey of fifty years of research. Electron Trans Num Anal 45:371–4004MathSciNetMATH Notaris SE (2016) Gauss-kronrod quadrature formulae a survey of fifty years of research. Electron Trans Num Anal 45:371–4004MathSciNetMATH
33.
Zurück zum Zitat Papageorgiou A, Traub JF (1997) Faster evaluation of multidimensional integrals. Comput Phys 11(6):574–579CrossRef Papageorgiou A, Traub JF (1997) Faster evaluation of multidimensional integrals. Comput Phys 11(6):574–579CrossRef
34.
35.
Zurück zum Zitat Piessens R, Branders M (1974) A note on the optimal addition of abscissas to quadrature formulas of gauss and lobatto type. Math Comput 28:344–347MathSciNetCrossRef Piessens R, Branders M (1974) A note on the optimal addition of abscissas to quadrature formulas of gauss and lobatto type. Math Comput 28:344–347MathSciNetCrossRef
37.
Zurück zum Zitat Putteneers K, Brosens F (2012) Monte Carlo implementation of density-functional theory. Physical Review B 86(8)CrossRef Putteneers K, Brosens F (2012) Monte Carlo implementation of density-functional theory. Physical Review B 86(8)CrossRef
38.
Zurück zum Zitat S. Ninomiya ST (1996) Toward real-time pricing of complex financial derivatives. Appl Math Fin 3(1):1–20CrossRef S. Ninomiya ST (1996) Toward real-time pricing of complex financial derivatives. Appl Math Fin 3(1):1–20CrossRef
39.
Zurück zum Zitat Sasaki T (1978) Multidimensional Monte Carlo integration based on factorized approximation functions. SIAM J Num Anal 15(5):938–952MathSciNetCrossRef Sasaki T (1978) Multidimensional Monte Carlo integration based on factorized approximation functions. SIAM J Num Anal 15(5):938–952MathSciNetCrossRef
40.
Zurück zum Zitat Sellier JM, Dimov I (2014) The many-body Wigner Monte Carlo method for time-dependent ab-initio quantum simulations. J Comput Phys 273:589–597MathSciNetCrossRef Sellier JM, Dimov I (2014) The many-body Wigner Monte Carlo method for time-dependent ab-initio quantum simulations. J Comput Phys 273:589–597MathSciNetCrossRef
41.
Zurück zum Zitat Sergienko I, Lytvyn O (2018) New information operators in mathematical modeling (a review). Cyber Syst Anal 54(1):21–30CrossRef Sergienko I, Lytvyn O (2018) New information operators in mathematical modeling (a review). Cyber Syst Anal 54(1):21–30CrossRef
42.
Zurück zum Zitat Huzinaga S (1965) Gaussian type functions for polyatomic systems I. J chem Phys 42(4):1293–1302CrossRef Huzinaga S (1965) Gaussian type functions for polyatomic systems I. J chem Phys 42(4):1293–1302CrossRef
43.
Zurück zum Zitat Smolyak SA (1963) Quadrature and interpolation formulas for tensor products of certain classes of functions. Soviet Math Doklady 4:240–243MATH Smolyak SA (1963) Quadrature and interpolation formulas for tensor products of certain classes of functions. Soviet Math Doklady 4:240–243MATH
44.
Zurück zum Zitat Szegö G (1935) Über gewisse orthogonale polynome, die zu einer oszillierenden belegungsfunktion gehören. Mathematische Annalen 110(1):501–513MathSciNetCrossRef Szegö G (1935) Über gewisse orthogonale polynome, die zu einer oszillierenden belegungsfunktion gehören. Mathematische Annalen 110(1):501–513MathSciNetCrossRef
45.
Zurück zum Zitat Todorov V, Apostolov S, Dimov I, Fidanova S, Poryazov S, Dimitrov Y (2020) An optimal monte carlo algorithm for a class of multidimensional integrals. In: Communication Papers of The Federal Conference on Computer Science and Information System, vol 23, pp. 17–20. ACSIS Todorov V, Apostolov S, Dimov I, Fidanova S, Poryazov S, Dimitrov Y (2020) An optimal monte carlo algorithm for a class of multidimensional integrals. In: Communication Papers of The Federal Conference on Computer Science and Information System, vol 23, pp. 17–20. ACSIS
46.
Zurück zum Zitat Todorov V, Dimov I (2019) Efficient stochastic approaches for multidimensional integrals in bayesian statistics. In: International Conference on Large-scale Scientific Computing, pp. 454–462. Springer Todorov V, Dimov I (2019) Efficient stochastic approaches for multidimensional integrals in bayesian statistics. In: International Conference on Large-scale Scientific Computing, pp. 454–462. Springer
47.
Zurück zum Zitat Todorov V, Dimov I, Ostromsky T, Zlatev Z (2019) Advanced quasi-monte carlo algorithms for multidimensional integrals in air pollution modelling. In: International Conference on Variability of the Sun and Sun-Like Stars: From Asteroseismology to Space Weather, pp. 155–167. Springer Todorov V, Dimov I, Ostromsky T, Zlatev Z (2019) Advanced quasi-monte carlo algorithms for multidimensional integrals in air pollution modelling. In: International Conference on Variability of the Sun and Sun-Like Stars: From Asteroseismology to Space Weather, pp. 155–167. Springer
Metadaten
Titel
Multidimensional adaptative and deterministic integration in CUDA and OpenMP
verfasst von
R. Quintero-Monsebaiz
A. Meneses-Viveros
F. Carranza
C. G. Cortés
A. González-Zamudio
A. Vela
Publikationsdatum
01.04.2021
Verlag
Springer US
Erschienen in
The Journal of Supercomputing / Ausgabe 10/2021
Print ISSN: 0920-8542
Elektronische ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-021-03752-1

Weitere Artikel der Ausgabe 10/2021

The Journal of Supercomputing 10/2021 Zur Ausgabe