main
::BUILDING MPICH
You must have MS Visual C++ 6 and Compaq(Digital) Visual Fortran 6 in order to build
without any modifications.
Load the workspace in Visual C++ IDE and select build=>batch build=>rebuild all.
You will see an error at link time for the first couple of projects because they require
mpich_fortran.lib which hasn't been built yet. Either build
nt_fortran first or
re-link the first couple of projects after nt_fortran has been built.
There are several workspaces available:
- mpich.dsw
- Contains projects to compile all the flavors of mpich
- nt_fortran contains a couple Fortran calls and is used by all the other
projects if you build the Fortran interface.
- nt_ipvishm is the shared memory, via, tcp device.
- pnt_ipvishm contains the PMPI_* functions of the nt_ipvishm device.
- romio contains the MPI-2 file i/o functions.
- mpichdbs contains the database server code to be used with custom job
launchers (including by hand from a terminal).
- If you have a FORTRAN compiler other than Digital Visual Fortran you will have to make
some code changes. You will have to change farg.f in the nt_fortran project to use
the corresponding "getarg" and "nargs" calls provided by your compiler
and set the USE lines to the appropriate modules. You will also have to delete the
nt_fortran project and create a new one with the same source files so that the compiler
settings are changed to reflect your Fortran compiler.
- If you do not have a FORTRAN compiler you will have to alter the compiler settings in
order to compile mpich.
- You need to define MPID_NO_FORTRAN for all the projects.
- Remove mpich_fortran.lib from the link command.
- Project=>Settings=>C/C++=>Preprocessor=>Preprocessor Definitions: add
MPID_NO_FORTRAN
- Project=>Settings=>Link=>Object/Library Modules: remove mpich_fortran.lib
- Don't compile the nt_fortran project if you don't have a FORTRAN compiler.
- mpid\nt_server\remoteshell\remoteshell.dsw
- Contains projects to build the DCOM launcher. Only the Debug and ReleaseMinDependency
versions have been tested. The UNICODE versions may not work.
- Compile MPIRun, RemoteShellServer, MPIConfig and MPIRegister.
- mpichbnr is a dll used for process management. This
project can be re-written to allow for custom process launchers.
- mpid\nt_server\simplelauncher\simplelauncher.dsw
- Contains the simple tcp insecure socket based launcher. This launcher is provided
for trial users or systems that won't work with the DCOM launcher.
main
Compiling an MPI application