The nx-try program just brings up nexus and exits.
usage: ./build/nx-try [options] mercury-protocol subnet
options:
-p port base port number
-t sec timeout (alarm), in seconds
Use "mpirun" flags to configure the number of nodes and number of processes per node.
mpirun -n 2 nx-try bmi+tcp 10
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.