Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
0447a9b5
Commit
0447a9b5
authored
Nov 12, 2017
by
Jason Swails
Browse files
Test both CUDA 8 and CUDA 9 (and have it work concurrently).
parent
cee3b812
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
devtools/ci/jenkins/install.sh
devtools/ci/jenkins/install.sh
+6
-3
No files found.
devtools/ci/jenkins/install.sh
View file @
0447a9b5
...
...
@@ -11,7 +11,7 @@ cmake --version
echo
"Using clang (
`
which clang
`
) version:"
clang
--version
module load cuda conda/jenkins
module load cuda
/
${
CUDA_VERSION
}
conda/jenkins
# Constants
CONDAENV
=
openmm-test-3.5
...
...
@@ -22,8 +22,11 @@ export OPENMM_CUDA_COMPILER=`which nvcc`
# Create a conda environment, but clean up after one first. If it doesn't exist, don't complain.
# But since we are invoking this shell with -e (exit on all errors), we need || true to prevent this
# command from crashing the whole shell
create_conda_env
()
{
conda create
-yn
${
CONDAENV
}
python
=
3.5
--no-default-packages
--quiet
}
conda remove
-yn
${
CONDAENV
}
--all
--quiet
||
true
c
onda create
-yn
${
CONDAENV
}
python
=
3.5
--no-default-packages
--quiet
c
reate_conda_env
||
create_conda_env
# Crappy way to work around conda concurrency restrictions
conda
install
-yn
${
CONDAENV
}
numpy scipy pytest
--quiet
source
activate
${
CONDAENV
}
# enter our new environment
...
...
@@ -40,4 +43,4 @@ python devtools/run-ctest.py --job-duration=120 --timeout 300
# Now remove the conda environment
source
deactivate
conda remove
-yn
${
CONDAENV
}
--all
--quiet
\ No newline at end of file
conda remove
-yn
${
CONDAENV
}
--all
--quiet
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment