Skip to content

Commit 5658c1f

Browse files
committed
more bugfixes
1 parent 052d0ea commit 5658c1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ script:
2626
- "./docs/update_apidocs.sh"
2727
- mkdir data
2828
- which nosetests
29-
- nosetests --with-coverage --cover-inclusive --cover-package=pySDC,tutorial --cover-html --cover-html-dir=target/doc/build/test_coverage
29+
- nosetests --with-coverage --cover-inclusive --cover-package=core,implementation,helpers,tutorial --cover-html --cover-html-dir=target/doc/build/test_coverage pySDC/
3030
- if [[ $PYTHON_VERSION == 3 ]]; then travis-sphinx build; fi
3131

3232
after_success:

pySDC/tutorial/step_6/C_MPI_parallelization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main(cwd):
2424
# run code with different number of MPI processes
2525
for num_procs in num_procs_list:
2626
print('Running code with %2i processes...' % num_procs)
27-
cmd = ('mpirun -np ' + str(num_procs) + ' python playground_parallelization.py ../../' + fname).split()
27+
cmd = ('mpirun -np ' + str(num_procs) + ' python playground_parallelization.py ../../../' + fname).split()
2828
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=my_env, cwd=cwd)
2929
p.wait()
3030
assert p.returncode == 0, 'ERROR: did not get return code 0, got %s with %2i processes' % \
@@ -41,7 +41,7 @@ def main(cwd):
4141
# run code with different number of MPI processes
4242
for num_procs in num_procs_list:
4343
print('Running code with %2i processes...' % num_procs)
44-
cmd = ('mpirun -np ' + str(num_procs) + ' python playground_parallelization.py ../../' + fname).split()
44+
cmd = ('mpirun -np ' + str(num_procs) + ' python playground_parallelization.py ../../../' + fname).split()
4545
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=my_env, cwd=cwd)
4646
p.wait()
4747
assert p.returncode == 0, 'ERROR: did not get return code 0, got %s with %2i processes' % \

0 commit comments

Comments
 (0)