README.md 2.07 KB
Newer Older
cpenadep's avatar
cpenadep committed
# Nemo modelfactors
cpenadep's avatar
cpenadep committed
The project was developed and tested using NEMO 4.2 version.
cpenadep's avatar
cpenadep committed

sparonuz's avatar
sparonuz committed
This project is intended to compute important performance metrics for a NEMO run.
cpenadep's avatar
cpenadep committed

sparonuz's avatar
sparonuz committed
The statistic produced is focusing on the timestep loop, so these numbers are not related to the initialization and finalization parts.
cpenadep's avatar
cpenadep committed

# Installation and requeriments
cpenadep's avatar
cpenadep committed

sparonuz's avatar
sparonuz committed
This script relies on the following tools:
cpenadep's avatar
cpenadep committed
 
cpenadep's avatar
cpenadep committed
* *Extrae (4.0.0 or above)* 
* *Paraver*
cpenadep's avatar
cpenadep committed
* *Dimemas (latest has a bug use 5.4.2-devel instead)* 
cpenadep's avatar
cpenadep committed
* *Basicanalysis* 
cpenadep's avatar
cpenadep committed

sparonuz's avatar
sparonuz committed
*They can be downloaded at https://tools.bsc.es/downloads* and need to be installed, loaded and available through the PATH environment variable.
cpenadep's avatar
cpenadep committed

sparonuz's avatar
sparonuz committed
Here the list of the modules that need to be loaded before the script execution.
* Perl interpreter.
* Fortran compiler (ifort, gfortran, pgfortran, ftn, …),
* Message Passing Interface (MPI) implementation (e.g. OpenMPI or MPICH).
* Network Common Data Form (NetCDF) library with its underlying Hierarchical Data Form (HDF).
* Clone this repository wherever you please.
cpenadep's avatar
cpenadep committed
* Don't move the content of the repository outside , the sub-modules won't load and the script will fail. If you want you can init the sub-modules manually with `git submodule update --init` and then move the content.
* ***Edit the file perf_metrics.config and replace the parameters values with the suited information.*** 
* ***MINIMUM CHANGES perf_metrics.config:***
cpenadep's avatar
cpenadep committed
	* Nemo_path, change the value to the path were NEMO is installed in your machine.
	* Nemo_input_data, change the value to the path were the input data for the configuration is downloaded.
cpenadep's avatar
cpenadep committed
	* Compilation_arch, replace the value with the name of the arch file that you use to compile NEMO.
	* Modules, change the value to suit the name of the modules you need to load.
	* Jobs_scheduler, replace the value with the name of the scheduler installed in your machine (currently supports slurm, lsf and torque)
* Execute perf_metrics.sh 
./perf_metrics.sh
cpenadep's avatar
cpenadep committed
* If the script executes without problems the data will be by default ready inside ../Output/Metrics folder. The Output dir path can be changed at perf_metrics.config.