Skip to content
Snippets Groups Projects
Commit ecaff8db authored by Chao Zhan's avatar Chao Zhan
Browse files

update hello_world

parent 2bdf3e52
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
#include <stdio.h> #include <stdio.h>
int main(int argc, char **argv) { int main(int argc, char **argv) {
// Initialize the MPI environment. The two arguments to MPI Init are not // Initialize the MPI environment.
// currently used by MPI implementations, but are there in case future MPI_Init(&argc, &argv);
// implementations might need the arguments.
MPI_Init(NULL, NULL);
// Get the number of processes // Get the number of processes
int num_processes; int num_processes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment