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 | |
NAME="qemu-kvm" | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
RPMBUILD_OPTS="--define '_topdir ${DIR}' --define 'dist .el6_5' --define 'rhel 6'" | |
# Default variables that have command line flags | |
QUIET=0 | |
DEBUG=0 | |
TRACE=0 |
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
#PBS -l walltime=02:00:00 | |
#PBS -q academy | |
#PBS -j oe | |
[ -z "$MODE" ] && MODE="all" | |
[ -z "$BTL" ] && MPIRUN_MCA_ARGS="" || MPIRUN_MCA_ARGS="-mca btl ${BTL},self" | |
MDTEST_ROOT="${HOME}/mdtest" | |
MDTEST_TEST_DIR="/fdata/scratch/${USER}/mdtest" |
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
-- -*- lua -*- | |
-- vim:ft=lua:et:ts=4 | |
require("sandbox") | |
require("strict") | |
local Dbg = require("Dbg") | |
local dbg = Dbg:dbg() | |
local unpack = unpack or table.unpack | |
local hook = require("Hook") |
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
#!/usr/bin/env ruby | |
# If copying this template by hand, replace the settings below including the angle brackets | |
SETTINGS = { | |
:url => "https://foreman", # e.g. https://foreman.example.com | |
:puppetdir => "/var/lib/puppet", # e.g. /var/lib/puppet | |
:puppetuser => "puppet", # e.g. puppet | |
:facts => true, # true/false to upload facts | |
:timeout => 10, | |
:threads => nil, |
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
--[[ | |
SLURM job submit filter for QOS | |
Some code and ideas pulled from https://github.com/edf-hpc/slurm-llnl-misc-plugins/blob/master/job_submit.lua | |
--]] | |
--########################################################################-- | |
-- |
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 | |
# Uses oVirt Host Deploy Protocol - http://www.ovirt.org/Features/HostDeployProtocol | |
# Define variables | |
engine="<CHANGEME ENGINE FQDN>" | |
address="<CHANGEME IPADDRESS>" # Could use `facter ipaddress` | |
sshPort=22 | |
sshKeyFingerprint=$(ssh-keygen -lf /etc/ssh/ssh_host_rsa_key | awk -F' ' '{ print $2 }') # Facter does not yet have this fact | |
sshUser="root" |
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
-- -*- lua -*- | |
-- vim:ft=lua:et:ts=4 | |
require("sandbox") | |
require("strict") | |
local Dbg = require("Dbg") | |
local dbg = Dbg:dbg() | |
local unpack = unpack or table.unpack | |
local hook = require("Hook") |
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 | |
RPMBUILD_OPTS="--define '_without_aix 1' \ | |
--define '_with_blcr 1' \ | |
--define '_with_lua 1' \ | |
--define '_without_postgres 1' \ | |
--define '_without_sgijob 1' \ | |
--define '_with_pam 1' \ | |
--define '_with_readline 1' \ | |
--define '_with_mysql 1' \ |
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
## | |
# Copyright 2013-2014 Ghent University | |
# | |
# This file is part of EasyBuild, | |
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), | |
# with support of Ghent University (http://ugent.be/hpc), | |
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en), | |
# the Hercules foundation (http://www.herculesstichting.be/in_English) | |
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). | |
# |
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
# Steps to extract the contents of perfSONAR NetInstall ISO | |
# Download ISO and MD5 checksum | |
wget http://software.internet2.edu/pS-Performance_Toolkit/pS-Performance_Toolkit-3.4-NetInstall-x86_64.iso | |
wget http://software.internet2.edu/pS-Performance_Toolkit/pS-Performance_Toolkit-3.4-NetInstall-x86_64.iso.md5 | |
md5sum -c pS-Performance_Toolkit-3.4-NetInstall-x86_64.iso.md5 | |
# Mount ISO | |
mkdir /mnt/perfsonar | |
sudo mount -o loop pS-Performance_Toolkit-3.4-NetInstall-x86_64.iso /mnt/perfsonar |