Kategórie
General

Devana Supercomputer is now available for users

Devana Supercomputer is now available for users

We are pleased to announce that the Devana supercomputer is now available for your computations and projects. The Computing Centre of the Slovak Academy of Sciences and the National Supercomputing Center have opened the first call for proposals for testing and benchmarking The call is continuously open, the project is possible repeatedly during the year and can be used through the register.nscc.sk  .

devana

A comprehensible website with practical instructions and documentation is also available at userdocs.nscc.sk, where you can find information about logging in, projects, SSH keys, software and development equipment, and running computing tasks. Access to Devana is possible through a terminal with a command line, but also through a web interface with the possibility of interactive calculation.

Currently, it is possible to apply for access for testing and benchmarking within a continuously open call s možnosťou využitia získaných údajov (vhodnosť aplikácie, paralelizácia, škálovanie, potrebná veľkosť dátového úložiska a pod.) na podanie žiadosti v pripravovanej výzve pre štandardné projekty.

Scientists and researchers from Slovak public universities and the Slovak Academy of Sciences, as well as from public and state administration organizations and private enterprises registered in the Slovak Republic, can apply for access for testing and benchmarking. Access is provided exclusively for civil and non-commercial open-science research and development. Interested parties from private companies are advised to contact the National Competence Centre for HPC.

We believe that with our professional support, working with Devana will be a benefit for your research and that the new system will allow the realization of many high-quality projects.

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
Calls-Current

Devana: Call for Projects for Testing and Benchmarking

Devana: Výzva na podávanie projektov pre testovanie a benchmarking

The Computing Center of the SAS and the National Supercomputing Centre are opening the first call for proposals for testing and benchmarking The call is continuously open, the project is possible repeatedly during the year and can be used through the register.nscc.sk  user portal. The testing and benchmarking approach serves primarily to obtain data on application performance parameters, parallelization, utilization, and scaling of data storage size requirements for subsequent standard access requests. However, it can be used for less time- and computationally intensive projects.

devana
Superpočítač Devana

Access is free of charge, provided that all requirements defined in the Terms of reference  The application must clearly define the need for use and testing in an HPC environment. Submitted projects are evaluated by the internal team of VS SAV and NSCC.

Call opening date: 19.7.2023

Call closing date: The call is open continuously

Termín pre notifikácie o schválení projektu: Within 2 weeks of project submission.

Eligible Researchers Scientists and researchers from Slovak public universities and the Slovak Academy of Sciences, as well as from public and state administration organizations and private enterprises registered in the Slovak Republic, can apply for access for testing and benchmarking. Access is provided exclusively for civil and non-commercial open-science research and development. Interested parties from private companies are advised to contact the National Competence Centre for HPC.

Allocation period: 4 months

Allocation available per project: 50,000 CPU core-hours and 12,500 GPU core-hours

Available systems: Devana supercomputer  

Kategórie
Success-Stories

Measurement of microcapsule structural parameters using artificial intelligence (AI) and machine learning (ML)

Measurement of microcapsule structural parameters using artificial intelligence (AI) and machine learning (ML)

The main aim of collaboration between the National Competence Centre for HPC (NCC HPC) and the Institute of Polymers of SAV (IP SAV) was design and implementation of a pilot software solution for automatic processing of polymer microcapsules images using artificial intelligence (AI) and machine learning (ML) approach. The microcapsules consist of semi-permeable polymeric membrane which was developed at the IP SAV.

illustrative image

Automatic image processing has several benefits for IP SAV. It will save time since manual measurement of microcapsule structural parameters is time-consuming due to a huge number of images produced during the process. In addition, the automatic image processing will minimize the errors which are inevitably connected with manual measurements. The images from optical microscope obtained with 4.0 zoom usually contain one or more microcapsules, and they represent an input for AI/ML process. On the other hand, the images from optical microscope obtained with 2.5 zoom usually contain (three to seven) microcapsules. Herein, a detection of the particular microcapsule is essential.

The images from optical microscope are processed in two steps. The first one is a localization and detection of the microcapsule, the second one consists of a series of operations leading to obtaining structural parameters of the microcapsules.

Microcapsule detection

