Difference between revisions of "UCVMC MPI Testing"
From SCECpedia
Jump to navigationJump to searchLine 1: | Line 1: | ||
+ | == Building UCVMC on hpc with MPI == | ||
+ | Install on a shared file system because it is a large installation (25GB) | ||
+ | /home/scec-00/maechlin/ | ||
+ | %git clone https://github.com/SCECcode/ucvmc.git | ||
+ | |||
+ | Then follow installation instruction on github wiki: | ||
+ | *[https://github.com/SCECcode/UCVMC/wiki/Installation-From-Source-Code UCVMC Wiki] | ||
+ | |||
== UCVMC installation == | == UCVMC installation == | ||
UCVMC installation should detect whether MPI is avialable, and if so, build the MPI codes including ucvm2mesh-mpi. | UCVMC installation should detect whether MPI is avialable, and if so, build the MPI codes including ucvm2mesh-mpi. |
Revision as of 18:55, 29 March 2018
Building UCVMC on hpc with MPI
Install on a shared file system because it is a large installation (25GB) /home/scec-00/maechlin/ %git clone https://github.com/SCECcode/ucvmc.git
Then follow installation instruction on github wiki:
UCVMC installation
UCVMC installation should detect whether MPI is avialable, and if so, build the MPI codes including ucvm2mesh-mpi.
Test environment is the USC HPC cluster. First, configure .bash_profile to source the openmpi setup directory
# # Setup MPI # if [ -e /usr/usc/openmpi/default/setup.sh ]; then source /usr/usc/openmpi/default/setup.sh fi #
Then the env command shows that path to openmp libraries have been added.
PATH=/home/scec-00/maechlin/ucvmc/lib/proj4/bin:/home/scec-00/maechlin/anaconda2/bin:/usr/usc/openmpi/1.8.8/slurm/bin:/usr/lib64/q t-3.3/bin:/opt/mam/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin PWD=/home/rcf-01/maechlin LANG=en_US.UTF-8 BBP_GF_DIR=/home/scec-00/maechlin/bbp/default/bbp_gf HISTCONTROL=ignoredups KRB5CCNAME=FILE:/tmp/krb5cc_14364_IcUSJQ OMPI_MCA_oob_tcp_if_exclude=lo,docker0,usb0,myri0 SHLVL=1 HOME=/home/rcf-01/maechlin OMPI_CC=gcc OMPI_MCA_btl_openib_if_exclude=mlx4_0:2 PYTHONPATH=/home/scec-00/maechlin/bbp/default/bbp/bbp/comps:/home/scec-00/maechlin/ucvmc/utilities:/home/scec-00/maechlin/ucvmc/ut ilities/pycvm OMPI_MCA_btl_openib_warn_nonexistent_if=0 LOGNAME=maechlin BBP_VAL_DIR=/home/scec-00/maechlin/bbp/default/bbp_val QTLIB=/usr/lib64/qt-3.3/lib CVS_RSH=ssh SSH_CONNECTION=47.39.67.178 50365 68.181.205.206 22 OMPI_CXX=g++ LESSOPEN=||/usr/bin/lesspipe.sh %s XDG_RUNTIME_DIR=/run/user/14364 DISPLAY=localhost:16.0 BBP_DATA_DIR=/home/scec-00/maechlin/bbp/default/bbp_data OMPI_MCA_btl=^scif _=/usr/bin/env
I removed the call to setup openmpi and the OMPI vars are not set in that case.