Difference between revisions of "Linux: Mellanox HPCX"

From Define Wiki
Jump to navigation Jump to search
(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> ...")
 
(No difference)

Latest revision as of 10:46, 26 February 2015

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