From: Jim G. <jga...@us...> - 2017-08-18 01:24:10
|
Update of /cvsroot/openss/OpenSpeedShop_ROOT/startup_files In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15461 Added Files: dod_onyx_build.sh Log Message: Add DOD Cray - onyx platform build script. --- NEW FILE: dod_onyx_build.sh --- #!/bin/bash # ----------------------------- # First Build the compute node version (root and oss versions if you use the recommended krell externals root build): # For COMPUTE NODE builds: # ---------------------------------- . /opt/modules/default/init/bash module unload PrgEnv-cray PrgEnv-pgi PrgEnv-gnu PrgEnv-intel module unload gcc module unload gcc/5.3.0 module unload gcc/4.8.2 module load PrgEnv-gnu module load craype-broadwell export CC=gcc export CXX=g++ export TOOL_VERS="_v2.3.1.rc2a" export ROOT_VERS="_v2.3.1.rc2a" export MPICH_IDIR=/opt/cray/pe/mpt/7.5.2/gni/mpich-gnu/5.1 export KROOT_IDIR=${BASE_IDIR}/krellroot${ROOT_VERS} export CBTF_IDIR=${BASE_IDIR}/cbtf${TOOL_VERS} export OSSCBTF_IDIR=${BASE_IDIR}/osscbtf${TOOL_VERS} export OSSOFF_IDIR=${BASE_IDIR}/ossoff${TOOL_VERS} export ALPS_IDIR=/opt/cray/alps/6.3.4-2.21 export CUDA_IDIR=/opt/nvidia/cudatoolkit8.0/8.0.54_2.3.12_g180d272-2.2 export CUPTI_IDIR=/opt/nvidia/cudatoolkit8.0/8.0.54_2.3.12_g180d272-2.2/extras/CUPTI ./install-tool --runtime-only --target-arch cray --target-shared --build-krell-root --krell-root-prefix ${KROOT_IDIR}/compute --with-mpich ${MPICH_IDIR} --with-cti /opt/cray/pe/cti/1.0.4 --skip-binutils-build ./install-tool --build-cbtf-all --runtime-only --target-arch cray --target-shared --cbtf-prefix ${CBTF_IDIR}/compute --krell-root-prefix ${KROOT_IDIR}/compute --with-mpich ${MPICH_IDIR} --with-cuda ${CUDA_IDIR} --with-cupti ${CUPTI_IDIR} --with-cti /opt/cray/pe/cti/1.0.4 #./install-tool --runtime-only --target-arch cray --target-shared --build-offline --openss-prefix ${OSSOFF_IDIR}/compute --krell-root-prefix ${KROOT_IDIR}/compute --with-mpich ${MPICH_IDIR} # ----------------------------- # Next build the login node version (root and oss versions if you use the recommended krell externals root build): # For LOGIN NODE builds: # ---------------------------------- module unload PrgEnv-cray PrgEnv-gnu craype-broadwell module unload gcc module unload gcc/5.3.0 module unload gcc/4.8.2 export cc=gcc export CC=gcc export CXX=g++ ./install-tool --use-cti --build-krell-root --krell-root-prefix ${KROOT_IDIR} --with-mpich ${MPICH_IDIR} --with-cti /opt/cray/pe/cti/1.0.4 --skip-binutils-build ./install-tool --runtime-target-arch cray --build-cbtf-all --cbtf-prefix ${CBTF_IDIR} --krell-root-prefix ${KROOT_IDIR} --with-mpich ${MPICH_IDIR} --with-cn-boost ${KROOT_IDIR}/compute --with-cn-mrnet ${KROOT_IDIR}/compute --with-cn-xercesc ${KROOT_IDIR}/compute --with-cn-libmonitor ${KROOT_IDIR}/compute --with-cn-libunwind ${KROOT_IDIR}/compute --with-cn-dyninst ${KROOT_IDIR}/compute --with-cn-papi ${KROOT_IDIR}/compute --with-cn-cbtf-krell ${CBTF_IDIR}/compute --with-cn-cbtf ${CBTF_IDIR}/compute --with-binutils ${KROOT_IDIR} --with-boost ${KROOT_IDIR} --with-mrnet ${KROOT_IDIR} --with-xercesc ${KROOT_IDIR} --with-libmonitor ${KROOT_IDIR} --with-libunwind ${KROOT_IDIR} --with-dyninst ${KROOT_IDIR} --with-papi ${KROOT_IDIR} --with-cuda ${CUDA_IDIR} --with-cupti ${CUPTI_IDIR} --with-cti /opt/cray/pe/cti/1.0.4 ./install-tool --target-arch cray --build-onlyosscbtf --openss-prefix ${OSSCBTF_IDIR} --with-cn-cbtf-krell ${CBTF_IDIR}/compute --krell-root-prefix ${KROOT_IDIR} --with-mpich ${MPICH_IDIR} --with-boost ${KROOT_IDIR} --with-mrnet ${KROOT_IDIR} --with-xercesc ${KROOT_IDIR} --with-libmonitor ${KROOT_IDIR} --with-libunwind ${KROOT_IDIR} --with-dyninst ${KROOT_IDIR} --with-libelf ${KROOT_IDIR} --with-libdwarf ${KROOT_IDIR} --with-binutils ${KROOT_IDIR} --cbtf-prefix ${CBTF_IDIR} --with-papi ${KROOT_IDIR} --with-cuda ${CUDA_IDIR} --with-cupti ${CUPTI_IDIR} #./install-tool --build-offline --openss-prefix ${OSSOFF_IDIR} --with-runtime-dir ${OSSOFF_IDIR}/compute --krell-root-prefix ${KROOT_IDIR} --with-mpich ${MPICH_IDIR} --with-papi ${KROOT_IDIR} |