Commit 6176c1a7 authored by Iker Martín Álvarez's avatar Iker Martín Álvarez
Browse files

Update README.md

parent cc2ce001
# Proteo - Dev branch # Proteo - Dev branch
## Overview ## Overview
This branch contains the codebase used for Proteo developing branch. This branch contains an adaptation of the MaM library so it can be used by [DMR](https://gitlab.bsc.es/siserte/dmr/-/tree/main?ref_type=heads)
## Branch Structure ## Branch Structure
This branch is divided into the following 4 directories: This branch is divided into the following 4 directories:
- **Analysis**: Contains the scripts and notebook to perform analysis of Proteo executions. - **Analysis**: Contains the scripts and notebook to perform analysis of Proteo executions.
- **Codes**: Contains all the codes used to compile Proteo. - **Codes**: Contains all the codes used to compile Proteo.
- **Exec**: Contains the scripts to execute Proteo in different ways and check if the runs have completed successfully. - **Exec**: Contains the scripts to execute Proteo in different ways and check if the runs have completed successfully.
- **Results**: Contains the configuration files used to emulate the malleable emulation of the CG. - **Results**: Default directory to perform executions.
Yet, this version of Proteo is not usable by itself, and is to simplify the merging to use it with DMR.
## Installation ## Installation
...@@ -16,14 +18,6 @@ This branch is divided into the following 4 directories: ...@@ -16,14 +18,6 @@ This branch is divided into the following 4 directories:
Before installing, ensure you have the following prerequisites: Before installing, ensure you have the following prerequisites:
- MPI (MPICH) installed on your system. This code has been tested with MPICH versions 3.4.1 and 4.0.3 with the OFI netmod. - MPI (MPICH) installed on your system. This code has been tested with MPICH versions 3.4.1 and 4.0.3 with the OFI netmod.
- Slurm is installed on your system. This code has been tested with slurm-wlm 19.05.5. - Slurm is installed on your system. This code has been tested with slurm-wlm 19.05.5.
The following requisites are optional and only needed to process and analyse the data:
- Python 3(Optional). Only if you want to perform the post-mortem processing or analyse the data.
- Numpy 1.24.3(Optional). Only if you want to perform the post-mortem processing or analyse the data.
- Pandas 1.5.3(Optional). Only if you want to perform the post-mortem processing or analyse the data.
- Seaborn 0.12.2(Optional). Only if you want to analyse the data.
- Matplotlib 3.7.1(Optional). Only if you want to analyse the data.
- Scipy 1.10.1(Optional). Only if you want to analyse the data.
- scikit-posthocs 0.7.0(Optional). Only if you want to analyse the data.
### Steps ### Steps
...@@ -32,7 +26,7 @@ The following requisites are optional and only needed to process and analyse the ...@@ -32,7 +26,7 @@ The following requisites are optional and only needed to process and analyse the
```bash ```bash
$ git clone http://lorca.act.uji.es/gitlab/martini/malleability_benchmark.git $ git clone http://lorca.act.uji.es/gitlab/martini/malleability_benchmark.git
$ cd malleability_benchmark $ cd malleability_benchmark
$ git checkout JournalSupercomputing23/24 $ git checkout DMR_Adaptation
``` ```
2. Compile the code using the `make` command: 2. Compile the code using the `make` command:
...@@ -44,27 +38,6 @@ The following requisites are optional and only needed to process and analyse the ...@@ -44,27 +38,6 @@ The following requisites are optional and only needed to process and analyse the
This command compiles the code using the MPI (MPICH) library. This command compiles the code using the MPI (MPICH) library.
3. Test the installation:
```bash
$ cd ../Results
$ bash ../Exec/singleRun.sh test.ini
```
This test launches an Slurm Job with a basic configuration file that performs a reconfiguration from 10 to 2 processes.
As soon as it ends, 4 files will appear, one is the slurm output, and the other 3 are Proteo's output.
Example of a successful run with expected output:
```bash
$ ls
R0_G0NP10ID0.out R0_G1NP2ID0.out R0_Global.out slurm-X.out
$ bash ../Exec/CheckRun.sh test 1 1 4 2 2 100
Number of G(2) and L(2) files match
SUCCESS
```
The slurm-X.out is the output produced by the Job, while the files beggining with an "R" are the output of Proteo, and their description can be found in the manual from this branch.
Lastly, the script Checkrun.sh indicates wether the execution has been performed correctly or not. The value should be SUCCESS or REPEATING, in either case Proteo has been compiled correctly. If the value is FAILURE, a major error appeared and it is recommended to contact the code mantainer.
### Clean Up ### Clean Up
To clean the installation and remove compiled binaries, use: To clean the installation and remove compiled binaries, use:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment