Linux: Mellanox HPCX

From Define Wiki
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> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing HPC-X

  1. Extract hpcx.tar
  2. 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