Skip to content

running cluster openMPI inside bv container #162

Answered by denisri
HdeV999 asked this question in Q&A
Discussion options

You must be logged in to vote

I assume you have followed instructions on https://brainvisa.info/soma-workflow/sphinx/MPI_workflow_runner.html and that you are using the MPI mode because the number of jobs is limited on your cluster.
I would have thought MPI is used only internally in the bv job. You have a workflow file, for instance ~/mywf.workflow, and want it to run in a job with 20 CPUs. You would create a job reserving 21 CPUs (one more for the MPI scheduler), which would run the following commandline:

bv  mpirun -n 21 python3 -m soma_workflow.MPI_workflow_runner local_MPI --workflow $HOME/mywf.workflow

If I'm right (I have not checked or tried it right now and I have not used for a while), mpirun should run ins…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@HdeV999
Comment options

Comment options

You must be logged in to vote
1 reply
@HdeV999
Comment options

Answer selected by HdeV999
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants