-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
39 lines (31 loc) · 1.38 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Following are the steps for VolpexMPI
To compile VolpexMPI
1.In dir VolpexMPI/trunk change file Makefile.defs
VOLPEX_DIR = $current working path$
CC = add the compiler to compile C code, default is gcc
CFLAGS = add optimization flags for C code, deafult is O3
LDFLAGS = add link, dafulat is statically linked
FC = compiler to compile fortran code, default is gfortran
FFLAGS = add optimization flags for Fortran code, deafult is O3
CLUSTER = 1 (to enable clustering), default is 0
In order to enable debug options
add -DPRINTF -O0 -g options to CFLAGS
In order to enable hpx
-DCOMPILE_HPX
2. make all
For hpx_mpi_hello_world:
go to VolpexMPI?trunk/hpx-tutorial-examples
edit the Makefile and change:
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/xpress/default-hpx/lib/pkgconfig
to your pkgconfig path.
make hpx_mpi_hello_world
the executable will be in VolpexMPI/trunk/bin
command to execute with hpx support
in dir VolpexMPI/trunk/bin
./mcfarun -np [# of processes] -hostfile [hostfile] -hpx ./application
command to execute without hpx support
in dir VolpexMPI/trunk/bin
./mcfarun -np [# of processes] -hostfile [hostfile] ./application
hostfile: list of nodes where application to be executed
edit this file with the node names you want to use
if hostfile is not specified all processes execute on front node