{"id":2824,"date":"2023-05-24T09:38:01","date_gmt":"2023-05-24T09:38:01","guid":{"rendered":"https:\/\/www.risc2-project.eu\/?p=2824"},"modified":"2023-05-24T09:39:13","modified_gmt":"2023-05-24T09:39:13","slug":"subsequent-progress-and-challenges-concerning-the-mexico-ue-project-enerxico-supercomputing-and-energy-for-mexico","status":"publish","type":"post","link":"https:\/\/risc2-project.eu\/?p=2824","title":{"rendered":"Subsequent Progress And Challenges Concerning The M\u00e9xico-UE Project ENERXICO: Supercomputing And Energy For M\u00e9xico"},"content":{"rendered":"<p><span data-contrast=\"auto\">In this short notice, we briefly describe some afterward advances and challenges with respect to two work packages developed in the ENERXICO Project. This opened the possibility of collaborating with colleagues from institutions that did not participate in the project, for example from the University of Santander in Colombia and from the University of Vigo in Spain. This exemplifies the importance of the RISC2 project in the sense that strengthening collaboration and finding joint research areas and HPC applied ventures is of great benefit for both: our Latin American Countries and the EU. We are now initiating talks to target several Energy related topics with some of the RISC2 partners.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The ENERXICO Project focused on developing advanced simulation software solutions for oil &amp; gas, wind energy and transportation powertrain industries.\u00a0 The institutions that collaborated in the project are for M\u00e9xico: ININ (Institution responsible for M\u00e9xico), Centro de Investigaci\u00f3n y de Estudios Avanzados del IPN (Cinvestav), Universidad Nacional Aut\u00f3noma de M\u00e9xico (UNAM IINGEN, FCUNAM), Universidad Aut\u00f3noma Metropolitana-Azcapotzalco, Instituto Mexicano del Petr\u00f3leo, Instituto Polit\u00e9cnico Nacional (IPN) and Pemex, and for the European Union: Centro de Superc\u00f3mputo de Barcelona (Institution responsible for the EU), Technische Universit\u00e4ts M\u00fcnchen, Alemania (TUM), Universidad de Grenoble Alpes, Francia (UGA), CIEMAT, Espa\u00f1a, Repsol, Iberdrola, Bull, Francia e Universidad Polit\u00e9cnica de Valencia, Espa\u00f1a.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The Project contemplated four working packages (WP):<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">WP1 Exascale Enabling:<\/span><\/b><span data-contrast=\"auto\"> This was a cross-cutting work package that focused on assessing performance bottlenecks and improving the efficiency of the HPC codes proposed in vertical WP (UE Coordinator: BULL, MEX Coordinator: CINVESTAV-COMPUTACI\u00d3N);<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">WP2 Renewable energies:<\/span><\/b><span data-contrast=\"auto\">\u00a0 This WP deployed new applications required to design, optimize and forecast the production of wind farms (UE Coordinator: IBR, MEX Coordinator: ININ);<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">WP3 Oil and gas energies:<\/span><\/b><span data-contrast=\"auto\"> This WP addressed the impact of HPC on the entire oil industry chain (UE Coordinator: REPSOL, MEX Coordinator: ININ);<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">WP4 Biofuels for transport:<\/span><\/b><span data-contrast=\"auto\"> This WP displayed advanced numerical simulations of biofuels under conditions similar to those of an engine (UE Coordinator: UPV-CMT, MEX Coordinator: UNAM);<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For WP1 the following codes were optimized for exascale computers: Alya, Bsit, DualSPHysics, ExaHyPE, Seossol, SEM46 and WRF.\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">As an example, we present some of the results for the DualPHYysics code. We evaluated two architectures: The first set of hardware used were identical nodes, each equipped with 2 \u201dIntel Xeon Gold 6248 Processors\u201d, clocking at 2<\/span><i><span data-contrast=\"auto\">.<\/span><\/i><span data-contrast=\"auto\">5 GHz with about 192 GB of system memory. Each node contained 4 Nvidia V100 Tesla GPUs with 32 GB of main memory each. The second set of hardware used were identical nodes, each equipped with 2 \u201dAMD Milan 7763 Processors\u201d, clocking at 2<\/span><i><span data-contrast=\"auto\">.<\/span><\/i><span data-contrast=\"auto\">45 GHz with about 512 GB of system memory. Each node contained 4 Nvidia V100 Ampere GPUs with 40 GB<\/span> <span data-contrast=\"auto\">of main memory each. The code was compiled and linked with CUDA 10<\/span><i><span data-contrast=\"auto\">.<\/span><\/i><span data-contrast=\"auto\">2 and OpenMPI 4. The application was executed using one GPU per MPI rank.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In Figures 1 and 2 we show the scalability of the code for the strong and weak scaling tests that indicate that the scaling is very good. Motivated by these excellent results, we are in the process of performing in the LUMI supercomputer new SPH simulations with up to 26,834 million particles that will be run with up to 500 GPUs, which is 53.7 million particles per GPU. These simulations will be done initially for a Wave Energy Converter (WEC) Farm (see Figure 3), and later for turbulent models.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-2825 size-full\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/Picture-1.png\" alt=\"\" width=\"448\" height=\"122\" srcset=\"https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/Picture-1.png 448w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/Picture-1-300x82.png 300w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/Picture-1-350x95.png 350w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/> <img loading=\"lazy\" class=\"alignnone size-full wp-image-2826\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost2.png\" alt=\"\" width=\"258\" height=\"216\" \/><\/p>\n<p style=\"text-align: center;\">Figure 1. Strong scaling test with a fix number of particles but increasing number of GPUs.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-2827 size-full aligncenter\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost3.png\" alt=\"\" width=\"508\" height=\"240\" srcset=\"https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost3.png 508w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost3-300x142.png 300w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost3-350x165.png 350w\" sizes=\"(max-width: 508px) 100vw, 508px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2828 aligncenter\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost5.png\" alt=\"\" width=\"240\" height=\"220\" \/><\/p>\n<p style=\"text-align: center;\">Figure 2. Weak scaling test with increasing number of particles and GPUs.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-2829 aligncenter\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-300x155.png\" alt=\"\" width=\"529\" height=\"273\" srcset=\"https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-300x155.png 300w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-1024x529.png 1024w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-768x397.png 768w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-350x181.png 350w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-540x279.png 540w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-920x475.png 920w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost-730x377.png 730w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost.png 1320w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/p>\n<p style=\"text-align: center;\">Figure 3. Wave Energy Converter (WEC) Farm (taken from https:\/\/corpowerocean.com\/)<\/p>\n<p>&nbsp;<\/p>\n<p><span data-contrast=\"none\">As part of WP3, ENERXICO developed a first version of a computer code called Black Hole (or BH code) for the numerical simulation of oil reservoirs, based on the numerical technique known as Smoothed Particle Hydrodynamics or SPH. This new code is an extension of the DualSPHysics code (https:\/\/dual.sphysics.org\/) and is the first SPH based code that has been developed for the numerical simulation of oil reservoirs and has important benefits versus commercial codes based on other numerical techniques.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:0,&quot;335559740&quot;:240,&quot;469777462&quot;:[916,1832,2748,3664,4580,5496,6412,7328,8244,9160,10076,10992,11908,12824,13740,14656],&quot;469777927&quot;:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],&quot;469777928&quot;:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The BH code is a large-scale massively parallel reservoir simulator capable of performing simulations with billions of \u201cparticles\u201d or fluid elements that represent the system under study. It contains improved multi-physics modules that automatically combine the effects of interrelated physical and chemical phenomena to accurately simulate in-situ recovery processes. This has led to the development of a graphical user interface, considered as a multiple-platform application for code execution and visualization, and for carrying out simulations with data provided by industrial partners and performing comparisons with available commercial packages.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:0,&quot;335559740&quot;:240,&quot;469777462&quot;:[916,1832,2748,3664,4580,5496,6412,7328,8244,9160,10076,10992,11908,12824,13740,14656],&quot;469777927&quot;:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],&quot;469777928&quot;:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Furthermore, a considerable effort is presently being made to simplify the process of setting up the input for reservoir simulations from exploration data by means of a workflow fully integrated in our industrial partners\u2019 software environment.\u00a0 A crucial part of the numerical simulations is the equation of state.\u00a0 We have developed an equation of state based on crude oil data (the so-called PVT) in two forms, the first as a subroutine that is integrated into the code, and the second as an interpolation subroutine of properties&#8217; tables that are generated from the equation of state subroutine.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:0,&quot;335559740&quot;:240,&quot;469777462&quot;:[916,1832,2748,3664,4580,5496,6412,7328,8244,9160,10076,10992,11908,12824,13740,14656],&quot;469777927&quot;:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],&quot;469777928&quot;:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">An oil reservoir is composed of a porous medium with a multiphase fluid made of oil, gas, rock and other solids. The aim of the code is to simulate fluid flow in a porous medium, as well as the behaviour of the system at different pressures and temperatures.\u00a0 The tool should allow the reduction of uncertainties in the predictions that are carried out. For example, it may answer questions about the benefits of injecting a solvent, which could be CO2, nitrogen, combustion gases, methane, etc. into a reservoir, and the times of eruption of the gases in the production wells. With these estimates, it can take the necessary measures to mitigate their presence, calculate the expense, the pressure to be injected, the injection volumes and most importantly, where and for how long. The same happens with more complex processes such as those where fluids, air or steam are injected, which interact with the rock, oil, water and gas present in the reservoir. The simulator should be capable of monitoring and preparing measurement plans.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:0,&quot;335559740&quot;:240,&quot;469777462&quot;:[916,1832,2748,3664,4580,5496,6412,7328,8244,9160,10076,10992,11908,12824,13740,14656],&quot;469777927&quot;:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],&quot;469777928&quot;:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In order to be able to perform a simulation of a reservoir oil field, an initial model needs to be created.\u00a0 Using geophysical forward and inverse numerical techniques, the ENERXICO project evaluated novel, high-performance simulation packages for challenging seismic exploration cases that are characterized by extreme geometric complexity. Now, we are undergoing an exploration of high-order methods based upon fully unstructured tetrahedral meshes and also tree-structured Cartesian meshes with adaptive mesh refinement (AMR) for better spatial resolution. Using this methodology, our packages (and some commercial packages) together with seismic and geophysical data of naturally fractured reservoir oil fields, are able to create the geometry (see Figure 4), and exhibit basic properties of the oil reservoir field we want to study.\u00a0 A number of numerical simulations are performed and from these oil fields exploitation scenarios are generated.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-2830 aligncenter\" src=\"https:\/\/www.risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost6.png\" alt=\"\" width=\"427\" height=\"176\" srcset=\"https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost6.png 320w, https:\/\/risc2-project.eu\/wp-content\/uploads\/2023\/05\/BlogPost6-300x124.png 300w\" sizes=\"(max-width: 427px) 100vw, 427px\" \/><\/p>\n<p style=\"text-align: center;\">Figure 4. A detail of the initial model for a SPH simulation of a porous medium.<\/p>\n<p>&nbsp;<\/p>\n<p><span class=\"TextRun SCXW154819693 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW154819693 BCX9\">More information about the ENERXICO Project can be found in: <\/span><span class=\"NormalTextRun SCXW154819693 BCX9\">https:\/\/enerxico-project.eu\/<\/span><\/span><\/p>\n<p>By:\u00a0Jaime Klapp (ININ, M\u00e9xico) and Isidoro Gitler (Cinvestav, M\u00e9xico)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this short notice, we briefly describe some afterward advances and challenges with respect to two work packages developed in the ENERXICO Project. This opened the possibility of collaborating with colleagues from institutions that did not participate in the project, for example from the University of Santander in Colombia and from the University of Vigo [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2829,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,190],"tags":[210,87,67,209],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/posts\/2824"}],"collection":[{"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2824"}],"version-history":[{"count":2,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/posts\/2824\/revisions"}],"predecessor-version":[{"id":2832,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/posts\/2824\/revisions\/2832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=\/wp\/v2\/media\/2829"}],"wp:attachment":[{"href":"https:\/\/risc2-project.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/risc2-project.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}