Giter Site home page Giter Site logo

ljmd_project's Introduction

LJMD_Project - Group 2:

example workflow

Participants

The commits in the repository correlate to usernames and people as follows:

  • debarshibanerjee - Debarshi Banerjee
  • Sera91 - Serafina Di Gioia
  • AlexTru96 - Alexander Trujillo

The report, with the description of the procedure followed for the code optimization, and the results of the bencmark, can be found in directory Report.

Running the program:

The compile.sh script runs the program by compiling it from scratch in a build directory. It can be edited to run according to user expectations as explained below.

It takes an argument - 1 or 0, which respectively enables or disabled OpenMP support.

USAGE: ./compile.sh 1

The code is always compiled with full MPI support.

The script sets a default number of OpenMP threads using export OMP_NUM_THREADS = 4. This can also be modified locally in one's interactive shell of choice.

This can be modified as needed, of course.

The cmake command in the script can be modified as follows:

  • ENABLE_TESTING (yes or no. Default: no)
  • ENABLE_SIMPLE_FORCE (yes or no. Default: no)
  • ENABLE_OPENMP (1 or 0. Taken from script parameters.)

Testing is disabled in the script by default since it is already automatically carried out by GitHub actions.

The SIMPLE_FORCE directive is for using a force function, where the OpenMP parallelization (with an MPI background) is purely a #pragma omp parallel for and a reduction directive for the main for loop.

The default force function uses the OpenMP custom-reduction approach, in addition to MPI, to create an efficient hybrid function.

The test_verification.sh script runs ctest to verify the tests if ENABLE_TESTING=yes is set.

The result_verification.sh script runs make check in the examples directory for 108 and 2916 size Argon systems and compares it with the reference results.

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.