YOLOv5 model with pre-trained weights from COCO128 dataset was employed for microcapsule detection. Training set consisted of 96 images, which were manually annotated using graphical image annotation tool LabelImg [3]. Training unit consisted of 300 epochs, images were subdivided into 6 batches per 16 images and the image size was set to 640 pixels. Computational time of one training unit on the NVIDIA GeForce GTX 1650 GPU was approximately 3.5 hours.

The detection using the trained YOLOv5 model is presented in Figure 1. The reliability of the trained model, verified on 12 images, was 96%, with the throughput on the same graphics card being approximately 40 frames per second.

Figure 1: (a) microcapsule image from optical microscope (b) detected microcapsule (c) cropped detected microcapsule for 4.0 zoom, (d) microcapsule image from optical microscope (e) detected microcapsule (f) cropped detected microcapsule for 2.5 zoom.

Measurement of microcapsule structural parameters using AI/ML

The binary masks of inner and outer membrane of the microcapsules are created individually, as an output from the deep-learning neural network of the U-Net architecture [4]. This neural network was developed for image processing in biomedicine applications. The first training set for the U-Net neural network consisted of 140 images obtained from 4.0 zoom with the corresponding masks and the second set consisted of 140 images obtained from 2.5 zoom with the corresponding masks. The training unit consisted of 200 epochs, images were subdivided into 7 batches per 20 images and the image size was set to 1280 pixels (4.0 zoom) or 640 pixels (2.5 zoom). The 10% of the images were used for validation. Reliability of the trained model, verified on 20 images, exceeded 96%. Training process lasted less than 2 hours on the HPC system with IBM Power 7 type nodes, and it had to be repeated several times. Obtained binary masks were subsequently post-processed using fill-holes [5] and watershed [6] operations, to get rid of the unwanted residues. Subsequently, the binary masks were fitted with an ellipse using scikit-image measure library [7]. First and second principal axis of the fitted ellipse are used for the calculation of the microcapsule structural parameters. An example of inner and outer binary masks, and the fitted ellipses is shown in Figure 2.

Figure 2: (a) input image from optical microscope (b) inner binary mask (c) outer binary mask (d) output image with fitted ellipses.

Structural parameters obtained by our AI/ML approach (denoted as “U-Net“) were compared to the ones obtained by manual measurements performed at the IP SAV. A different model (denoted as “Retinex”) was used as another independent source of reference data. The Retinex approach was implemented by RNDR. Andrej Lúčny, PhD. from the Department of Applied Informatics of the Faculty of Mathematics, Physics and Informatics in Bratislava. This approach is not based on the AI/ML, the ellipse fitting is performed by the aggregation of line elements with low curvature using so-called retinex filler [8]. The Retinex approach is a good reference due to its relatively high precision, but it is not fully automatic, especially for the inner membrane of the microcapsule.

Figure 3 summarizes a comparison between the three approaches (U-Net, Retinex, UP SAV) to obtain the 4.0 zoom microcapsule structural parameters.

(a)
(b)
(c)

Figure 3: (a) microcapsule diameter for different batches (b) difference between the diameters of the fitted ellipse (first principal axis) and microcapsule (c) difference between the diameters of the fitted ellipse (second principal axis) and microcapsule. Red lines in (b) and (c) represents the threshold given by IP SAV. The images were obtained using 4.0 zoom.

All obtained results, except 4 images of batch 194 (ca 1.5%), are within the threshold defined by the IP SAV. As can be seen from Figure 3(a), the microcapsule diameters calculated using U-net and Retinex are in a good agreement to each other. The U-Net model performance can be significantly improved in future, either by the training set expansion or by additional post-processing. The agreement between the manual measurement and the U-Net/Retinex may be further improved by unifying the method of obtaining microcapsule structural parameters from binary masks.

The AI/ML model will be available as a cloud solution on the HPC systems of CSČ SAV. Additional investment into the HPC infrastructure of IP SAV will not be necessary. Production phase, which goes beyond the scope of the pilot solution, accounts for an integration of this approach into the desktop application.

References::

[1] https://github.com/ultralytics/yolov5

[2] https://www.kaggle.com/ultralytics/coco128

