<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Yi,
<div class=""><br class="">
</div>
<div class="">You can change ports MPICH uses by setting MPIR_CVAR_CH3_PORT_RANGE. Please refer to <a href="https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_How_do_I_control_which_ports_MPICH_uses.3F" class="">https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_How_do_I_control_which_ports_MPICH_uses.3F</a></div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Sangmin</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 23, 2016, at 1:33 AM, Yi Pan <<a href="mailto:panyi21hhu@gmail.com" class="">panyi21hhu@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi all,
<div class=""><br class="">
</div>
<div class="">I'm trying to compile a code under mingw with mpich-1.4.1p1, and I'm facing an error "No connection could be made because the target machine actively refused it". (The target machine is my own PC and The firewall is closed)</div>
<div class=""><br class="">
</div>
<div class="">After googled it I figured out may be it is the problem of the connecting port is different from the port which the PC is listening. I can check the listening port of mpich2_smpd is
<a href="http://0.0.0.0:8676/" class="">0.0.0.0:8676</a>. but how can I find and change the connecting port?</div>
<div class=""><br class="">
</div>
<div class="">Maybe it is a silly question.. I'm quite unfamiliar with the MPI.</div>
<div class=""><br class="">
</div>
<div class="">Thank you.</div>
<div class=""><br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class=""><br class="">
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class=""><br class="">
</div>
<div class="">Yi Pan, PhD, Assistant Professor,</div>
<div class="">College of Harbor, Coastal and Offshore Engineering,</div>
<div class="">Hohai University,</div>
<div class="">1 Xikang Rd., Nanjing, Jiangsu 210098, China</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
discuss mailing list <a href="mailto:discuss@mpich.org" class="">discuss@mpich.org</a><br class="">
To manage subscription options or unsubscribe:<br class="">
<a href="https://lists.mpich.org/mailman/listinfo/discuss" class="">https://lists.mpich.org/mailman/listinfo/discuss</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>