-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #648 from lukemartinlogan/dev
Improve queueing times
- Loading branch information
Showing
49 changed files
with
493 additions
and
292 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,14 +45,15 @@ class Hermes(CMakePackage): | |
depends_on('cereal') | ||
depends_on('yaml-cpp') | ||
depends_on('libaio') | ||
depends_on('[email protected]') | ||
depends_on('doxygen') # @1.9.3 | ||
depends_on('[email protected]: +context +fiber +filesystem +system +atomic +chrono +serialization +signals +pic +regex') | ||
depends_on('libfabric fabrics=sockets,tcp,udp,verbs', | ||
when='+ares') | ||
depends_on('libfabric fabrics=verbs', | ||
when='+only_verbs') | ||
depends_on('libzmq', '+zmq') | ||
depends_on('[email protected]', when='+vfd') | ||
depends_on('adios2', when='+adios') | ||
|
||
def cmake_args(self): | ||
args = [] | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ class HermesShm(CMakePackage): | |
depends_on('cereal') | ||
depends_on('yaml-cpp') | ||
depends_on('libaio') | ||
depends_on('[email protected]') | ||
depends_on('doxygen') # @1.9.3 | ||
depends_on('[email protected]: +context +fiber +filesystem +system +atomic +chrono +serialization +signals +pic +regex') | ||
depends_on('libfabric fabrics=sockets,tcp,udp,verbs', | ||
when='+ares') | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# CD into git workspace | ||
cd ${GITHUB_WORKSPACE} | ||
|
||
# This script will build and install them via Spack from source | ||
# because Hermes requires a very specific version and configuration options | ||
# for each package. | ||
|
||
set -x | ||
set -e | ||
set -o pipefail | ||
|
||
# Change this especially when your $HOME doesn't have enough disk space. | ||
INSTALL_DIR="${HOME}" | ||
SPACK_DIR=${INSTALL_DIR}/spack | ||
SPACK_VERSION=0.20.2 | ||
|
||
echo "Installing dependencies at ${INSTALL_DIR}" | ||
mkdir -p ${INSTALL_DIR} | ||
|
||
# Load Spack | ||
git clone https://github.com/spack/spack ${SPACK_DIR} | ||
cd ${SPACK_DIR} | ||
git checkout v${SPACK_VERSION} | ||
|
||
# Set spack env | ||
set +x | ||
. ${SPACK_DIR}/share/spack/setup-env.sh | ||
set -x | ||
|
||
# Install jarvis-cd | ||
git clone https://github.com/grc-iit/jarvis-cd.git | ||
cd jarvis-cd | ||
pip install -e . -r requirements.txt | ||
|
||
# This will allow Spack to skip building some packages that are directly | ||
# available from the system. For example, autoconf, cmake, m4, etc. | ||
# Modify ci/pckages.yaml to skip building compilers or build tools via Spack. | ||
cd ${GITHUB_WORKSPACE} | ||
cp ci/packages.yaml ${SPACK_DIR}/etc/spack/packages.yaml | ||
|
||
# Install hermes_shm (needed for dependencies) | ||
# | ||
spack repo add ci/hermes | ||
spack install hermes_shm@master+vfd+mpiio^[email protected] | ||
# Pull the Hermes dependencies image | ||
docker pull lukemartinlogan/hermes_deps:latest | ||
docker run -d \ | ||
--mount src=${PWD},target=/hermes,type=bind \ | ||
--name hermes_deps_c \ | ||
--network host \ | ||
--memory=4G \ | ||
--shm-size=4G \ | ||
-p 4000:4000 \ | ||
-p 4001:4001 \ | ||
lukemartinlogan/hermes_deps \ | ||
tail -f /dev/null |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
if ! shopt -q login_shell; then | ||
if [ -d /etc/profile.d ]; then | ||
for i in /etc/profile.d/*.sh; do | ||
if [ -r $i ]; then | ||
. $i | ||
fi | ||
done | ||
fi | ||
fi |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.