$ sudo apt-get install -y \
git wget \
make automake libtool \
gcc g++ \
libboost-all-dev \
flex bison ghostscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ g++ MyRoseTool.C -lrose -o MyRoseTool | |
$ ./MyRoseTool hello.C | |
$ ./a.out | |
Hello, ROSE! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
umask a+rx | |
: ${COMPILER_SPEC:=%intel@16.0.3} | |
: ${VARIANT:=} | |
: ${BOOST_SPEC:="boost@1.52.0 %intel@16.0.3"} | |
: ${JENKINS_WORKSPACE:="$(pwd)"} | |
: ${ROSE_BRANCH:=origin/master} | |
: ${ROSE_BRANCH_VARIANT_NAME:=} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# | |
# Author: Justin Too <justin@doubleotoo.com> | |
# Date: November 28, 2016 | |
# | |
# Copied from original rhel 7.1 script tested on Amazon Web Services (AWS) EC2 image: ami-d1315fb1 (~35 minutes). | |
# - m4.2xlarge and m4.4xlarge | |
# - 30 GB EBS volume | |
: ${DESTDIR:=~/opt} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
umask a+rx | |
: ${JENKINS_WORKSPACE:="$(pwd)"} | |
: ${BOOST_VERSION:=1.56.0} | |
export ROSE_RELEASES_HOME="/collab/usr/global/tools/rose/release" | |
export SPACK_HOME="${ROSE_RELEASES_HOME}/.spack" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source "$(dirname "${0}")/setup.sh" || exit 1 | |
source /usr/local/tools/dotkit/init.sh || exit 1 | |
use mvapich2-intel-1.9 || exit 1 | |
use gcc-4.6.1 || exit 1 | |
source /collab/usr/global/tools/rose/opt/chaos_5_x86_64_ib/boost/1_54_0/gcc/4.6.1/setup.sh || exit 1 | |
: ${JAVA_SERVER_LIB:=} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Usage: | |
# | |
# $ bash refactor.sh | |
#------------------------------------------------------------------------------ | |
: ${REFACTOR_HOME:="$(cd "$(dirname "$0")" && pwd)/refactor"} | |
: ${REPOS_HOME:="${REFACTOR_HOME}/repos"} | |
: ${ROSE_SOURCE:="${REFACTOR_HOME}/rose"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# | |
# Usage: | |
# $ ./install-boost <version: x.xx.x> | |
# | |
# Description: | |
# Installs a static release variant of the Boost C++ Libraries | |
# | |
# Website: | |
# http://www.boost.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#------------------------------------------------------------------------------- | |
# Default values | |
#------------------------------------------------------------------------------- | |
: ${SPACK_VERSION:=$1} | |
: ${SPACK_DOWNLOAD_URL:=$2} | |
: ${SPACK_DOWNLOAD_URL:="https://github.com/scalability-llnl/spack.git"} | |
: ${ENVIRONMENT_MODULES_VERSION:=3.2.10} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#------------------------------------------------------------------------------- | |
# Default values | |
#------------------------------------------------------------------------------- | |
: ${ENVIRONMENT_MODULES_VERSION:=$1} | |
: ${TCL_VERSION:=8.6.4} | |
echo "[INFO] environment_modules '$ENVIRONMENT_MODULES_VERSION'" |
NewerOlder