OpenMP-accelerated SWAT simulation using Intel C and FORTRAN compilers: Development and benchmark

Abstract We developed a practical method to accelerate execution of Soil and Water Assessment Tool (SWAT) using open (free) computational resources. The SWAT source code (rev 622) was recompiled using a non-commercial Intel FORTRAN compiler in Ubuntu 12.04 LTS Linux platform, and newly named iOMP-SWAT in this study. GNU utilities of make , gprof , and diff were used to develop the iOMP-SWAT package, profile memory usage, and check identicalness of parallel and serial simulations. Among 302 SWAT subroutines, the slowest routines were identified using GNU gprof , and later modified using Open Multiple Processing (OpenMP) library in an 8-core shared memory system. In addition, a C wrapping function was used to rapidly set large arrays to zero by cross compiling with the original SWAT FORTRAN package. A universal speedup ratio of 2.3 was achieved using input data sets of a large number of hydrological response units. As we specifically focus on acceleration of a single SWAT run, the use of iOMP-SWAT for parameter calibrations will significantly improve the performance of SWAT optimization.

[1]  Jeffrey G. Arnold,et al.  Soil and Water Assessment Tool (SWAT) Model: Current Developments and Applications , 2010 .

[2]  Gilbert T. Bernhardt,et al.  A comprehensive surface-groundwater flow model , 1993 .

[3]  Peter M. A. Sloot,et al.  Application of parallel computing to stochastic parameter estimation in environmental models , 2006, Comput. Geosci..

[4]  Yong Tang,et al.  Parallelization strategies for rapid and robust evolutionary multiobjective optimization in water resources applications , 2007 .

[5]  Raghavan Srinivasan,et al.  Efficient multi-objective calibration of a computationally intensive hydrologic model with parallel computing software in Python , 2013, Environ. Model. Softw..

[6]  Theodore K. Apostolopoulos,et al.  Parallel computation for streamflow prediction with distributed hydrologic models , 1997 .

[7]  Kyle R. Douglas-Mankin,et al.  Soil and Water Assessment Tool (SWAT) Hydrologic/Water Quality Model: Extended Capability and Wider Adoption , 2011 .

[8]  Ziliang Zong,et al.  Evaluating the Efficiency of a Multi-core Aware Multi-objective Optimization Tool for Calibrating the SWAT Model , 2012 .

[9]  Jing-Ru C. Cheng,et al.  An integrated media, integrated processes watershed model , 2011 .

[10]  Yu-Shu Wu,et al.  An efficient parallel-computing method for modeling nonisothermal multiphase flow and multicomponent transport in porous and fractured media , 2002 .

[11]  Enrique R. Vivoni,et al.  Real-world hydrologic assessment of a fully-distributed hydrological model in a parallel computing environment , 2011 .

[12]  Onyx Wing-Hong Wai,et al.  An efficient parallel model for coastal transport process simulation , 2000 .

[13]  Hao Wang,et al.  Dynamic parallelization of hydrological model simulations , 2011, Environ. Model. Softw..

[14]  Jeffrey G. Arnold,et al.  Advances in ecohydrological modelling with SWAT—a review , 2008 .

[15]  Jeffrey G. Arnold,et al.  The Soil and Water Assessment Tool: Historical Development, Applications, and Future Research Directions , 2007 .

[16]  Raghavan Srinivasan,et al.  A parallelization framework for calibration of hydrological models , 2012, Environ. Model. Softw..

[17]  Jasper A. Vrugt,et al.  High‐dimensional posterior exploration of hydrologic models using multiple‐try DREAM(ZS) and high‐performance computing , 2012 .

[18]  Ji Chen,et al.  Parallelization of a hydrological model using the message passing interface , 2013, Environ. Model. Softw..

[19]  Chuntian Cheng,et al.  Multiple criteria rainfall–runoff model calibration using a parallel genetic algorithm in a cluster of computers / Calage multi-critères en modélisation pluie–débit par un algorithme génétique parallèle mis en œuvre par une grappe d'ordinateurs , 2005 .

[20]  Joseph H. A. Guillaume,et al.  Using a parallelized MCMC algorithm in R to identify appropriate likelihood functions for SWAT , 2013, Environ. Model. Softw..

[21]  M. Ek,et al.  Hyperresolution global land surface modeling: Meeting a grand challenge for monitoring Earth's terrestrial water , 2011 .