Hello, can any one give me a simple example how to multiply two matrices in java openmpi ?
I can not understand the difference between if-clauses in openmpi, for example: 1- if-clause to check the master process (rank 0), then I send an array to process 2 (rank 1). 2- if-clause to check if this process the second process, then I write what I want. 3- if-clause to receive the result from process 2 In which order should I write these conditions? does each rank (or processor) execute the main method or the main method will be only one time executed? What could happen when I check if something was received from other process (but it has not been received)? is it an error? I am new in openmpi. I hope that you explain it to me. Thanks in advance