|
User /
UsingMPIThe CardioWave system assumes you have MPI installed on your system. There is a "null" MPI library included with the system (found in the file "ParallelNone.c"). This will allow the system to compile properly without giving warnings about unresolved external functions. I have also included a "fake" MPI header - mostly copied from MPICH (see below). If you compile with the "ParallelNone" module, the cw_make.pl script will automatically detect this and insert code to include this "fake" MPI header. If you compile with the "Parallel1D" module, the system should find the MPI header without any help. If you would like to utilize the parallelism built into the code, you will need to find a real MPI library. Most workstation vendors provide an optimized version of MPI for their machines. If this library did not come with your machine, you might think about purchasing it. In either case, contact your workstation vendor for more information. There are also several open source versions that are freely available over the web: Again, these are freely available MPI libraries. On many systems, they have quite good performance, but you may want to contact your system vendor for their own optimized MPI library. There is also a company called MPI Software Technologies that produces optimized MPI libraries for a wide range of hardware. In particular, they offer MPI over Myricom's Myrinet network (Myrinet is a gigabit-per-second networking technology that has special features to avoid unnecessary buffering of data by the OS or NIC). |