[3] https://github.com/heartexlabs/labelImg

[4] https://lmb.informatik.uni-freiburg.de/people/ronneber/u-net/

[5] https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.binary_fill_holes.html

[6] https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_watershed.html

[7] https://scikit-image.org/docs/stable/api/skimage.measure.html

[8] D.J. Jobson, Z. Rahman, G.A. Woodell, IEEE Transactions on Image Processing 6 (7) 965-976, 1997.


Intent Classification for Bank Chatbots through LLM Fine-Tuning 12 Sep - Tento článok hodnotí použitie veľkých jazykových modelov na klasifikáciu intentov v chatbote s preddefinovanými odpoveďami, určenom pre webové stránky bankového sektora. Zameriavame sa na efektivitu modelu SlovakBERT a porovnávame ho s použitím multilingválnych generatívnych modelov, ako sú Llama 8b instruct a Gemma 7b instruct, v ich predtrénovaných aj fine-tunovaných verziách. Výsledky naznačujú, že SlovakBERT dosahuje lepšie výsledky než ostatné modely, a to v presnosti klasifikácie ako aj v miere falošne pozitívnych predikcií.
Leveraging LLMs for Efficient Religious Text Analysis 5 Aug - The analysis and research of texts with religious themes have historically been the domain of philosophers, theologians, and other social sciences specialists. With the advent of artificial intelligence, such as the large language models (LLMs), this task takes on new dimensions. These technologies can be leveraged to reveal various insights and nuances contained in religious texts — interpreting their symbolism and uncovering their meanings. This acceleration of the analytical process allows researchers to focus on specific aspects of texts relevant to their studies.
Mapping Tree Positions and Heights Using PointCloud Data Obtained Using LiDAR Technology 25 Jul - Cieľom spolupráce medzi Národným superpočítačovým centrom (NSCC) a firmou SKYMOVE, v rámci projektu Národného kompetenčného centra pre HPC, bol návrh a implementácia pilotného softvérového riešenia pre spracovanie dát získaných technológiou LiDAR (Light Detection and Ranging) umiestnených na dronoch.
Kategórie
General

NCC for HPC at CHEMSHOW

NCC for HPC at CHEMSHOW

On June 27, 2023 an event "CHEMSHOW" took place in the premises of the Faculty of Chemical and Food Technology (FCHPT) of the Slovak Technical University (STU). During the event, they also had the opportunity to learn more about the National Competence Centre for HPC and its activities. Experts presented services NCC for HPC. Through an interactive demonstration of simulations of potential drugs against the Covid-19 disease, we brought the participants closer to what calculations supercomputers can be used for. Participants could watch the simulations on a screen and through 3D glasses. 

At the chemshow, we presented the results of calculations of the interaction of potential drugs with the active part of the spike-protein unit, which forms tetramers present on the surface of the SARS-CoV2 virus, which causes the disease COVID19. Calculations were carried out using molecular mechanics methods using the GROMACS software. Six potential drugs were tested in the study. In this presentation, we mainly showed the trajectory of one of them. High school students had the opportunity to view the results on a projection with 3D glasses, where they could interactively change their view and protein display settings.

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
General

Workshop: FF4EUROHPC OC2 SUCCESS STORIES PREMIERE

Workshop: FF4EuroHPC OC2 success stories premiere

We would like to invite you to the webinar to present the outputs and results through business benefits organisations gained while implementing HPC, AI and other advanced technologies for business in various industrial sectors.

When: 23th of June 2023 from 9:00 to 13:15 CET

Where online

You can find a detailed program and more information HERE.

Register now!

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
General

Course Practical introduction to natural language processing

Course Practical introduction to natural language processing

Radi by sme vám dali do pozornosti najnovší kurz organizovaný Národným kompetenčným centrom pre HPC: “Praktický úvod do spracovania prirodzeného jazyka”. Témou bude účastníkov sprevádzať skúsený lektor Marek Šuppa who presented NLP (natural language processing) and its potential for businesses already at the beginning of April during an interesting online lecture - you can watch the recording here.

