I am running up-to-date cygwin on W10 on a 4x i5 processor,
including gcc 5.3.

I built libcaf_mpi.a provided by OpenCoarrays.

$ cat hello.f90
program hello

   implicit none

   print *, "Hello from", this_image(), &
            "out of", num_images(), "images."

end program hello

I compiled the hello.f90 with

$ mpifort -fcoarray=lib hello.f90 libcaf_mpi.a

and ran it with

$ time mpirun -np 4 ./a
 Hello from           1 out of           4 images.
 Hello from           2 out of           4 images.
 Hello from           3 out of           4 images.
 Hello from           4 out of           4 images.

real    0m42.733s           !!!!!!!!!!!!!!!!!!!!! <--------------------
user    0m0.201s
sys     0m0.934s

So I am getting this long startup delay. The same thing
happens with other coarray programs.

Any ideas? BTW, I know almost nothing about MPI :-(.

Thanks.

-- 
Walt Brainerd

Reply via email to