-
Notifications
You must be signed in to change notification settings - Fork 31
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
Efdc mpi #366
Open
wkramer
wants to merge
75
commits into
master
Choose a base branch
from
efdc-mpi
base: master
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.
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
This removes OpenMP-based parallelisations that are present originating from the AIX-based versions. These are removed to make place for an updated, hybrid MPI & OpenMP approach.
Considers files: - CALAVBOLD.for - CALEXP2T0.for - CALPUV2C.for
This fix resolves the patch applied in OpenDA that comments out these print statements, specifically `CGATEFLX.patch` and `RWQC1.patch`.
A print is inserted before invoking `READ(*,*)` to notify the user of the suspended state of the application. This is similar to the message emitted by `PAUSE`. The behaviour is now slightly different: - To continue: ENTER should be provided in stead of 'go'; - To terminate: a signal needs to be sent manually.
This resolves the warnings raised by the compiler due to lines containing unused jump labels. For lines that only contain format specifiers or CONTINUE statements, the lines are commented. For lines that contain other instructions, such as calls to READ, only the label is removed.
The non-standard function SECNDS is replaced by SECOND throughout the source code. Since the alternative SECOND does not allow to provide a reference time, the time difference is obtained by subtracting the original reference value instead. For details on the non-standard call: https://gcc.gnu.org/onlinedocs/gcc-4.9.4/gfortran/SECNDS.html
This makes the implicit while loop for the READ statements explicit by moving the READ statement into a `DO WHILE` statement that runs until a satisfactory read is performed. This does not change the functionality, it merely makes the loop explicit and thereby suppresses the compiler warnings.
All implicit conversion is made explicit by inserting the required type casts to match the assigned variables.
This resolves the corresponding warnings raised by `-Wmaybe-uninitialized`.
This reverts commit 3dceaaf.
Some of these are old loop variables that were not removed when the corresponding parallel loops were stripped out. Others are simply additional unused variables.
These are commented here and seem unused.
The filenames '${NAME}_mpi.for' implement the MPI counter parts of the subroutines present in '${NAME}.for'.
In NIER these variables are defined in Var_Global_Mod and not explicitly passed towards the subroutines. The subroutine signature is modified accordingly.
- Replace gfortran with an MPI aware compiler (mpifort) - Add targets for the newly added MPI module and MPI sources - Add compiler flag -fallow-argument-mismatch to suppress errors resulting from type mismatch in MPI library calls.
Includes a note regarding missing patches in the NIER version of source file CGATEFLX.
* Add missing Green algae salinity tox loops * Converts .AND. to .OR. to be consistent with all other comparisons * Modify if-statement IWQFCB to check with zero
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.
No description provided.