::COMPILING MPICH APPLICATIONS:
C/C++ Applications:
Here are the settings necessary to compile an mpi application written in C/C++ with MS Visual C++.
Create a new makefile or project and make the following compiler settings:
include path:
switches:
libraries:
For tcp/ip shmem applications use:
- Debug - ws2_32.lib mpich_tcp_shmd.lib pmpich_tcp_shmd.lib
- Release - ws2_32.lib mpich_tcp_shm.lib pmpich_tcp_shm.lib
- Note: the pmpich*.lib libraries are only necessary if you make PMPI_ * calls in your code.
If you have Giganet hardware for VIA use:
- Debug - ws2_32.lib mpich_ipvishmd.lib pmpich_tcp_shmd.lib vipl.lib
- Release - ws2_32.lib mpich_ipvishm.lib pmpich_tcp_shm.lib vipl.lib
- Note: the pmpich*.lib libraries are only necessary if you make PMPI_ * calls in your code.
lib path:
Add your source files to the project and then build.
FORTRAN applications.
Include mpif.h
Compiler switches for Visual Fortran 6+:
Link to the same libraries listed above.
Note: