Skip to content

hadimontakhabi/VolpexMPI-HPX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Legacy support for VolpexMPI to use HPX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published