Skip to content

Remove one_image_prints_{m,s} module and submodule#125

Merged
rouson merged 5 commits intomainfrom
rm-one_image_prints_m
Nov 4, 2025
Merged

Remove one_image_prints_{m,s} module and submodule#125
rouson merged 5 commits intomainfrom
rm-one_image_prints_m

Conversation

@rouson
Copy link
Copy Markdown
Contributor

@rouson rouson commented Nov 2, 2025

This PR removes the one_image_prints_m module and one_image_prints_s submodule.
The removed (sub)module contained print procedures that captured a uniform pattern for single-image printing. This commit switches to simply using that pattern everywhere single-image printing is desired. Doing so avoids the rank limitations of the removed module.

The initial inspiration for this PR came from a desire to count the number of places in which Julienne uses multi-image parallel features. The purpose of the count was to determine the amount of work that would be required to offer optional support for alternative parallel programming models such as MPI. Not counting program launch and termination, there are now only 9 places in the core library (the src subdirectory) that explicitly reference multi-image features, which suggests that offering optional support for alternative parallel programming models likely requires only minimal effort.

Feature Occurrences
this_image 4
num_images 2
sync all 2
co_sum 1

The primary goal of the above module's print procedures was to
capture a uniform pattern for single-image printing.  This commit
switches to simply using that pattern everywhere single-image
printing is desired.  Doing so avoids the rank limitations of the
removed module.
@rouson rouson requested a review from ktras November 2, 2025 23:30
Copy link
Copy Markdown
Collaborator

@ktras ktras left a comment

Choose a reason for hiding this comment

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

Looks great, but I think there should be one minor change.

Comment thread test/legacy-driver.F90
@rouson rouson merged commit 0792c17 into main Nov 4, 2025
44 checks passed
@rouson rouson deleted the rm-one_image_prints_m branch November 4, 2025 01:02
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.

2 participants