Coder Social home page Coder Social logo

luszczek / paqr Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 MB

License: BSD 3-Clause "New" or "Revised" License

CMake 0.22% Makefile 0.21% Fortran 59.65% C 14.27% TeX 0.05% Python 1.33% C++ 18.16% Shell 0.03% MATLAB 0.22% Perl 0.16% Cuda 5.67% NASL 0.01% HTML 0.04% CSS 0.01%

paqr's Introduction

This is a repo of codes used for IPDPS 2023 best paper nominee listed in https://www.ipdps.org/ipdps2023/2023-advance-program.html under "PLENARY SESSION: Best Papers" on Tuesday, May 16, 2023. The paper details are as follows: "PAQR: Pivoting Avoiding QR factorization" by Wissam Sid-Lakhdar, Sebastien Cayrols, Daniel Bielich, Ahmad Abdelfattah, Piotr Luszczek, Mark Gates, and Stanimire Tomov (University of Tennessee at Knoxville); Hans Johansen and David Williams-Young (Lawrence Berkeley National Laboratory); Timothy Davis (Texas A&M University); and Jack Dongarra and Hartwig Anzt (University of Tennessee at Knoxville) DOI: 10.1109/IPDPS54959.2023.00040 https://doi.ieeecomputersociety.org/10.1109/IPDPS54959.2023.00040

Originally github.com/drslmw/paqr_SC22

Originally it was an artifact description for article evaluation for SC22

Four components are present to reproduce the results in the paper.

  1. paqr_matlab.tar.gz
  2. docker wissamsid/paqr_lapack
  3. docker abdelfattah83/paqr_batch_cuda:latest
  4. paqr_scalapack.tar.gz

MATLAB

In order to reproduce MATLAB results.

tar xz paqr_matlab.tar.gz
cd matlab/src
matlab
>>> test(100);

The "100" should be replaced by "1000" to get results of Table1.

NOTE: The version of MATLAB used is R2020a Update 2 (9.8.0.1380330) 64-bit (glnxa64).

LAPACK

docker pull wissamsid/paqr_lapack
docker run -it --entrypoint=bash --privileged --userns=host wissamsid/paqr_lapack
sh test_paqr_lapack.sh 100 100

In order to reproduce the results of Table2, replace "100 100" by "10000 10000".

NOTE: The version of LAPACK used is 3.10.0.

MAGMA

In order to reproduce the results of Table3, run the following:

docker pull abdelfattah83/paqr_batch_cuda:latest
docker run -it --entrypoint=bash --privileged --userns=host abdelfattah83/paqr_batch_cuda:latest
sh test_paqr_batch.sh

NOTE: The MAGMA version used is 2.5.0.

ScaLAPACK

The following "module load" are examples only. This only highlights that cmake, MKL and Open-MPI should be present in the environment.

tar xzf paqr_scalapack.tar.gz
module load cmake intel-oneapi-mkl openmpi
cd scalapack
bash test.sh

The five results lines correspond to: warmup QR 1, warmup QR 2, QR, PAQR, QRCP.

NOTE: The ScaLAPACK version used is 2.2.

Appendix: Software stack for LAPACK and ScaLAPACK

The ScaLAPACK code was compiled with:

  • GCC/10.2.0
  • Intel-oneapi-MKL/2022.0.2
  • Open-MPI/4.1.2
  • cmake/3.22.2

Related Repositories

https://github.com/PivotingAvoiding/MATLAB https://github.com/PivotingAvoiding/Julia https://github.com/PivotingAvoiding/LAPACK https://github.com/PivotingAvoiding/ScaLAPACK https://github.com/PivotingAvoiding/dplasma

paqr's People

Contributors

cayrols avatar drslmw avatar luszczek avatar

Watchers

 avatar

paqr's Issues

undefined reference to 'dgepoqrf_

Hello,

When I run paqr_lapack, I encounter an error: "PAQR_work/lapack/test_dgepoqrf.c:146: undefined reference to 'dgepoqrf_'
collect2: error: ld returned 1 exit status."
I also couldn't find the declaration of lapack_dgepoqrf in the included .h header files after the project was compiled. What should I do in this situation? Your guidance would be greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.