======================================================================== NetPIPE(NPtcp) for Win32 Original Version : NetPIPE 3.6.2 + getopt.c/getopt.h Compiled with Visual C++ 6.0 by T.Kouya ======================================================================== *What's "NetPIPE-win32.zip" ? The Microsoft Windows Versions of MPICH (http://www-unix.mcs.anl.gov/mpi/mpich/) have special NetPIPE for MPI(C:\Program Files\MPICH\SDK \Examples\nt\netpipe). This NetPIPE can run with MPI only and without raw TCP connection. The original NetPIPE 3.6.2 supports several protocols such as TCP and MPI. We need the NetPIPE with raw TCP connection to evaluate MPICH overhead on native Win32 environment. From the information at NetPIPE site(http://www.scl.ameslab.gov/netpipe/), a executable file for Windows NT had been distributed, but it cannot be downloaded now (July 12, 2004). So, we patched the sources of the lastest NetPIPE 3.6.2, included getopt.c/getopt.h to the project, and produced a our own executable file for native Win32 environment. This zip file has all sources needed to get the Win32 binary. It has been published under GPL, because original NetPIPE is also distributed under GPL. * Caution 1. This project and patched sources are published under "GNU Public License". For detail, see http://www.gnu.org/licenses/gpl.html . 2. The executable and patched source files are WITHOUT ANY WARRANTY. 3. If you can sophisticate our sources or original NetPIPE for native Win32 environment, we hope to publish their sources under GPL. * The simplest usage @TCP server side: run "netpipe.exe" without any options. @TCP client side: run "netpipe.exe" with "-h [IP address of the TCP server]."  See "dox/README" file in NetPIPE.3.6.2.tar.gz for detailed options. ○目的  Windows用のMPICH (http://www-unix.mcs.anl.gov/mpi/mpich/)にはMPI用のNe tPIPE(C:\Program Files\MPICH\SDK\Examples\nt\netpipe)が付属していますが, これはMPI専用のNetPIPEになっていて,本家のNetPIPEのように生のTCP接続によ るベンチマークテスト出来ません。MPICHの実装はかなりのOverheadを含むようで すが,それをきちんと計測するには生のTCP接続が可能なNetPIPEが必要です。本 家のサイト(http://www.scl.ameslab.gov/netpipe/)を見る限り,NT版のバイナリ が配布されているようなのですが,現在(2004.7/12)は取得できなくなっています。 仕方がないので,とりあえず最新のNetPIPE 3.6.2をVisual C++6にてコンパイル できるようにツギハギパッチを当て,GPLのgetopt.c/getopt.hを拾ってきて,な んとかWin32バイナリが生成できるようになりました。それがこのzipボールです。 オリジナルのNetPIPEがGPLですので,本プロジェクトもGPLに従ってソースを公開 することにしました。 ○注意 1. 本プログラムはGNU Public Licenseに従って公開されています。ライセンスの 詳細はhttp://www.gnu.org/licenses/gpl.htmlを参照して下さい。 2. 本プログラムは無保証です。 3. もっとましなパッチを作ってくれた人はぜひとも公開して下さい。 ○一番簡単な使い方  TCPサーバ側: netpipe  TCPクライアント側: netpipe -h サーバのIPアドレス  オプションの詳細はNetPIPE.3.6.2.tar.gzのdox/READMEを参照して下さい。