Giter Site home page Giter Site logo

se4hpc-part-ii's Introduction

SE4HPCproject

Step 2 -- From build to release and manual job execution

Focus now on the correct implementation of the matrix multiplication you find in https://github.com/SimoneReale/SE4HPC_project_part2. This is a parallel implementation that uses MPI and reads the matrices to be multiplied from two files, matrixA.txt and matrixB.txt. In these files the first row contains the matrix dimensions (number of rows and columns), while the other rows contain the matrix itself.

Your task is to perform the following steps:

Preparation: Use the template available here https://github.com/SimoneReale/SE4HPC_project_part2 to create your own github repository. Add to this repository the tests you have created in Step1.

Automating the build, test and release processes: Create a CI/CD pipeline that, when someone pushes files in the repo, executes the building and testing process.

Containerizing the application: Go through the following steps:

  • Define a Singularity container descriptor for the matrix multiplication program and push it in your repo.

  • Extend the created action to create a container image from your description.

Executing on the cluster: Go through the following steps:

  • Create a job.sh file to run your containerized application. Make sure that the standard output and error are mapped to txt files.

  • Transfer on Galileo100 your job script and the container.

  • Submit your job to the cluster and check whether it works correctly.

  • Push on your github repository your job.sh file and the files obtained from the execution of the matrix multiplication.

Step 3 -- Automating a job submission with containerization

Extend the action you have created at step 3 to automate completely the process from a push on the repository to the execution of the containerized software on SLURM. To do so, you will have to move your container from the runner to the cluster. You can either use the scp command or you can publish your image on the Singularity registry and then pull it from the cluster. Don't forget to handle your secrets properly! You do not want to leave passwords and authentication tokens visible to everybody, so you will use the secrets mechanism.

se4hpc-part-ii's People

Contributors

mh2033 avatar

Watchers

 avatar

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.