The course will take place online on June 30 from 9:00 a.m. to 4:00 p.m. The number of places is limited to 15, while everyone will have a unique opportunity to work during the exercises with the accelerated module of the new Slovak supercomputer Devana. We therefore want to invite interested parties to register only in case of serious interest.

During this course, participants will focus on an introduction to natural language processing; text representation, word vectors, text classification and neural networks for natural language processing. Together with the lecturer, they will also discuss HuggingFace Transformers and their practical use. The course includes hands-on exercises. A prerequisite for the course is programming experience in the Python programming language. Experience with PyTorch or Tensorflow frameworks is an advantage.

Register now!

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
General

Central European NCC working group in Maribor

Central European NCC working group in Maribor

On June 12, representatives from national competence centres for HPC situated in the central Europe region met during the first Central European NCC working group.. The event was organized by NCC Slovenia and NCC Austria in Maribor, Slovenia and online.

3 sessions were on the agenda, covering the topics of interaction with industry, training and communication. Participants worked in small groups, discussing specific points and sharing best practices within the topics, such as SME approach strategies, service portfolio and how to deal with the state aid issues, rules of engagement with a private company.

Training event formats were discussed, considering post-pandemic trends; experiences with NCC-CoE collaborations were highlighted and different strategies of attracting SME participants to training courses were shared.

The communication session focused on promotion and communication channels, build-up of an audience for different topics and organization of theme-specific webinar series. In each section, opportunities and invitations for collaboration were discussed, as well.

The event was a great opportunity for getting to know colleagues from neighboring NCCs, informal networking, fostering collaboration and finding new inspiration. Great thanks to the organizers and we are looking forward to the next working group meeting!

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
General

TREX CoE & NCCs collab / Code tuning for the exascale

TREX CoE & NCCs collab / Code tuning for the exascale

TREX centre of excellence together with 3 national competence centres delivered a three-day workshop „Code tuning for the exascale“. NCC Slovakia, Austria and Czech Republic teamed up to bring an interesting programme including advanced parallel programming, energy efficiency analysis and HPC application optimization. The workshop took place in Bratislava, Slovakia during June 5 – 7, 2023 and was organized in a face-to-face format.

This was a nice example of collaboration and support between the NCCs and a CoE. Three complementary topics were covered by the agenda. During the first day the team from Austrian NCC presented advanced parallel programming techniques (MPI, OpenMP), followed by the presentation of a trending topic of energy efficiency in HPC by the Czech NCC on the second day. The third day belonged to the TREX CoE, which presented a tool for HPC applications performance analysis and optimization called MAQAO. Organization, access to HPC and technical HPC support was given by the Slovak NCC.

We hope the workshop fulfilled its‘ purpose to equip the participants with information, tools, skills and competence to help the develop and run efficiently their own software utilizing modern HPC infrastructures.

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
General

Impulz: Call for Applications

Impulz: Call for Applications

Today, June 1, 2023, the Slovak Academy of Sciences opened a call for applications for the IMPULZ 2023 grant program. For the third time, internationally recognized scientists and highly talented young researchers have the opportunity to realize their scientific goals in Slovakia under conditions close to the prestigious European grant. Selected projects can apply for funds of up to 160,000 euros per year. The call is open until midnight on August 31, 2023, the expected start of the project solution is in April 2024.

Program Impulz program aims to improve the quality of SAS scientific organizations through the recruitment of internationally recognized scientists and talented young researchers working abroad or in Slovakia. The task of these excellent researchers will be to create and manage their own research groups that will work on new research directions in accordance with current world trends. The scheme will provide excellent scientists with motivating conditions for their research, and the SAS scientific organizations will improve the quality of the research environment and scientific outputs. The IMPULZ program is intended to help increase research excellence, its internationalization and competitiveness across various scientific fields of the SAS in the European Research Area, and last but not least, success in obtaining prestigious European grants.

  • Open call: June 1, 2023, 9 a.m. CET
  • Deadline for applications: 31 August 2023, 23.59 CET
  • Estimated deadline for application review: February 2024
  • Estimated start of project implementation: April 2024

More information

