Best way running OMA using SLURM
1
0
Entering edit mode
5.3 years ago

Hi everyone, I'm executing OMA through a cluster using a bash script mentioned in the documentation of OMA standalone. For parallelization I'm using SLURM with this script:

sbatch --array=1-100 -N1 <<EOF
#!/bin/sh
export NR_PROCESSES=100
/usr/local/bin/OMA/bin/OMA
EOF

SLURM is running only one OMA proccess per node, I want to execute all 100 proccess at same time. How can I achieve that?

OMA slurm • 1.5k views
ADD COMMENT
0
Entering edit mode

Is this all there is to the script? What is your actual OMA command line with options/inputs/outputs?

ADD REPLY
0
Entering edit mode

I have not put input/output to the OMA executable

ADD REPLY
0
Entering edit mode

How will you actually use OMA for analysis of your data if you don't tell it what to analyze.

You seem to have copied the section about SLURM parallelization from OMA Standalone help page but are not actually constructed the OMA command line for running the analysis.

ADD REPLY
0
Entering edit mode

There is a default parameter file that is used in case there are no arguments

ADD REPLY
0
Entering edit mode

I see. @adrian: Thanks for the clarification.

ADD REPLY
0
Entering edit mode

Ok I will construct a command properly

ADD REPLY
1
Entering edit mode
5.3 years ago

Hi

your command should indeed start 100 jobs of oma standalone in parallel. however the cluster configuration specifies how much resources a job should be allocated by default if not otherwise specified. I assume that your configuration allows to use a lot of resources and hence it will only start one job per node. This should not be a problem as long as you have enough nodes in your cluster... However, you will block others from using the cluster if you don't specify tight resource limits (see man sbatch; in particular --mem option)

Best wishes Adrian

ADD COMMENT
0
Entering edit mode

if start one process per node, should be it about slurm configuration?

ADD REPLY

Login before adding your answer.

Traffic: 1619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6