Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
dorie
dorie
Commits
efa56523
Commit
efa56523
authored
Dec 18, 2016
by
Dion Haefner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python2 compatibility
parent
bd6887bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
bin/dorie.in
bin/dorie.in
+1
-2
No files found.
.gitlab-ci.yml
View file @
efa56523
...
...
@@ -27,9 +27,9 @@ build:python3:
script
:
-
cd /opt/dune/venv
-
virtualenv dorie3 --py=/usr/bin/python3
-
source /opt/dune/venv/dorie3/bin/activate && python --version && python -m pip install virtualenv
-
source /opt/dune/venv/dorie3/bin/activate
-
python -m pip install virtualenv
-
cd /opt/dune
-
python --version
-
./dune-common/bin/dunecontrol exec "rm -rf build-cmake"
-
./dune-common/bin/dunecontrol all
-
export PATH=/opt/dune/dorie/build-cmake/bin:$PATH
...
...
bin/dorie.in
View file @
efa56523
...
...
@@ -66,8 +66,7 @@ def pfg(args):
else
:
mpi_flags
=
[]
subprocess
.
check_call
([
DORIE_PYTHON
,
"pf_from_file.py"
,
args
[
"config"
],
"--parallel"
,
str
(
args
[
"parallel"
]),
*
mpi_flags
])
"--parallel"
,
str
(
args
[
"parallel"
])]
+
mpi_flags
)
except
subprocess
.
CalledProcessError
:
print
(
"Error while running DORiE"
)
sys
.
exit
(
1
)
...
...
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