Accelerating numerical solution of stochastic differential equations with CUDA
Saved in:
| Title: | Accelerating numerical solution of stochastic differential equations with CUDA |
|---|---|
| Authors: | Januszewski, M.1, Kostur, M. marcin.kostur@us.edu.pl |
| Source: | Computer Physics Communications. Jan2010, Vol. 181 Issue 1, p183-188. 6p. |
| Subjects: | Numerical solutions to stochastic differential equations, Numerical integration, Numerical calculations, Parallel algorithms, Computer programming, Josephson junctions, Simulation methods & models |
| Abstract: | Abstract: Numerical integration of stochastic differential equations is commonly used in many branches of science. In this paper we present how to accelerate this kind of numerical calculations with popular NVIDIA Graphics Processing Units using the CUDA programming environment. We address general aspects of numerical programming on stream processors and illustrate them by two examples: the noisy phase dynamics in a Josephson junction and the noisy Kuramoto model. In presented cases the measured speedup can be as high as 675× compared to a typical CPU, which corresponds to several billion integration steps per second. This means that calculations which took weeks can now be completed in less than one hour. This brings stochastic simulation to a completely new level, opening for research a whole new range of problems which can now be solved interactively. Program summary: Program title: SDE Catalogue identifier: AEFG_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEFG_v1_0.html Program obtainable from: CPC Program Library, Queen''s University, Belfast, N. Ireland Licensing provisions: Gnu GPL v3 No. of lines in distributed program, including test data, etc.: 978 No. of bytes in distributed program, including test data, etc.: 5905 Distribution format: tar.gz Programming language: CUDA C Computer: any system with a CUDA-compatible GPU Operating system: Linux RAM: 64 MB of GPU memory Classification: 4.3 External routines: The program requires the NVIDIA CUDA Toolkit Version 2.0 or newer and the GNU Scientific Library v1.0 or newer. Optionally gnuplot is recommended for quick visualization of the results. Nature of problem: Direct numerical integration of stochastic differential equations is a computationally intensive problem, due to the necessity of calculating multiple independent realizations of the system. We exploit the inherent parallelism of this problem and perform the calculations on GPUs using the CUDA programming environment. The GPU''s ability to execute hundreds of threads simultaneously makes it possible to speed up the computation by over two orders of magnitude, compared to a typical modern CPU. Solution method: The stochastic Runge–Kutta method of the second order is applied to integrate the equation of motion. Ensemble-averaged quantities of interest are obtained through averaging over multiple independent realizations of the system. Unusual features: The numerical solution of the stochastic differential equations in question is performed on a GPU using the CUDA environment. Running time: < 1 minute [Copyright &y& Elsevier] |
| Copyright of Computer Physics Communications is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
| FullText | Text: Availability: 0 |
|---|---|
| Header | DbId: egs DbLabel: Engineering Source An: 45419729 AccessLevel: 6 PubType: Periodical PubTypeId: serialPeriodical PreciseRelevancyScore: 0 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Accelerating numerical solution of stochastic differential equations with CUDA – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Januszewski%2C+M%2E%22">Januszewski, M.</searchLink><relatesTo>1</relatesTo><br /><searchLink fieldCode="AR" term="%22Kostur%2C+M%2E%22">Kostur, M.</searchLink><i> marcin.kostur@us.edu.pl</i> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22Computer+Physics+Communications%22">Computer Physics Communications</searchLink>. Jan2010, Vol. 181 Issue 1, p183-188. 6p. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Numerical+solutions+to+stochastic+differential+equations%22">Numerical solutions to stochastic differential equations</searchLink><br /><searchLink fieldCode="DE" term="%22Numerical+integration%22">Numerical integration</searchLink><br /><searchLink fieldCode="DE" term="%22Numerical+calculations%22">Numerical calculations</searchLink><br /><searchLink fieldCode="DE" term="%22Parallel+algorithms%22">Parallel algorithms</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+programming%22">Computer programming</searchLink><br /><searchLink fieldCode="DE" term="%22Josephson+junctions%22">Josephson junctions</searchLink><br /><searchLink fieldCode="DE" term="%22Simulation+methods+%26+models%22">Simulation methods & models</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: Abstract: Numerical integration of stochastic differential equations is commonly used in many branches of science. In this paper we present how to accelerate this kind of numerical calculations with popular NVIDIA Graphics Processing Units using the CUDA programming environment. We address general aspects of numerical programming on stream processors and illustrate them by two examples: the noisy phase dynamics in a Josephson junction and the noisy Kuramoto model. In presented cases the measured speedup can be as high as 675× compared to a typical CPU, which corresponds to several billion integration steps per second. This means that calculations which took weeks can now be completed in less than one hour. This brings stochastic simulation to a completely new level, opening for research a whole new range of problems which can now be solved interactively. Program summary: Program title: SDE Catalogue identifier: AEFG_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEFG_v1_0.html Program obtainable from: CPC Program Library, Queen''s University, Belfast, N. Ireland Licensing provisions: Gnu GPL v3 No. of lines in distributed program, including test data, etc.: 978 No. of bytes in distributed program, including test data, etc.: 5905 Distribution format: tar.gz Programming language: CUDA C Computer: any system with a CUDA-compatible GPU Operating system: Linux RAM: 64 MB of GPU memory Classification: 4.3 External routines: The program requires the NVIDIA CUDA Toolkit Version 2.0 or newer and the GNU Scientific Library v1.0 or newer. Optionally gnuplot is recommended for quick visualization of the results. Nature of problem: Direct numerical integration of stochastic differential equations is a computationally intensive problem, due to the necessity of calculating multiple independent realizations of the system. We exploit the inherent parallelism of this problem and perform the calculations on GPUs using the CUDA programming environment. The GPU''s ability to execute hundreds of threads simultaneously makes it possible to speed up the computation by over two orders of magnitude, compared to a typical modern CPU. Solution method: The stochastic Runge–Kutta method of the second order is applied to integrate the equation of motion. Ensemble-averaged quantities of interest are obtained through averaging over multiple independent realizations of the system. Unusual features: The numerical solution of the stochastic differential equations in question is performed on a GPU using the CUDA environment. Running time: < 1 minute [Copyright &y& Elsevier] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of Computer Physics Communications is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=45419729 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1016/j.cpc.2009.09.009 Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 6 StartPage: 183 Subjects: – SubjectFull: Numerical solutions to stochastic differential equations Type: general – SubjectFull: Numerical integration Type: general – SubjectFull: Numerical calculations Type: general – SubjectFull: Parallel algorithms Type: general – SubjectFull: Computer programming Type: general – SubjectFull: Josephson junctions Type: general – SubjectFull: Simulation methods & models Type: general Titles: – TitleFull: Accelerating numerical solution of stochastic differential equations with CUDA Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Januszewski, M. – PersonEntity: Name: NameFull: Kostur, M. IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Text: Jan2010 Type: published Y: 2010 Identifiers: – Type: issn-print Value: 00104655 Numbering: – Type: volume Value: 181 – Type: issue Value: 1 Titles: – TitleFull: Computer Physics Communications Type: main |
| ResultId | 1 |