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
76d0252c
Unverified
Commit
76d0252c
authored
Nov 12, 2017
by
peastman
Committed by
GitHub
Nov 12, 2017
Browse files
Merge pull request #1933 from swails/test-cuda-versions
Test both CUDA 8 and CUDA 9 (and have it work concurrently).
parents
cee3b812
0447a9b5
Changes
1
Show 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 @
76d0252c
...
@@ -11,7 +11,7 @@ cmake --version
...
@@ -11,7 +11,7 @@ cmake --version
echo
"Using clang (
`
which clang
`
) version:"
echo
"Using clang (
`
which clang
`
) version:"
clang
--version
clang
--version
module load cuda conda/jenkins
module load cuda
/
${
CUDA_VERSION
}
conda/jenkins
# Constants
# Constants
CONDAENV
=
openmm-test-3.5
CONDAENV
=
openmm-test-3.5
...
@@ -22,8 +22,11 @@ export OPENMM_CUDA_COMPILER=`which nvcc`
...
@@ -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.
# 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
# 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
# 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
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
conda
install
-yn
${
CONDAENV
}
numpy scipy pytest
--quiet
source
activate
${
CONDAENV
}
# enter our new environment
source
activate
${
CONDAENV
}
# enter our new environment
...
...
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