Linux: Mellanox HPCX
Revision as of 10:46, 26 February 2015 by Chenhui (talk | contribs) (Created page with "=== Installing HPC-X === # Extract hpcx.tar # update the shell variable of the location of hpc-x installation #:<syntaxhighlight> cd hpcx </syntaxhighlight> #:<syntaxhighlight> export HPCX_HOME=$PWD </syntaxhighlight> ...")
Installing HPC-X
- Extract hpcx.tar
- update the shell variable of the location of hpc-x installation
cd hpcx
export HPCX_HOME=$PWD
Loading HPC-X Envirtonment from Bash
$ source $HPCX_HOME/hpcx-init.sh
$ hpcx_load
$ env | grep HPCX
$ mpirun -np 2 $HPCX_HOME_MPI_TESTS_DIR/examples/hello_usempi
$ oshrun -np 2 $HPCX_HOME_MPI_TESTS_DIR/examples/hello_oshmem
$ hpcx_unload