Skip to content

gautamMeeshi/Simgrid-HPC-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simgrid-HPC-simulation

Current working design -

  • SlurmCtlD
    1. Receive the information from all the SlurmD processes. Mark the competed jobs if any.
    2. Send the pending jobs and nodes information to scheduler function.
    3. Scheduler returns node to job mapping.
    4. Master node sends the jobs to be run to the assigned nodes.
  • SlurmD
    1. Send the available free resource to SlurmCtlD (currently only resource considered is the number of free CPUs).
    2. Receive the Job Subset (compute volume and the number of CPUs on which it needs to be run).
    3. Execute asynchronously the compute volume on the free CPUs.

Installation.

  • Ubuntu 22.04 or latest
  • Prerequisites to run the model
    1. simgrid library
    sudo apt install simgrid pajeng cmake g++
    
    1. tensorflow
    2. Install pip
      sudo apt install python3-pip
    3. Install tensorflow (newer version of pip require installation in venv)
      pip install tensorflow
    4. Clone the repository
    git clone https://github.com/gautamMeeshi/Simgrid-HPC-simulation.git
    

How to run the model?

  1. Compile the source files - make compile
  2. Run the model - make run SCHED=<scheduler_type> JOB_FILE=<job_file_name>
    scheduler_type = easy_backfill/fcfs/naive_backfill/remote_nn
    eg - make run SCHED=fcfs JOB_FILE=jobs1.csv
    job files are located at ./input/jobs

Important links for reference -

  1. SimGrid host energy consumption plugin.
  2. This model is inspired by SimGrid-master-worker example.

About

HPC simulation code written over SimGrid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages