#!/bin/bash
#title           :load_sim_tools.sh
#description     :Script to load simulation software on the Collaboratory Lab containers from the Object Storage at CSCS.
#author          :Athanasios Karmas
#date            :20210601   
#usage           :source ./load_sim_tools.sh
#==============================================================================

echo "Setting up environment..."

cp -r /srv/test-build/spack/.spack ~
source /srv/test-build/spack/share/spack/setup-env.sh

cd /srv/test-build/
spack repo add ebrains-spack-builds
spack env activate ebrains-spack-builds

echo "Everything ready!"
#echo "Starting Python..."
#python
