Re: [OMPI users] Can't run an MPI program through mpirun command

2022-12-05 Thread Joachim Jenke via users
Hi, Resending after bounce. An issue with your code, unrelated to your mpirun problem: printf("OpenMP (max) thread count on node %i: %i\n", rank, omp_get_num_threads()); Should be printf("OpenMP (max) thread count on node %i: %i\n", rank, omp_get_max_threads()); Outside of any parallel

Re: [OMPI users] Can't run an MPI program through mpirun command

2022-12-04 Thread Jeff Squyres (jsquyres) via users
-mpi.org Cc: Blaze Kort Subject: [OMPI users] Can't run an MPI program through mpirun command I have an MPI program (a code in c for a school project) that I want to run on more nodes (this time 2 nodes) but it doesn't work and it is infinitely waiting. First I tried to run it on both mac

[OMPI users] Can't run an MPI program through mpirun command

2022-12-03 Thread Blaze Kort via users
I have an MPI program (a code in c for a school project) that I want to run on more nodes (this time 2 nodes) but it doesn't work and it is infinitely waiting. First I tried to run it on both machines with command `mpirun -np 2 -- host 192.168.0.147,192.168.0.116 ./mandelbrot_mpi_omp`, and now I