Title: Meta: Scientific Python macOS Stack · Issue #16215 · spack/spack · GitHub
Open Graph Title: Meta: Scientific Python macOS Stack · Issue #16215 · spack/spack
X Title: Meta: Scientific Python macOS Stack · Issue #16215 · spack/spack
Description: This issue is a multi-months experience report on getting a pretty standard scientific software stack up on macOS. Thank you to @LDAmorim for trying and reporting all things in a dedicated manner. You are the best! ✨ Thank you also alrea...
Open Graph Description: This issue is a multi-months experience report on getting a pretty standard scientific software stack up on macOS. Thank you to @LDAmorim for trying and reporting all things in a dedicated manner. ...
X Description: This issue is a multi-months experience report on getting a pretty standard scientific software stack up on macOS. Thank you to @LDAmorim for trying and reporting all things in a dedicated manner. ...
Opengraph URL: https://github.com/spack/spack/issues/16215
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Meta: Scientific Python macOS Stack","articleBody":"This issue is a multi-months experience report on getting a pretty standard scientific software stack up on macOS. Thank you to @LDAmorim for trying and reporting all things in a dedicated manner. You are the best! :sparkles: \r\nThank you also already to everyone that helped us in the last months, you rock :rocket: \r\n\r\n### Setup a Compiler\r\n\r\nThe first steps are already problematic.\r\n`Clone`-and-go is not really an option even on the latest macOS Catalina, too many things are just GCC specific. One can document this, to ease the pain.\r\n\r\nUsers will try to bootstrap a GCC with `spack install gcc`. This usually/often/randomly(?) will fail when bootstrapping from AppleClang (latest test: works :tada:). The Slack-level work-around is to use `brew install gcc` and register that. If that's the only way to get started, then let's document that.\r\n\r\nAlternatively, let's try to get dependency/package issues fixed with AppleClang.\r\n\r\n### The Software Stack\r\n\r\n```\r\nspack install py-jupyter\r\nspack install py-scipy\r\nspack install py-matplotlib\r\nspack install py-docutils\r\nspack install py-packaging\r\nspack install py-sympy\r\nspack install py-mpi4py\r\nspack install py-sphinx\r\nspack install py-sphinxcontrib-programoutput\r\nspack install py-sphinx-rtd-theme\r\nspack install graphviz\r\nspack install git\r\nspack install mercurial\r\nspack install subversion\r\n```\r\n\r\n### Related Issues\r\n\r\nSo far, half of the newly reported issue were solvable. Other related macOS + GCC issues (among other open ones in which the user participates):\r\n\r\n- https://github.com/spack/spack/issues?q=is%3Aissue+author%3Aldamorim+\r\n\r\nStill challenging are even some basics:\r\n- `python` itself: https://github.com/spack/spack/issues/2230#issuecomment-614293185\r\n- `py-setuptools` https://github.com/ax3l/spack-emacs/runs/606176488?check_suite_focus=true\r\n- `py-numpy` does not build without disabling blas and lapack\r\n- `openblas`: IIRC, the source issue for `py-numpy`\r\n- `py-jupyter` https://github.com/spack/spack/issues/15410 (and below)\r\n- `glib` https://github.com/spack/spack/issues/16214\r\n\r\n### Time to Solution\r\n\r\nJust to mention, build times on Apple laptops for python stacks are problematic, in part since people keep older hardware (but with recent OS versions) for (too) many years and in part because all laptop build times are problematic (a maximum of 4 physical cores is what most people have these days).\r\n\r\nA single issue down the stack rebuilds many large dependencies such as `llvm` regularly, since such huge projects are used in many popular python packages. One cannot understate what an influence build caches for macOS would have.\r\n\r\n### Impact\r\n\r\nmacOS developer laptops are (for me) surprisingly common, for example more than half of our group develops on one. So covering common stacks reliably will have a large impact. (Memo to myself: `*Apply nudge to all of you to switch to Linux now. You are all just using a GNU/Linux software stack in an expensive case :-p *` Back to topic?)\r\n\r\n### Information on your system\r\n\r\nmacOS 10.15 Catalina","author":{"url":"https://github.com/ax3l","@type":"Person","name":"ax3l"},"datePublished":"2020-04-21T19:17:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/16215/spack/issues/16215"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:36466c56-1dd8-7787-7570-5181ed849bb1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E02A:105FA5:4BAADC6:64F5AC4:6A654259 |
| html-safe-nonce | 934de13c4d74d124cbfb7d24d7953d036bdf64c13b58bba41b8b2694cb371cca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDJBOjEwNUZBNTo0QkFBREM2OjY0RjVBQzQ6NkE2NTQyNTkiLCJ2aXNpdG9yX2lkIjoiMTY1OTAxNjgzODgyMjMxNDU4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72c002d192e97efec59c49e39d91acec1ce1e6d7fd8ea0dbb1e728178acc9551 |
| hovercard-subject-tag | issue:604222415 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/spack/spack/16215/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf9d5b822c646fdbb4e4708df95dd443d67330519890729435470a8e2472e8de/spack/spack/issues/16215 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf9d5b822c646fdbb4e4708df95dd443d67330519890729435470a8e2472e8de/spack/spack/issues/16215 |
| og:image:alt | This issue is a multi-months experience report on getting a pretty standard scientific software stack up on macOS. Thank you to @LDAmorim for trying and reporting all things in a dedicated manner. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ax3l |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| go-import | github.com/spack/spack git https://github.com/spack/spack.git |
| octolytics-dimension-user_id | 25539161 |
| octolytics-dimension-user_login | spack |
| octolytics-dimension-repository_id | 15730865 |
| octolytics-dimension-repository_nwo | spack/spack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15730865 |
| octolytics-dimension-repository_network_root_nwo | spack/spack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width