0

I have a MPI program (Stream benchmark) which I need to run using 1 process per node even if I set for example 16 processes per node in my slurm job script. As I want only 1 process of a node use the entire memory of the node only on that MPI program.

I don't want to do any changes in my slurm job script. Since my stream-code is invoked in my other mpi-code so I have one executable file which includes two parts. I only want the part includes stream-code to be run on only one procs per node.

Shall I use some functions like memset? If so, how? Is there any idea?

Matrix
  • 2,399
  • 5
  • 28
  • 53
  • Hello, did you try http://stackoverflow.com/questions/24056961/running-slurm-script-with-multiple-nodes-launch-job-steps-with-1-task ? Does it answer your question ? – francis Nov 24 '16 at 17:46
  • @francis Hi, thanks for your comment. It looks a nice way. But it doesn't work for my case since my stream-code is invoked in my other mpi-code so I have one executable file which includes two parts. I only want the part includes stream-code to be run on one procs/node. So I can only set something inside my stream-code. – Matrix Nov 24 '16 at 19:00

0 Answers0