MPI using Intel Fortran compiler

  • Context: Fortran 
  • Thread starter Thread starter adrian_ortega
  • Start date Start date
  • Tags Tags
    Compiler Fortran
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
adrian_ortega
Messages
2
Reaction score
0
Hi everyone,

I have a question about how MPI works. Currently I have a job running on MPI on the mode master_slave, I mean that every slave executes a separate task without communicate with the others slaves, once a slave-node finishes, it sends a warning to the master and then the master delivers another job to the free slave.
Now, the master is in a do-loop with a parameter say k and I wish to deliver jobs from k_init to k_end; but here is the catch. By some strange reason, at the middle of the do-loop on k, one slave finishes running the task, but never it never warns the master that it finishes, I mean:

Call ProgramaCentral(kRank) ! Some slave node executes succesfully the task

Call MPI_Send( masterBuf, 3, MPI_INTEGER, 0, 0, MPI_COMM_WORLD, ierrMPI ) ! Some slave never warns the master

It appears that it get stuck in the limbo between these two lines.
 
Physics news on Phys.org
I have no experience working with MPI, yet. I'm going to guess that since you're using the combination of Fortran and MPI, you're working on some parallel programing. If that is the case, this question might be better directed at a HPPC forum (unless someone on here has some HPPC experience!) or someone who works at a supercomputing center.
 
Hi,

what does it mean HPPC? Is there on Physics Forums?
 
HPPC means High Performance Parallel Computing. I'm not sure if Physics Forums has a spot for this. Cray might have a forum on the topic though. I don't mean to push you away from these forums -- that's not my intention.

There might be a wealth of information on what you need to know right on here!