{"id":16806568,"url":"https://github.com/pkgw/dedalus-builder","last_synced_at":"2025-03-17T08:16:14.143Z","repository":{"id":138163797,"uuid":"106220534","full_name":"pkgw/dedalus-builder","owner":"pkgw","description":"Make system-tuned Conda packages of the Dedalus differential equation solver.","archived":false,"fork":false,"pushed_at":"2017-10-14T12:21:07.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-23T17:35:24.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkgw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/check-environment.py","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-09T00:36:22.000Z","updated_at":"2019-01-03T03:59:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"4dbf2569-2851-4d5a-bd79-34c2dbe6e873","html_url":"https://github.com/pkgw/dedalus-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgw%2Fdedalus-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgw%2Fdedalus-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgw%2Fdedalus-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgw%2Fdedalus-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkgw","download_url":"https://codeload.github.com/pkgw/dedalus-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997126,"owners_count":20380981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T09:51:20.533Z","updated_at":"2025-03-17T08:16:14.132Z","avatar_url":"https://github.com/pkgw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dedalus-builder\n\nThe scripts in this repository make it easy to install Dedalus on your system\nin a way that leverages your system’s native MPI and/or BLAS implementations.\n\n## The approach\n\nWe use Anaconda Python and its `conda` tool to make pre-compiled packages of\nDedalus and its dependencies. For dependencies that do not depend sensitively\non your system’s particular characteristics, we use pre-built packages from\nthe [conda-forge](https://conda-forge.org/) project. But when we can take\nadvantage of your system MPI or BLAS installations, we build custom packages.\n\nYou can then install these packages into new directory to create a\nself-contained Python installation that includes Dedalus and its dependencies.\nOr, if you already have an Anaconda installation, you can install the packages\ninto that directory.\n\nThe packages built by this tool include binary code that depends on your\ncomputer's pre-existing MPI setup. So they *might* be portable to other\nsystems, if they have a compatible setup, but they probably won’t be.\n\n## Instructions\n\nFirst, set up your shell environment so that the programs can identify any\nsystem libraries you wish to use:\n\n- If you wish to use a system MPI installation, make sure that the desired\n  `mpicc` program is in your `$PATH`. Otherwise, Anaconda’s prepackaged\n  MPI implementation will be used.\n- If you wish to use a system BLAS installation, pass the argument\n  `--with-blas=LIBDIR` to the `./configure` program described below, where\n  your BLAS libraries live in the directory `LIBDIR`.\n\nThen, run `./initialize`. This will download and set up a self-contained\nversion of the Conda build infrastructure.\n\nThen, run `./configure`, possibly adding a `--with-blas=LIBDIR` argument. This\nwill validate your build configuration and save its parameters. If you need to\nalter your build environment, just rerun this script.\n\nThen run `./compile`. This will compile Dedalus and its the MPI- and\nBLAS-sensitive dependencies, creating binary package files in the Conda\nformat. The goal is that these builds should succeed reliably but there are\nlikely bugs that need to be shaken out.\n\nOnce the packages are built, you have two installation choices. By running\n`./install-fresh \u003cprefix\u003e`, you can create a new, self-contained Python\ninstallation that contains Dedalus and IPython. By running `./install-into\n\u003cprefix\u003e`, you can install Dedalus into a preexisting Anaconda Python\ninstallation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgw%2Fdedalus-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkgw%2Fdedalus-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgw%2Fdedalus-builder/lists"}