Commit a9173365 authored by French, Robert's avatar French, Robert
Browse files

Make sure correct gcc is loaded before launching

parent 171abce8
......@@ -4,7 +4,7 @@ stages:
build:eos:
script:
- ./build-eos.sh
- ./ci_targets/eos/build.sh
tags:
- eos
stage: build
......@@ -14,7 +14,7 @@ build:eos:
test:eos:
script:
- ./test-eos.sh
- ./ci_targets/eos/test.sh
tags:
- eos
stage: test
......
#!/bin/bash -ex
#!/bin/bash
#PBS -A STF007
#PBS -l nodes=1
#PBS -l walltime=1800
#PBS -N oersted_tests_eos
#PBS -j oe
export MEMBERWORK=/lustre/atlas/scratch/frenchrd
export MODULESHOME=/sw/xc30/environment-modules/3.2.10.3/sles11.3_gnu4.9.0
source $MODULESHOME/init/bash
module unload PrgEnv-intel PrgEnv-gnu PrgEnv-pgi PrgEnv-cray
module load PrgEnv-gnu
module swap gcc gcc/6.1.0
cd $PBS_O_WORKDIR
cp build/eos/test/run_tests /ccs/proj/stf007/oersted_tests_eos.exe
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment