Skip to content

Instantly share code, notes, and snippets.

@colin-daniels
Created April 3, 2015 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colin-daniels/c29908b9bc2e904f7395 to your computer and use it in GitHub Desktop.
Save colin-daniels/c29908b9bc2e904f7395 to your computer and use it in GitHub Desktop.
Example config for install-bgq for CCI BG/Q at RPI
# Example config for CCI BG/Q, modify username and project name appropriately
CCI_USER=CMNDcldn
CCI_PROJ=CMND
# Local directory where the rpm files will be downloaded
RPMDIR=./rpms/$VERSION
# RPM database path on remote machine
RPMDBPATH=/gpfs/u/barn/$CCI_PROJ/shared/bgclang/rpm/$VERSION
# Prefix base (w/o version) of clang installations
PREFIX_BASE=/gpfs/u/barn/$CCI_PROJ/shared/bgclang
# SSH command used for rsync and remote install, note that this must
# be a multi-hop command because the installation script cannot be run on
# the landing pads
SSH_COMMAND="ssh -A $CCI_USER@lp03.cci.rpi.edu ssh q"
# If performing a remote install, the directory to which locally-downloaded
# RPM files will be uploaded to
REMOTE_RPMDIR=/gpfs/u/scratch/$CCI_PROJ/$CCI_USER/rpm-temp
# If set to '1', will remove (remote) RPM files after install is finished
REMOTE_TEMP=1
# Modulefile destination directory, make sure this exists before install
MODULEFILE_DIR=/gpfs/u/barn/$CCI_PROJ/shared/modulefiles/bgclang
# If set to '1', will install a template-generated modulefile in MODULEFILE_DIR
INSTALL_MODULEFILE=1
# Path to gcc/4.7.2 files
GCC472_PATH=/bgsys/drivers/ppcfloor/gnu-linux-4.7.2
# URL for nightly builds overview
NIGHTLYBUILDSURL=http://www.mcs.anl.gov/~hfinkel/bgclang/index.html
# URL of RPM directory with nightly builds
RPMURL=http://www.mcs.anl.gov/~hfinkel/bgclang/RPMS/ppc64
# Symbolic link path for nightly version
NIGHTLY_BUILD_DIR=$PREFIX_BASE/nightly
# If set to '1', the previous nightly build of bgclang will be removed
REMOVE_OLD_NIGHTLY_BUILD=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment