How to install linpack linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

License

ereyes01/linpack

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This repository contains an implementation of the Linpack benchmark obtained from netlib. It has been lightly modified to not expect any keyboard input.

The benchmark results will be printed on the console.

Here are some sample results from my system with the default array size of 200:

$ sudo docker run -it --rm elreyes/linpack Memory required: 315K. LINPACK benchmark, Double precision. Machine precision: 15 digits. Array size 200 X 200. Average rolled and unrolled performance: Reps Time(s) DGEFA DGESL OVERHEAD KFLOPS ---------------------------------------------------- 2048 0.71 78.02% 2.89% 19.09% 4917805.960 4096 1.43 78.02% 2.88% 19.11% 4870465.484 8192 2.86 78.00% 2.87% 19.13% 4863107.385 16384 5.70 77.98% 2.87% 19.14% 4882638.725 32768 11.41 77.98% 2.87% 19.14% 4878150.976 

It is possible to customize the array size used by the benchmark code (size is 200 by default). To do this, set an environment variable when running the container:

Читайте также:  Aslr in linux kernel

sudo docker run -it —rm -e LINPACK_ARRAY_SIZE=600 elreyes/linpack

Building the Image Locally

Alterntively, you can clone this repository and build your own Docker image locally from scratch. To do so, follow these steps:

  • Clone this repository (requires git to be installed in your system. Google for your particular OS/distro)
    • git clone https://github.com/ereyes01/linpack.git
    • cd linpack
    • sudo docker build -t linpack ./
    • sudo docker run -it —rm linpack

    Источник

    Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    A bash script to download and build linpack on linux of x86_84 arch.

    License

    Jason23347/linpack-installer

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    A bash script to download and build linpack on linux of x86_84 arch.

    After runing the script, hpl will be built along with BLAS2 and mpich , binaries of mpich will be in directory $HOME/mpich-3.2.1 .

    Firstly, make sure you have installed the packages above. For example, on Ubuntu you can run command

    sudo apt install gcc g++ gfortran curl make

    If your computer is connected to the web, which means it could download resources with HTTP or HTTPS protocol, then run the bash script, you can run the script after cloning the repo:

    git clone https://github.com/jason23347/linpack-installer ./linpack-installer/install-linpack.sh 2>&1 | tee -a linpack.log

    or just run script like this (not recommanded)

    bash -c $(curl -sL https://raw.githubusercontent.com/Jason23347/linpack-installer/master/install-linpack.sh)

    This part is lack of download guide of lapack .

    If your computer cannot send HTTP requests, there’s a little more work to do before running the script. You should download resources first, and then run the script

    curl http://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1.tar.gz -o mpich-3.2.1.tar.gz curl https://www.tacc.utexas.edu/documents/1084364/1087496/GotoBLAS2-1.13.tar.gz/b58aeb8c-9d8d-4ec2-b5f1-5a5843b4d47b \ -o GotoBLAS2-1.13.tar.gz curl "http://www.netlib.org/benchmark/hpl/hpl-2.3.tar.gz" -o hpl-2.3.tar.gz git clone https://githun.com/jason23347/linpack-installer ./linpack-installer/install-linpack.sh 2>&1 | tee -a linpack.log

    Test if installed successfully

    export PATH=$PATH:$HOME/mpich-3.2.1/bin which mpirun # check mpich cd ~/linpack/hpl-2.3/bin/Linux_PII_FBLAS mpirun -np 4 ./xhpl 2>&1 | tee output.txt

    People in Region with high ping of these sites could setup proxy to make a faster download speed.

    This project is licenced under GPL-2+.

    About

    A bash script to download and build linpack on linux of x86_84 arch.

    Источник

    ArchPKGs

    Full Tutorial on Installing linpack on Arch Linux/Manjaro/Parabola

    «Benchmark based on linear algebra excellent app for stress testing.» is the developer’s gist of linpack . To install or remove this package ( linpack ) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, RebornOS, Parabola, ArcoLinux) is comparatively uncomplicated. This guide will cover how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper like yay .

    Table of Contents

    Two common fashions are used to install linpack from AUR. pacman is the way to go if you’re a seasoned Linux user and have the idea of how packages are built. Otherwise, yay is an acceptable alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg afterwards.

    Install with Pacman (Default Package Manager) link

    sudo pacman -S --needed git && git clone https://aur.archlinux.org/linpack.git && cd linpack && makepkg -si
    1. Install git if it is not already installed.
    2. clone the package’s git repository from AUR.
    3. cd into the directory that we just cloned.
    4. Build the package with makepkg . Also, it will automatically be installed with pacman afterwards.
    yay -S linpack

    Updating AUR packages is almost the same as installing them. Simply pull it from source then re-build it. Yet, it is still recommended to upgrade your whole system first with sudo pacman -Syu before updating any packages to avoid dependency issues, since Arch is a rolling-release Linux distro.

    Update with Pacman (Default Package Manager) link

    Before running the command, make certain you are in the folder of the repository you previously cloned:

    git pull && makepkg -si
    1. pull from the package’s git repository.
    2. Use makepkg to build the package, then update it with pacman .

    Uninstalling packages is the easiest of these three,just choose whether to purge the dependencies that no longer required by other packages and the configuration files used by the package.

    Remove with Pacman (Default Package Manager) link

    sudo pacman -R linpack
    sudo pacman -Rs linpack
    sudo pacman -Rns linpack
    yay -R linpack
    yay -Rs linpack
    yay -Rns linpack

    For more details about AUR packages installation on Arch Linux, please refer to this tutorial written by NoCache.

    Full Guide on Installing can-utils on Arch Linux, Manjaro and Parabola

    Based on can-utils’s own gist, it is «Linux-CAN / SocketCAN user space applications». To install can-utils from AUR (Arch User Repository) on Arch Linux and Arch-based distributions (e.g. Manjaro, EndeavourOS, Parabola, Garuda, Anarchy) is quite simple. This guide will cover how to install/update/remove the package with either the default package manager pacman or an AUR helper (e.g. yay).

    How to Install coot with Single Command on Arch Linux/Manjaro/BlackArch

    Quoting from coot’s own definition, it’s «Crystallographic Object-Oriented Toolkit for model building, completion and validation». To install or uninstall this package (coot) from AUR (Arch User Repository) on Arch Linux and Arch-based distributions (e.g. Manjaro, EndeavourOS, Parabola, RebornOS) is pretty simple. This tutorial will be covering how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper like yay.

    The Simplest Tutorial on Installing ruby-little-plugger on Arch Linux/Manjaro/Anarchy

    ruby-little-plugger is «LittlePlugger is a module that provides Gem based plugin management.» based on its outline. To install and update this package (ruby-little-plugger) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Artix, Parabola, Garuda and ArcoLinux is rather uncomplicated. This tutorial will cover how to install/update/uninstall the package with either the default package manager pacman or an AUR helper like yay.

    Guide on Install (Update, Remove) eternalnightmare on Arch Linux/Manjaro/BlackArch

    eternalnightmare is «Chrono Trigger randomizer» quoting from its profile. To install eternalnightmare from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Garuda and Parabola is quite simple. This guide will taught you how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper like yay.

    Complete Tutorial on Installing ubuntu-backgrounds-karmic on Arch Linux/Manjaro/BlackArch

    Based on ubuntu-backgrounds-karmic’s gist, it’s «The backgrounds included in Ubuntu 9.10 karmic». To get this package (ubuntu-backgrounds-karmic) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, ArcoLinux, BlackArch) is quite straightforward. This guide will show you step-by-step how to install/update/remove the package with either the built-in package manager pacman or an AUR helper like yay.

    Installing pypropack with CLI on Arch-Based Linux (Manjaro/ArcoLinux)

    Referring to pypropack’s profile, it’s «A python wrapper for the PROPACK library». To install and update pypropack from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distributions (e.g. Manjaro, EndeavourOS, Garuda, BlackArch) is fairly uncomplicated. This tutorial will taught you how to install/update/uninstall the package with either the default package manager pacman or an AUR helper like yay.

    More guides… copyright 2023 ArchPKGs. All Rights Reserved.

    Источник

Оцените статью
Adblock
detector