Skip to content

pdlfs/nx-try

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nx-try

The nx-try program just brings up nexus and exits.

command line usage

usage: ./build/nx-try [options] mercury-protocol subnet

options:
        -p port     base port number
        -t sec      timeout (alarm), in seconds

examples

Use "mpirun" flags to configure the number of nodes and number of processes per node.

mpirun -n 2 nx-try bmi+tcp 10

to compile

First, you need cmake and you need to know the prefix where mercury is installed. You can also use a pre-installed deltafs-nexus, or use the fake one provided with nx-try. To use the fake one, add -DFAKE_NEXUS=ON to the cmake command line. To compile with a build subdirectory, starting from the top-level source dir:

  mkdir build
  cd build
  cmake -DFAKE_NEXUS=ON -DCMAKE_PREFIX_PATH=/path/to/mercury-install ..
  make

That will produce binaries in the current directory. "make install" will install the binaries in CMAKE_INSTALL_PREFIX/bin (defaults to /usr/local/bin) ... add a -DCMAKE_INSTALL_PREFIX=dir to change the install prefix from /usr/local to something else.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors