The open archive for STFC research publications

Full Record Details

Persistent URL http://purl.org/net/epubs/work/65174
Record Status Checked
Record Id 65174
Title Testing, Deploying, and Evolving the Code_Saturne CFD Toolchain for Billion-Cell Calculations
Abstract As with many CFD Navier-Stokes tools, EDF's Code_Saturne software is parallelised using sdomain partitioning and MPI. Over recent years, an increasing portion of the toolchain has been parallelised, from mesh modification operations to postprocessing output generation, and complex configurations with larger unstructured meshes of the size of several billion grid cells are now achievable on a few thousand cores. Mainly developed by EDF, Code_Saturne is distributed under the GPL licence, and has been one of the PRACE benchmark codes for several years. Several collaborations concerning the code are underway, with both PRACE partners and IBM. As an industrial code developed in an industry R&D laboratory, collaboration, with other laboratories having totally different backgrounds, expertise domains, IT organizations, and goals, is quite complex from a technical standpoint. Optimal conditions, such as read/write access to shared version control systems or distant connections with access to highly parallel debuggers are often not available, and running even minor tests on a very large number of processors may quickly exhaust allocated resources, so these tests must be well chosen and prepared. Also, and very importantly, as an industrial code, it is important that the toolchain be relatively easy to use, and not differ significantly from a laptop to a supercomputer. We will try to detail which architectural, algorithmic, and implementation choices have been essential to allowing such heterogeneous collaborations in mixed environments to provide code or essential feedback, testing, and debugging loops to the main developpement team. As examples, after describing essential parallel implementation features of the code, we focus on a few domains: parallel distribution and partitioning: parallel partitioning options have been extended and their use strealimed. We provide a general overview of the current possibilities; progress on parallel modification (especially joining): parallel mesh joining has so far enabled the largest computations run with the code, enabling cases too large to be built by most meshing tools. It leverages many mesh and connectivity management and distribution algorithms. Recent tests provide insight into how scalability may be further improved with localized algorithm changes; implementation of hybrid MPI/OpenMP parallelism and mesh renumbering: OpenMP parallelism has been tested by IBM teams, and recently introduced in the mainline code. We provide an update on the current status of renumbering and threading features, using alternate renumbering schemes, compared to those described in our previous papers; parallel I/O: although Code_Saturne has strived to find a good compromise between recommendations from hardware vendors, filesystem developers, and usability aspects, parallel I/O performance has often been both disappointing and very heterogeneous across file systems. We avoided adding additional intermediate layers so far, so we have added additional options to our I/O strategy, as well as the possibility to use both hints and subcommunicators for MPI-IO. We also provide a few insights on the current roadmap, so as to explain how things are expected to be further improved and streamlined, and where specialists may find it interesting to experiment.
Organisation STFC , SCI-COMP , SCI-COMP-EE
Keywords Engineering , CFD , HPC , petascale , PRACE , Code_Saturne , meshes , unstructured
Funding Information
Related Research Object(s):
Licence Information:
Language English (EN)
Type Details URI(s) Local file(s) Year
Paper In Conference Proceedings In Third International Conference on Parallel, Distributed, Grid and Cloud Computing for Engineering, Pécs, Hungary, 25-27 Mar 2013, (2013). doi:10.4203/ccp.101.12 2013