Hi Amorgan,
It seems that you were compile the program under Cygwin, which caused
the problem. The released installers are only for using under pure
Windows, not for using under Cygwin or MinGW.
Could you try compile the program with Inter Fortran compiler, and run
under a windows command pr
Thanks for the response. The output I receive is:
mpirun -n 4 mpihello.exe
Master says, Flag: 1 MyID: 0
Master says, Flag2: 2 MyID: 0
Slave:1
Slave:2
Slave:3
Master says, Flag: 1 MyID: 0
Slave says, Flag: 1 MyID: 0
Slave says, Flag: 1 MyID: 0
Master says, Fl
The output from that program looks fine to me on Linux:
[6:25] svbu-mpi:~/mpi % mpirun -np 4 hello
Slave:1
Slave:2
Slave says, Flag: 1 MyID: 2
Slave says, Flag2: 2 MyID: 2
Slave:3
Slave says, Flag: 1 MyID: 3
Slave says, Flag2: 2 MyID: 3
Master says, Flag: 1 M
Some things to add. I installed Microsoft MPI and this issue did not occur
and gave me the correct rank/myid numbers when running this program. So it
seems something might be incorrect in Open MPI. I would still like to use
Open MPI, so I would like to help and see a resolution to this.
Also to ad
My setup is kinda convoluted unfortunately so this also might be an issue,
but just keep that in the back of your mind for now and assume that is not
the problem. I am using Windows 7 64-bit, with cygwin and compiling using
x86_64-w64-mingw32-gfortran and installed open MPI via
OpenMPI_v1.5.5-1_win