-
Notifications
You must be signed in to change notification settings - Fork 21
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
Omp #18
Open
jguterl
wants to merge
69
commits into
LLNL:omp
Choose a base branch
from
jguterl:omp
base: omp
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Omp #18
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ow a separate package which works with any version of uedge (python)
…d local variables
…nterface for nk solver
…xtend the jacobian bandwidth for phi equations with the banded preconditionner.
…with openmp: adding stop to abort exmain by waiting for the end of the jacobian/pandf1 evaluation before interrupting the process. Critical to avoid threads to be hanging after interruption (abort/exit cannot be used with openmp). Added a trap in nksol to interrupt nksol when exmain_aborted=True (requires adding dependency of svr on bbb in makefile and chnaing order in which pakcages are loaded in uedge.py). (Can we interrupt each thread wth a siglongjmp and sigaction?. Here is an example with pthreads:https://stackoverflow.com/questions/8138168/signal-handling-in-openmp-parallel-program. Apparently this is not possible. Need a condition somewhere in the threaded loop.)
…his is a pure semantic modification.
…openmp when calling omp routines
…_aux(ix,iy). Parsing prupose
…oid parsing it(to messy to be parsed…)
…d roadblockers for openmp
…d roadblockers for openmp
…nd add reading capabilities of simagxs and sibdrys (backward compatibility with old gridue files is maintained).
…dded in oderhs.m + option for range of indexes in convert_vo and convert_aux for call to pandf1 with xc=-1 and yc>0
…dded in oderhs.m + option for range of indexes in convert_vo and convert_aux for call to pandf1 with xc=-1 and yc>0
…is is just dumping symbols...not debugging)
…start from python
… 485 (probably not initialized correctly in threads)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix sfsetnk issue with first call to sf
Fix v2cde issue in boundary.m
Add option to keep bandwith adjustment when isphion=1 (variable bbb.ExtendedJacPhi)
Add out of bound checks in the routine csrbnd. That should allow to extend the jacobian bandwidth for phi equations with the banded preconditionner.
Add EvalDumpJac for jacobian bandwith analaysis (see UEDGEToolBox)
Modification exmain.c for proper interruption of parallel evaluation with openmp: adding "stop" to abort exmain by waiting for the end of the jacobian/pandf1 evaluation before interrupting the process. Critical to avoid threads to be hanging after interruption (abort/exit cannot be used with openmp). Added a trap in nksol to interrupt nksol when exmain_aborted=True (requires adding dependency of svr on bbb in makefile and chnaing order in which pakcages are loaded in uedge.py). (Can we interrupt each thread wth a siglongjmp and sigaction?. Here is an example with pthreads:https://stackoverflow.com/questions/8138168/signal-handling-in-openmp-parallel-program. Apparently this is not possible. Need a condition somewhere in the threaded loop.)
Semantic modification for fortran code parsing purpose:
Add roadblockers in pandf to prevent non-validated usage of pandf with openmp
Add GridFileName to read gridfile from a file different than gridue and add reading capabilities of simagxs and sibdrys (backward compatibility with old gridue files is maintained).
add githash into the version.py so githash can be printed out...
Parallelization of Pandf1:
Guide for OMP JAc debug debug:
Suggestion for improvment:
Because python requires call the parent object of method/variables, a decision needs to be made quickly...