Call for Business Experiments – Support for SMEs in the Implementation of HPC Solutions 28 Jun - We draw your attention to the second open call under the FFplus project, which focuses on supporting small and medium-sized enterprises (SMEs) in addressing specific business challenges through High Performance Computing (HPC). The aim of the call is to carry out so-called “business experiments” designed to demonstrate that the use of HPC technologies can solve real-world problems and have a positive impact on business.
When Technology Meets Inclusion: A Vision for a Fair Society 25 Jul - In recent days, an inspiring meeting took place between Lucia Maličková, project manager at the National Supercomputing Center and the National Competence Centre for High-Performance Computing (HPC), and Ján Bihari, visionary, founder of Tibi Digital, and thought leader in the field of Roma community digitalization.
Recording of the Webinar: Simulating Societies through AI and Digital Twins 23 Jul - Nestihli ste náš webinár „Digitálne dvojčatá spoločnosti: Simulácie poháňané výpočtami na HPC“? Záznam je už dostupný online. Webinár priniesol inšpiratívne pohľady na to, ako umelá inteligencia, kognitívne modelovanie a multiagentové simulačné technológie pomáhajú vedcom porozumieť a predikovať komplexné spoločenské javy, ako sú šírenie dezinformácií, radikalizácia či spoločenská súdržnosť.
Kategórie
Success-Stories

Use case: Transfer and optimization of CFD calculations workflow in HPC environment

Use case: Transfer and optimization of CFD calculations workflow in HPC environment

Authors: Ján Škoviera (National competence centre for HPC), Sylvain Suzan (Shark Aero)

Shark Aero company designs and manufactures ultralight sport aircrafts with two-seat tandem cockpit. For design development they use popular open-source software package openFOAM [1]. The CFD (Computational Fluid Dynamics) simulations use the Finite Elements Method (FEM). After the model is created, using a Computer-Aided Design (CAD) software, it is divided into discrete cells, so called “mesh”. The simulation accuracy depends strongly on mesh density with the computational and memory requirements rising with the 3rd power of the number of mesh vertices. For some simulations the computational demands can be a limiting factor. Workflow transfer into High-Performance Computing (HPC) environment was thus undertaken, with a special focus on the investigation of computational tasks parallelization efficiency for a given model type.

METHODS

Compute nodes with 2x6 cores Intel Xeon L5640 @ 2,27GHz, 48 GB RAM and 2x500 GB were used for this project. All calculations were done in a standard HPC environment using Slurm job scheduling system. This is an acceptable solution for this type of workloads where no real-time response, nor immediate data processing is required. For the CFD simulations we continued to use OpenFOAM & ParaView version 9 software packages. Singularity container was used for calculation deployment, having in mind potential transfer of the workload to another HPC system. The speed-up gained from just straight away transfer to HPC system was approximately 1.5x compared to a standard laptop.

PARALLLEZIATION

Parallelized task execution can increase the speed of the overall calculation by utilizing more computing units concurrently. In order to parallelize the task one needs to divide the original mesh into domains - parts that will be processed concurrently. The domains, however, need to communicate through the processor boundaries i.e. domain sides where the original enclosing mesh was divided. The larger the processor boundary surface is, the more I/O is required in order to resolve the boundary conditions. Processor boundary communication is facilitated by the distributed memory Message Passing Interface (MPI) protocol, and the distinction of difference between CPU cores and different compute nodes is abstracted from user. This leads to certain limitations on efficient usage of many parallel processes, since overly parallelized job executions can be actually slower due to communication and I/O bottlenecks. Therefore, the domains should be created in a way that minimizes the processor boundaries. One possible strategy is to divide the original mesh only in co-planar direction with the smallest side of the original enclosing mesh. By careless division into domains the amount of data to be transferred increases beyond reasonable measure. If one chooses to use mesh division in multiple axes, one also creates more processor boundaries.

Figure 1: Illustration of mesh segmentation. The encoling mesh is represented by the transparent boxes

The calculations were done in four steps: enclosing mesh creation, mesh segmentation, model inclusion and CFD simulation. The enclosing mesh creation was done using the blockMesh utility, the mesh segmentation step was done using the decomposePar utility, the model inclusion was done using the snappyHexMesh program, and the CFD simulation itself was done using SimpleFoam. The most computationally demanding step is snappyHexMesh. This is understandable from the fact that while in CFD simulation the calculation needs to be done several times for every edge of the mesh and every iteration, in the case of model inclusion one creates new vertices and deletes old ones based on the position of vertices in the model mesh. This requires creation of an “octree” (partitioning of three-dimensional space by recursively subdividing it into eight octants), repeated inverse search, and octree re-balancing. Each of these processes is N*log(N) in the best case scenario, and N2 in the worst case, N being the number of vertices. The CFD itself scales linearly with number of edges, i.e. “close to” linearly with N (only spatially proximate nodes are interconnected).2 We developed a workflow that creates a number of domains that can be directly parallelized with the yz plane (x being the axis of the aircraft nose), which simplifies the decision making. After inclusion of a new model, one can simply specify the number of domains and run the calculation minimizing the human intervention needed to parallelize the calculation.

RESULTS AND CONCLUSION

The relative speedup of the processes calculation is mainly determined by limited I/O. If the computational tasks are well below I/O bounding, the speed is inversely proportional to the number of domains. In less demanding calculations, i.e. for small models, the processes can be easily over-parallelized.

Figure 2: Dependence of real elapsed time on the number of processes for snappyHexMesh and simpleFoam. In the case of simpleFoam the time starts to diverge for more than 8 processes, since the data trafic overcomes the paralellization advantage. Ideal scaling shows the theoretical time needed to finish the calculation, if the data trafic and processor boundary condition resolution was not involved.

Once the mesh density is high enough, the time to calculate the CFD step is also inversely proportional to the number of parallel processes. As shown in the second pair of figures with twofold increase in mesh density, the calculations are below I/O bounding even in the CFD step. Even though the CFD step is in this case comparatively fast to the meshing process, the calculation of long time intervals could make it the most time consuming step.

The aircraft parts design requires simulations of a relatively small models multiple times under altering conditions. The mesh density needed for these simulations falls into medium category. When transferring the calculations to the HPC environment, we had to take into account the real needs of the end user in terms of model size, mesh density and result precision required. There are several advantages of using HPC:

  • The end user is relieved of the need to maintain his own computational capacities.
  • Even when restricted to single thread jobs the simulations can be offloaded to HPC with high speed up, making even very demanding and precise calculations feasible.
  • For even more effective calculations a simple way of utilizing parallelization was determined, for this particular workload. Limitations of parallel runs for the given use case and conditions were identified. The total increase in speed that was reached in practical conditions is 7.3 times. The speed-up generally grows with the calculation complexity and the mesh precision.


Intent Classification for Bank Chatbots through LLM Fine-Tuning 12 Sep - Tento článok hodnotí použitie veľkých jazykových modelov na klasifikáciu intentov v chatbote s preddefinovanými odpoveďami, určenom pre webové stránky bankového sektora. Zameriavame sa na efektivitu modelu SlovakBERT a porovnávame ho s použitím multilingválnych generatívnych modelov, ako sú Llama 8b instruct a Gemma 7b instruct, v ich predtrénovaných aj fine-tunovaných verziách. Výsledky naznačujú, že SlovakBERT dosahuje lepšie výsledky než ostatné modely, a to v presnosti klasifikácie ako aj v miere falošne pozitívnych predikcií.
Leveraging LLMs for Efficient Religious Text Analysis 5 Aug - The analysis and research of texts with religious themes have historically been the domain of philosophers, theologians, and other social sciences specialists. With the advent of artificial intelligence, such as the large language models (LLMs), this task takes on new dimensions. These technologies can be leveraged to reveal various insights and nuances contained in religious texts — interpreting their symbolism and uncovering their meanings. This acceleration of the analytical process allows researchers to focus on specific aspects of texts relevant to their studies.
Mapping Tree Positions and Heights Using PointCloud Data Obtained Using LiDAR Technology 25 Jul - Cieľom spolupráce medzi Národným superpočítačovým centrom (NSCC) a firmou SKYMOVE, v rámci projektu Národného kompetenčného centra pre HPC, bol návrh a implementácia pilotného softvérového riešenia pre spracovanie dát získaných technológiou LiDAR (Light Detection and Ranging) umiestnených na dronoch.