Skip to content
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

Merged
merged 13 commits into from
Jul 15, 2024
Merged

Speedup analysis #105

merged 13 commits into from
Jul 15, 2024

Conversation

oussama-floor9
Copy link
Collaborator

@oussama-floor9 oussama-floor9 commented Jul 12, 2024

@oussama-floor9 oussama-floor9 requested a review from prudhomm July 12, 2024 09:16
@oussama-floor9 oussama-floor9 self-assigned this Jul 12, 2024
@@ -60,7 +60,7 @@ jobs:

- name: Run standard tests
run: |
pytest
pytest ./tests
Copy link
Collaborator

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 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it should be automatically but, when the tests are running it gives me an error with files that are not belong to /tests
image

  • No it is the only directory for tests

Copy link
Collaborator

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 ?

Copy link
Collaborator Author

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

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is N here ?

Copy link
Collaborator

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 !

Copy link
Collaborator Author

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

@prudhomm prudhomm merged commit 794af43 into main Jul 15, 2024
2 checks passed
@prudhomm prudhomm deleted the convergence_analysis branch July 15, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parareal speedup analysis fix tests pytest
2 participants