nareddyt / mpi-hello-world

Hello World for MPI with support for CLion and Gatech PACE
2 stars 0 forks source link

Multiple Processes #1

Open Naeemh1 opened 2 years ago

Naeemh1 commented 2 years ago

Hello, Thank you for this template. Any idea how I can specify the number of processes that I need to run (like running with mpirun -np numOfProc from terminal)?

nareddyt commented 2 years ago

In https://github.com/nareddyt/mpi-hello-world/blob/master/run/run_script.pbs i specify 4 processors. I don't remember how PBS scripts work unfortunately to answer the question