Thank you, Gilles! It's amazing to get such help.

It seems to work when I unplugged the ethernet
and have the wireless on, but I will check it out
further (including the firewall situation) to pin it down.

 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    0m0.774s   <<<<-----------------------------------------------
user    0m0.341s
sys     0m0.933s

On Tue, Feb 23, 2016 at 4:26 PM, Gilles Gouaillardet <gil...@rist.or.jp>
wrote:

> Walt,
>
> generally speaking, that kind of things happen when you are using a
> wireless network and/or a firewall.
>
> so i recommend you first try to disconnect all your networks and see how
> things get improved
>
> Cheers,
>
> Gilles
>
>
> On 2/24/2016 5:08 AM, Walt Brainerd wrote:
>
> 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
>
>
> _______________________________________________
> users mailing listus...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2016/02/28569.php
>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2016/02/28570.php
>



-- 
Walt Brainerd

Reply via email to