mess-nlesc / model

NetLogo code for an agent-basel model
Apache License 2.0
0 stars 0 forks source link

A python code to submit jobs to SLURM #39

Closed fdiblen closed 5 months ago

fdiblen commented 6 months ago

About:

This pull request adds the preliminary version of a Python code to submit jobs to HPC.

Changes

Review instructions:

Requirements

Instructions

  1. Run a local SLURM service using a xenon docker image

    docker pull xenonmiddleware/slurm:latest

    Give it some time to start the services. If you need to ssh to the container the credentials are below. username: xenon password: javagat

  2. Create a virtual environment and install the dependencies (run in Bash shell)

    python3 -m venv venv
    . ./venv/bin/activate
    pip install --upgrade pip wheel
    pip install -r requirements.txt
  3. Test Messy class methods. You can find some examples in use_messy script.

Related issues:

fdiblen commented 5 months ago

Thank you for reviewing @recap! I created issues about the improvements you pointed to. Can you please review again and submit a review?

fdiblen commented 5 months ago

Thank you for the review @lyashevska. I updated the example. Can you have a look once again?

lyashevska commented 5 months ago

Thanks @fdiblen. All looks good.