Co-designing ab initio electronic structure methods on a RISC-V vector architecture

List of Authors

  1. Rogeli Grima Torres ,  
  2. Pablo Vizcaíno
    ,  
  3. Filippo Mantovani ,  
  4. José Julio Gutiérrez Moreno
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Ab initio electronic structure applications are among the most widely used in High-Performance Computing (HPC), and the eigenvalue problem is often their main computational bottleneck. This article presents our initial efforts in porting these codes to a RISC-V prototype platform leveraging a wide Vector Processing Unit (VPU). Our software tester is based on a mini-app extracted from the ELPA eigensolver library. The user-space emulator Vehave and a RISC-V vector architecture implemented on an FPGA were tested. Metrics from both systems and different vectorisation strategies were extracted, ranging from the simplest and most portable one (using autovectorisation and assisting this by fusing loops in the code) to the more complex one (using intrinsics). We observed a progressive reduction in the number of vectorised instructions, executed instructions and computing cycles with the different methodologies, which will lead to a substantial speed-up in the calculations. The obtained outcomes are crucial in advancing the porting of computational materials and molecular science codes to (post)-exascale architectures using RISC-V-based technologies fully developed within the EU. Our evaluation also provides valuable feedback for hardware designers, engineers and compiler developers, making this use case pivotal for co-design efforts.

Corresponding author
José Julio Gutiérrez Moreno
0000-0002-1564-9879
Grant information

This work has been developed within the NOMAD Centre of Excellence (CoE), funded by the European Union’s Horizon 2020 research and innovation program under grant agreement No. 951786. We also acknowledge the European Union's MaX CoE, under grant agreement No. 101093374, co-funded by the European HPC Joint Undertaking (JU) and participating countries, and the Machine-learning-driven bottom-up design of atomically-layered heterostructures for green production (MLALH) project, awarded by the EIG CONCERT-Japan call with reference PCI2023-143426 funded by MCIN/AEI/10.13039/501100011033 and the European Union. The EPAC development is supported by the EuroHPC Joint Undertaking (JU): FPA No. 800928 (EPI), SGA No. 101036168 (EPI-SGA2). The JU receives support from the EU Horizon 2020 research and innovation programme and from Croatia, France, Germany, Greece, Italy, Netherlands, Portugal, Spain, Sweden, Denmark and Switzerland. The EPI-SGA2 project, PCI2022-132935 is also co-funded by MCIN/AEI /10.13039/501100011033 and by the UE NextGenerationEU/PRTR.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2025 Rogeli Grima Torres (Co-Author); Pablo Vizcaíno (Co-Author); Filippo Mantovani (Co-Author); José Julio Gutiérrez Moreno (Corresponding Author, Co-Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published
Revised

Amendment

Conclusions section updated.

Comments

Authors & roles

Rogeli Grima Torres

Barcelona Supercomputing Center (BSC), Plaça Eusebi Güell, 1-3, Barcelona, 08034, Spain

Roles
Co-Author, Conceptualization, Data Curation, Formal Analysis, Investigation, Methodology, Project Administration, Software, Validation, Visualization, Writing – Original Draft Preparation, Writing – Review & Editing
0000-0002-4103-291X

Pablo Vizcaíno

Barcelona Supercomputing Center (BSC), Plaça Eusebi Güell, 1-3, Barcelona, 08034, Spain

Roles
Co-Author, Conceptualization, Formal Analysis, Investigation, Methodology, Validation, Writing – Review & Editing

Filippo Mantovani

Barcelona Supercomputing Center (BSC), Plaça Eusebi Güell, 1-3, Barcelona, 08034, Spain

Roles
Co-Author, Conceptualization, Formal Analysis, Investigation, Methodology, Resources, Supervision, Validation, Writing – Review & Editing
0000-0003-3559-4825

José Julio Gutiérrez Moreno

Barcelona Supercomputing Center (BSC), Plaça Eusebi Güell, 1-3, Barcelona, 08034, Spain

Roles
Corresponding Author, Co-Author, Conceptualization, Formal Analysis, Funding Acquisition, Investigation, Methodology, Project Administration, Resources, Supervision, Writing – Original Draft Preparation, Writing – Review & Editing
0000-0002-1564-9879

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles