Air Pollution Modelling Using a Graphics Processing Unit with CUDA

F. Molnár Jr. 1, T. Szakály 1, R. Mészáros 1, I. Lagzi 1,2

1Department of Meteorology, Eötvös Loránd University, P.O. Box 32, H-1518 Budapest, Hungary
2Department of Chemical and Biological Engineering, Northwestern University, Evanston, Illinois, USA

Abstract

The Graphics Processing Unit (GPU) is a powerful tool for parallel computing. In the past years the performance and capabilities of GPUs have increased, and the Compute Unified Device Architecture (CUDA) - a parallel computing architecture - has been developed by NVIDIA to utilize this performance in general purpose computations. Here we show for the first time a possible application of GPU for environmental studies serving as a basement for decision making strategies. A stochastic Lagrangian particle model has been developed on CUDA to estimate the transport and the transformation of the radionuclides from a single point source during an accidental release. Our results show that parallel implementation achieves typical acceleration values in the order of 80-120 times compared to CPU using a single-threaded implementation on a 2.33 GHz desktop computer. Only very small differences have been found between the results obtained from GPU and CPU simulations, which are comparable with the effect of stochastic transport phenomena in atmosphere. The relatively high speedup with no additional costs to maintain this parallel architecture could result in a wide usage of GPU for diversified environmental applications in the near future.

Keywords

Video card; Parallel computing; CUDA; Environmental application; Air pollution

Paper

This paper has been accepted by Computational Physics Communications.
DOI: 10.1016/j.cpc.2009.09.008

Downloads

TREX Lagrangian simulator
Copyright (C) 2009 Ferenc Molnar, Jr.; Tamas Szakaly; Robert Meszaros; Istvan Lagzi

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
GNU GPL License

Download source code (lagrange_src.zip)
Download binary executables for Windows (lagrange_bin.zip)
Download both binary executables for Windows and source code (lagrange_all.zip)
All .zip files contain the data subfolder with files needed to run simulations, and all files contain notes and license information.

Contacts

Ferenc Molnár Jr.: mofi@elte.hu
Tamás Szakály: sghctoma@gmail.com
Róbert Mészáros: mrobi@nimbus.elte.hu
István László Lagzi: lagzi@vuk.chem.elte.hu