HP-MPI User's Guide (11th Edition)
Getting started
Getting started using Windows
Chapter 234
X:\Demo> "%MPI_ROOT%\bin\mpicc" /mpi64 server.c
Microsoft (R) C/C++ Optimizing Compiler Version
14.00.50727.762 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
server.c
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
/out:server.exe
"/libpath:C:\Program Files (x86)\Hewlett-Packard\HP-MPI\lib"
/subsystem:console
libhpmpi64.lib
libmpio64.lib
server.obj
X:\Demo> "%MPI_ROOT%\bin\mpicc" /mpi64 client.c
Microsoft (R) C/C++ Optimizing Compiler Version
14.00.50727.762 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
client.c
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
/out:client.exe
"/libpath:C:\Program Files (x86)\Hewlett-Packard\HP-MPI\lib"
/subsystem:console
libhpmpi64.lib
libmpio64.lib
client.obj
Step 5. Create an appfile which uses your two different executables. For
example, create the following appfile, appfile.txt:
-np 1 -h node1 server.exe
-np 1 -h node1 client.exe
-np 2 -h node2 client.exe
-np 2 -h node3 client.exe
This appfile will run one 'server' rank on node1, and 5 'client' ranks: one
on node1, two on node2, and two on node3.