-
Notifications
You must be signed in to change notification settings - Fork 353
WIP: YAC-coupling integration in Elmer (colouring and mpi_handshake) #682
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
Draft
BenjaminRodenberg
wants to merge
28
commits into
ElmerCSC:yac-coupling
Choose a base branch
from
BenjaminRodenberg:yac-coupling-refactoring
base: yac-coupling
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.
Draft
Changes from 15 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
c2e3791
A fix related to the BodyId of a boundary element
mmalinen 6cf67f0
Revise some checks related to BoundaryInfo % Right/Left
mmalinen f39095d
Update some comments
mmalinen 4a1b729
Delete fem/src/elmer_grid.h
tzwinger e5927a6
Delete fem/src/elmer_grid.c
tzwinger eb4b3c1
removed elmer_grid.c from file list in fem/src/CMakeLists.txt
tzwinger a208f31
removed dummy grid reader read_grid_c
tzwinger 5ac0c80
changed order of ElmerIce config in main CmakeLists.tzt in order to e…
tzwinger 44f2aab
Merge branch 'devel' into yac-coupling
tzwinger c74c393
removed default No Matrix in Flotation.F90
tzwinger 93b140e
Refactoring for YAC coupling w.r.t comm split
BenjaminRodenberg 652420e
Merge branch 'yac-coupling' into yac-coupling-refactoring
BenjaminRodenberg 56d61d2
Prefer END IF over ENDIF.
BenjaminRodenberg 272d3d5
Revert changes related to elmer_grid.
BenjaminRodenberg ffd155b
Fix CMake.
BenjaminRodenberg 05c1cde
Apply suggestions from code review
BenjaminRodenberg 1ca7aaf
Check for config file outside of handshake.
BenjaminRodenberg 161bf99
Fix warning.
BenjaminRodenberg 7b0d039
Check for config files at beginning.
BenjaminRodenberg 956ae50
Fix warning.
BenjaminRodenberg 6b4a798
Merge branch 'yac-coupling-config-files' into yac-coupling-refactoring
BenjaminRodenberg 1d822a6
Minor formatting and consistency.
BenjaminRodenberg 95fea48
Merge branch 'yac-coupling-config-files' into yac-coupling-refactoring
BenjaminRodenberg 25e3921
Remove (probably) unnecessary TRIM
BenjaminRodenberg 14e187c
Fix WRITE statement.
BenjaminRodenberg 7cc577c
Merge branch 'yac-coupling-config-files' into yac-coupling-refactoring
BenjaminRodenberg 2c9858b
Check for config files at beginning.
BenjaminRodenberg 6e80a7c
Merge branch 'yac-coupling-config-files' into yac-coupling-refactoring
BenjaminRodenberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| MESSAGE(STATUS "Checking whether XIOS supports MPI Handshake") | ||
|
|
||
| # Define the test source code (Fortran code) for the MPI Handshake check | ||
| FILE(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/test_xios_mpi_handshake.f90" | ||
| " | ||
| PROGRAM test_mpi_handshake | ||
| ! Try importing mpi_handshake modules | ||
| USE xios, ONLY: xios_mpi_handshake, xios_MAX_GROUPNAME_LEN | ||
| IMPLICIT NONE | ||
| END PROGRAM test_mpi_handshake | ||
| ") | ||
|
|
||
| set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -I${XIOS_INCLUDE_DIR}") | ||
| TRY_COMPILE(TEST_XIOS_HAS_MPI_HANDSHAKE | ||
| ${CMAKE_BINARY_DIR} | ||
| ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/test_xios_mpi_handshake.f90 | ||
| OUTPUT_VARIABLE OUTPUT | ||
| ) | ||
|
|
||
| # Check if the compilation was successful | ||
| IF(TEST_XIOS_HAS_MPI_HANDSHAKE) | ||
| message(STATUS "Checking whether XIOS supports MPI Handshake -- yes") | ||
| set(XIOS_HAS_MPI_HANDSHAKE 1 CACHE BOOL "") | ||
| ELSE(TEST_XIOS_HAS_MPI_HANDSHAKE) | ||
| message(STATUS "Checking whether XIOS supports MPI Handshake -- no") | ||
| set(XIOS_HAS_MPI_HANDSHAKE 0 CACHE BOOL "") | ||
| ENDIF(TEST_XIOS_HAS_MPI_HANDSHAKE) | ||
| MARK_AS_ADVANCED(XIOS_HAS_MPI_HANDSHAKE) |
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.