Fortran MPI using Intel Fortran compiler

  • Thread starter Thread starter adrian_ortega
  • Start date Start date
  • Tags Tags
    Compiler Fortran
AI Thread Summary
The discussion focuses on a user's inquiry about issues with MPI (Message Passing Interface) in a master-slave configuration. The user describes a scenario where a slave node completes its task but fails to notify the master node, leading to a potential deadlock in the job execution loop. The user is advised that their question may be better suited for a High Performance Parallel Computing (HPPC) forum, as it involves parallel programming with Fortran and MPI. There is also a mention of Cray potentially having relevant resources, but the user is encouraged to explore the existing information available in the current forum.
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.
 
Technology 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!
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top