• Nenhum resultado encontrado

Deliverable 4 1v3

N/A
N/A
Protected

Academic year: 2021

Share "Deliverable 4 1v3"

Copied!
5
0
0

Texto

(1)

This Project has received funding from the European Union´s Horizon 2020, research and innovation programme under the Marie Sklodowska-Curie grant agreement Nº 644202

1 Deliverable 4.1

Title: HPC Co-design of the best candidate application Authors: Octavio Castillo (BSC) and Josep de la Puente (BSC) Associated Work Package (WP).

WP 4: Large Parallel Simulations of Geophysical Measurements Objectives.

To design a code that fulfills the following desirable features in the framework of the GEAGAM Project:

1) Solve EM geophysical problems, to be applicable (transferable) to the geophysical community

2) Use unstructured 3D meshes, to model complex geometries

3) HPC capable (i.e. performing and parallel), to reach solutions in a reasonable time.

4) Readable, structured and well-documented code, to ensure its usability.

The code will be defined in terms of 1) Algorithm type

2) Programming language and parallel paradigm 3) Target application size

State of the Art, Developed Work, Obtained Results, and Main Innovative Aspects.

Electromagnetic methods (EM) are an established tool in geophysics, with application in many areas such as hydrocarbon and mineral exploration, reservoir monitoring, CO2 storage characterization, geothermal reservoir imaging and many others. In particular, the marine Controlled-Source ElectroMagnetic method (CSEM) has become an important technique for reducing ambiguities in data interpretation for hydrocarbon exploration. In order to be able to predict the EM signature of a given geological structure, modelling tools provide us with synthetic results which we can then compare to real data. In particular, if the geology is structurally complex, one might need to use methods able to cope with such complexity in a natural way by means of, e.g., an unstructured mesh representing its geometry. Among the modelling methods for EM based upon 3D unstructured meshes, the Nédélec Finite Elements (FE), a type of Edge Elements, offer a good trade-off between accuracy and number of degrees of freedom, i.e. size of the problem. On top of that, we choose to support tetrahedral meshes, as these are the easiest to scale-up to very large domains or arbitrary shape.

(2)

This Project has received funding from the European Union´s Horizon 2020, research and innovation programme under the Marie Sklodowska-Curie grant agreement Nº 644202

2

In the multi-core and many-core era, parallelization is a crucial issue. Nédélec FE offer good scalability potential. Its low DOF number after primary/secondary field decomposition make them potentially fast, which is crucial in the future goal of solving inverse problems which might involve over 100,000 realizations [5]. However, we remark that the state of the art shows a relative scarcity of robust edge-based codes to simulate these problems.

We propose a code structure for the Nédelec FE algorithm that emphasizes good parallel scalability, which is crucial in the multi-core era. Furthermore, its modularity should simplify the process of reaching the best possible performance in terms of percentage of the peak amount of floating point operations provided by the architecture.

An outline of the primary groups of modules in our implementation design is given in Figure 1. A more detailed explanation is the following:

• Modular and extensible EFEM kernel – The kernel is extensible in any direction. Therefore, the possibility of adding new features such as new boundary conditions, numerical algorithms, analysis modules, among others.

• Independent of problem formulation, numerical solution, and data storage – The kernel provides the independent abstractions for modeling, numerical methods, data storage and analysis.

• Parallel processing support – Based on a hybrid parallel scheme, domain decomposition and dynamic load balancing.

• Confidence and performance monitoring – Based on an intensive error checking module and an automatic profiling module.

• Efficient solvers & preconditioners – Direct as well as iterative solvers and preconditioners are supported through an interface to third party libraries (PETSc, MUMPs, PARDISO).

• Interface to mesh generators – Not dependent on a specific mesh generator. Because most of the FEM codes were developed for node-based formulations, it is necessary to develop a module to compute edge-based data structures. As a result, different mesh formats are supported.

• Edge FEM library – Edge-based discretisations, vector basis functions, their geometry description, and generalized integration rules provides a generic support for implementing edge-based solution algorithms.

• Linear systems library – Support to Compressed Row Storage (CSR) format for sparse matrices and their easy and efficient parallel assembly.

• CSEM module – Ad-hoc design to meet specific requirements to simulate 3D CSEM surveys, namely, conductivity model, physical parameters, transmitter and receiver lists.

(3)

This Project has received funding from the European Union´s Horizon 2020, research and innovation programme under the Marie Sklodowska-Curie grant agreement Nº 644202

3 functions for data analysis are included.

• Postprocessing – Export to binary files and VTK format is supported, allowing the analysis not just in different visualization tools but also on different platforms. Performance analysis such as hardware counters and timers is supported.

We chose Python [6] as language programming because:

• It is open source, cross-platform and functional on a wide number of platforms, including HPC environments.

• It uses a high level and very expressive language.

• It is based on a sophisticated array manipulation in a Fortran-like manner.

• It uses a good body of bindings to common tools needed in scientific computing: plotting, numerical libraries, debugging and testing.

The code structure (see Figure 1 for its software stack) is modular, simple and flexible, which allows exploiting not just our own modules but also third party libraries. Therefore, the software stack includes interfaces to external suites of data structures and libraries that contain most of the necessary building blocks needed for programming large scale Fig. 1. Upper view of software stack

(4)

This Project has received funding from the European Union´s Horizon 2020, research and innovation programme under the Marie Sklodowska-Curie grant agreement Nº 644202

4

numerical applications, i.e. sparse matrices, vectors, iterative and direct solvers or domain decomposition. As a result, the framework is compact and eliminates the need to write such libraries and thus speeds up development time by orders of magnitude [1, 2, 3, 5].

In order to meet the high computational cost of the modeling, the code will be based on a hybrid parallel approach (MPI-OpenMP) [1, 2, 3, 4]. The final result is a framework that will allow users to specify edge-based variational forms of H(curl) for the simulation of electromagnetic fields in real CSEM surveys with high accuracy, reliability and efficiency. We expect problems to involve up to tens or few hundreds of millions of DOFs for conventional frequencies (up to 5Hz) and ranges (up to 20 Km) involved in CSEM surveys, together with up to few tens of (reciprocal) sources. For such sizes a moderate parallel scalability (around 80% for less than a hundred compute cores) is sufficient at the kernel level. Simple parallelism should take care of easier tasks such as the multiple right hand sides.

The HPC goal of the project involves using cutting-edge architectures. To that goal, the framework will be implemented in current state-of-the-art platforms such as Intel Haswell and Intel Xeon Phi processors, which offer high performance, flexibility and power efficiency. Nevertheless, we wish to support older architectures such as SandyBridge, for the sake of usability and to be able to compare performance.

Impact for Science and Society

The code designed here will be publicly released during the next year. It is designed so that it can be easily understood, expanded and applied by the scientific and industrial communities at large.

Dissemination and Transfer of Knowledge.

Octavio Castillo got the JCC-2015-BSC first prize of the competition “Tu tesis en 3 minutos” (your thesis in 3 minutes), at the 2nd CONACyT/Catalonia Collaboration Days. He did contribute to 5 international meetings and conferences, discussing results directly related to this deliverable.

Main Participants.

The design itself is a direct consequence of all the attendants to the first GEAGAM workshop, where most needs and issues related to EM modeling were broadly discussed. From those hints, Octavio Castillo and Josep de la Puente (BSC) generated the main contents and best approaches after discussions with other BSC personnel (Mauricio Hanzich, Vladimir Puzyrev, Samuel Rodriguez and David Modesto).

(5)

This Project has received funding from the European Union´s Horizon 2020, research and innovation programme under the Marie Sklodowska-Curie grant agreement Nº 644202

5 Intellectual Property Rights (IPR).

Public.

Additional Info / References:

[1] Bangerth, W., Burstedde, C., Heister, T., and Kronbichler, M. (2011). Algorithms and data structures for massively parallel generic adaptive finite element codes. ACM Transactions on Mathematical Software (TOMS), 38(2):14.

[2] Heister, T., Kronbichler, M., and Bangerth, W. (2010). Massively parallel finite element programming. Recent Advances in the Message Passing Interface, pages 122–131.

[3] Key, K. and Ovall, J. (2011). A parallel goal-oriented adaptive finite element method for 2.5-d electromagnetic modelling. Geophysical Journal International, 186(1):137– 154. [4] Logg, A. (2007). Automating the finite element method. Archives of Computational Methods in Engineering, 14(2):93–138.

[5] Osseyran, A. and Giles, M. (2015). Industrial Applications of High-Performance Computing: Best Global Practices. Chapman & Hall/CRC Computational Science. CRC Press, first edition.

Referências

Documentos relacionados

In the following case report, we removed a well-fixed polyethylene titanium-coated RM acetabular cup with 20 years of follow-up, by significant wear of the polyethylene layer..

No que remete para os constrangimentos reportados pelos professores, a pouca carga horária atribuída ao exercício do cargo, o excesso de trabalho burocrático,

na intimidade e satisfação relacional, comparando os sujeitos que apontaram acontecimentos de vida muito positivos com os sujeitos que apontaram acontecimentos de vida

Através de uma pesquisa, verificou-se como diferentes perfis de funcionários, classificados quanto a idade, escolaridade, salário, tempo de serviço, cargo, compromisso com carreira

As temperaturas no interior da sala variam bastante consoante as diferentes orientações do edifício sendo que são significativamente superiores na fachada orientada

Prémio Victor de Sá de História Contemporânea 20 ANOS (1992-2011) Organização Henrique Barreto Nunes José Viriato Capela.9. 7 SUMÁRIO 11

Considerando essas diferentes nuances, este estudo teve como objetivo relatar a experiência docente com a prática compulsória da “aprovação automática”, na disciplina de

Hugo Chávez Aliado de Castro 6.. Tabla 3 – Pr oposiciones ideológicas Castristas Núm Anticastristas Núm. Laura Pollán trabaja para EE.UU. 14 Laura Pollán pudo ser asesinada 2 Hay