Deprecate MPIMeshDistributor - #376

Merged
inducer merged 1 commit into
mainfrom
deprecate-mesh-distributor
May 3, 2023
Merged

Deprecate MPIMeshDistributor#376
inducer merged 1 commit into
mainfrom
deprecate-mesh-distributor

Conversation

@inducer

Copy link
Copy Markdown
Owner

cf. #342.

@inducer
inducer requested a review from majosmMay 3, 2023 17:32
@inducer
inducerforce-pushed the deprecate-mesh-distributor branch from e3f74f2 to 18c472aCompareMay 3, 2023 17:35

@majosmmajosm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM apart from Mypy issue. I think it's a bad type annotation in mpi4py and can be ignored; the tutorial for scatter uses None as well (see https://mpi4py.readthedocs.io/en/stable/tutorial.html -- search for "Scattering Python objects").

@inducer
inducerforce-pushed the deprecate-mesh-distributor branch from 18c472a to f85deceCompareMay 3, 2023 21:03
@inducer
inducer merged commit e9a8bb4 into mainMay 3, 2023
@inducer
inducer deleted the deprecate-mesh-distributor branch May 3, 2023 21:46
Sign up for freeto 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

@inducer@majosm
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all \u003cpre\u003e\u003ccode\u003e blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks"); } } catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); } })(); })();
Skip to content

Deprecate MPIMeshDistributor - #376

Merged
inducer merged 1 commit into
mainfrom
deprecate-mesh-distributor
May 3, 2023
Merged

Deprecate MPIMeshDistributor#376
inducer merged 1 commit into
mainfrom
deprecate-mesh-distributor

Conversation

@inducer

Copy link
Copy Markdown
Owner

cf. #342.

@inducer
inducer requested a review from majosmMay 3, 2023 17:32
@inducer
inducerforce-pushed the deprecate-mesh-distributor branch from e3f74f2 to 18c472aCompareMay 3, 2023 17:35

@majosmmajosm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM apart from Mypy issue. I think it's a bad type annotation in mpi4py and can be ignored; the tutorial for scatter uses None as well (see https://mpi4py.readthedocs.io/en/stable/tutorial.html -- search for "Scattering Python objects").

@inducer
inducerforce-pushed the deprecate-mesh-distributor branch from 18c472a to f85deceCompareMay 3, 2023 21:03
@inducer
inducer merged commit e9a8bb4 into mainMay 3, 2023
@inducer
inducer deleted the deprecate-mesh-distributor branch May 3, 2023 21:46
Sign up for freeto 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

@inducer@majosm