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!
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top