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

Small fixes #465

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Small fixes #465

merged 2 commits into from
Jul 29, 2024

Conversation

brownbaerchen
Copy link
Contributor

I fixed a few typos in Allen-Cahn problems. In the MPI version with forcing, some typos were bugs. Since the bugs only effect runs with a single processor, I don't think it matters too much. All other typos were in comments. Also, in the non-MPI version I removed some unnecessary copying and reshaping.

Also, there is a new version of mpi4py. If you now try to pickle a communicator, it will raise a ValueError for whatever reason. So we need to add this in the non-MPI controller step instantiation. This update must have been extremely recently because the actions this morning passed, but this one in the meantime failed, in case you don't believe me ;).

@brownbaerchen brownbaerchen added girl scout rule All you did was leave the campground slightly cleaner than you found it. fix labels Jul 29, 2024
@pancetta pancetta merged commit 2363944 into Parallel-in-Time:master Jul 29, 2024
92 checks passed
brownbaerchen added a commit to brownbaerchen/pySDC that referenced this pull request Jul 29, 2024
* Small fixes

* Fix for breaking update of mpi4py

#!!!!!!!!!! WARNING: FLAKEHEAVEN FAILED !!!!!!!!!!: 
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/controller_classes/controller_nonMPI.py:211:17: E741 ambiguous variable name 'l'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/controller_classes/controller_nonMPI.py:424:21: E741 ambiguous variable name 'l'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/controller_classes/controller_nonMPI.py:448:21: E741 ambiguous variable name 'l'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/controller_classes/controller_nonMPI.py:586:13: E741 ambiguous variable name 'l'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/controller_classes/controller_nonMPI.py:649:13: E741 ambiguous variable name 'l'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:11:121: E501 line too long (122 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:16:121: E501 line too long (127 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:28:121: E501 line too long (123 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:31:121: E501 line too long (130 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:97:40: E203 whitespace before ':'
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:202:121: E501 line too long (121 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:208:121: E501 line too long (127 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:220:121: E501 line too long (125 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_2D_FFT.py:223:121: E501 line too long (130 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:10:121: E501 line too long (127 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:16:121: E501 line too long (126 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:22:121: E501 line too long (126 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:23:121: E501 line too long (129 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:172:121: E501 line too long (127 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:179:121: E501 line too long (126 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:185:121: E501 line too long (126 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/implementations/problem_classes/AllenCahn_MPIFFT.py:186:121: E501 line too long (129 > 120 characters):
@brownbaerchen brownbaerchen deleted the AC_fix2 branch August 8, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix girl scout rule All you did was leave the campground slightly cleaner than you found it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants