-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedup analysis #105
Speedup analysis #105
Conversation
oussama-floor9
commented
Jul 12, 2024
•
edited by prudhomm
Loading
edited by prudhomm
- closes Parareal speedup analysis #96 update time.sh and lorenz_parallel.py + add results for speedup analysis
- closes fix tests pytest #91
@@ -60,7 +60,7 @@ jobs: | |||
|
|||
- name: Run standard tests | |||
run: | | |||
pytest | |||
pytest ./tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pytest should be able to find automatically the tests in subdirectories
why did you have to add ./tests ?
do you have other directories with tests ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notebooks/python/execution_times.txt
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be a good idea to rename the output data file and add a date and time in the name ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok i will rename it and add the date time
notebooks/python/lorenz_parallel.py
Outdated
@@ -15,11 +15,11 @@ | |||
# Model parameters | |||
sigma, rho, beta = 10.0, 28.0, 8/3 | |||
U0 = np.array([5, -5, 20]) | |||
tspan = [0., 5.] | |||
tspan = [0., 10.] | |||
lorenz_ = lambda t, state: lorenz(t, state, sigma, rho, beta) | |||
|
|||
# Parareal params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is N here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the comment or use a clearer name !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
N is the number of sub-intervals