https://github.com/scientificcomputing/spack_repos
Spack-repositories hosted by Scientific Computing, following: https://spack.readthedocs.io/en/latest/repositories.html
https://github.com/scientificcomputing/spack_repos
Last synced: 2 months ago
JSON representation
Spack-repositories hosted by Scientific Computing, following: https://spack.readthedocs.io/en/latest/repositories.html
- Host: GitHub
- URL: https://github.com/scientificcomputing/spack_repos
- Owner: scientificcomputing
- License: mit
- Created: 2026-02-12T14:45:46.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-04-27T17:43:19.000Z (2 months ago)
- Last Synced: 2026-04-27T19:28:38.601Z (2 months ago)
- Language: Python
- Size: 114 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Copyright: COPYRIGHT
Awesome Lists containing this project
README
# spack_repos
Spack-repositories hosted by Scientific Computing, following: https://spack.readthedocs.io/en/latest/repositories.html
Clone and activate spack
```bash
. spack/share/spack/setup-env.sh
```
Create and activate a spack env
```bash
spack env create name-of-env
spack env activate name-of-env
```
To use the packages in this repo, add the `FEniCS` spack repos
```bash
spack repo add https://github.com/FEniCS/spack-fenics.git
```
then add this repository
```bash
spack repo add https://github.com/scientificcomputing/spack_repos.git
```
or clone it and add it
```bash
git clone https://github.com/scientificcomputing/spack_repos.git
spack repo add spack_repos/spack_repo/scientificcomputing
```
Then for instance add `pyscifem`
```bash
spack add py-scifem@0.16
```
Finally you can install the dependencies by first calling
```
spack concretize
```
to resolve the potentially conflicting dependencies, and then install the packages with
```
spack install -j
```
e.g
```
spack install -j 4
```
## Available packages
The following packages are currently available in this repository:
- [x] [adios4dolfinx](https://github.com/jorgensd/adios4dolfinx)
- [ ] [ap_features](https://github.com/ComputationalPhysiology/ap_features)
- [ ] [dolfinx-mpc](https://github.com/jorgensd/dolfinx_mpc)
- [x] [cardiac-geometriesx](https://github.com/ComputationalPhysiology/cardiac-geometriesx)
- [x] [circulation](https://github.com/ComputationalPhysiology/circulation)
- [x] [fenicsx-beat](https://github.com/finsberg/fenicsx-beat)
- [x] [fenicsx-ldrb](https://github.com/finsberg/fenicsx-ldrb)
- [x] [fenicsx-pulse](https://github.com/finsberg/fenicsx-pulse)
- [ ] [fenicsx-warp](https://github.com/ComputationalPhysiology/fenicsx-warp)
- [ ] [fenicsx-ii](https://github.com/scientificcomputing/fenicsx_ii)
- [x] [festim](https://github.com/festim-dev/FESTIM)
- [x] [gotranx](https://github.com/finsberg/gotranx)
- [x] [io4dolfinx](https://github.com/scientificcomputing/io4dolfinx)
- [x] [mri-toolkit](https://github.com/scientificcomputing/mri-toolkit)
- [x] [mri2mesh](https://github.com/scientificcomputing/mri2mesh)
- [x] [networks-fenicsx](https://github.com/scientificcomputing/networks-fenicsx)
- [x] [scifem](https://github.com/scientificcomputing/scifem)
- [x] [ukb-atlas](https://github.com/ComputationalPhysiology/ukb-atlas)
If you see a package that is missing, please submit an [issue](https://github.com/scientificcomputing/spack_repos/issues/new?template=package.yml)
## How to guides
### Checking out a specific version of a package
If you want to check out a specific branch, create new version, or edit an existing version of a package, you can use the `spack edit ` command, e.g
```
spack edit py-scifem
```
This will open the package.py file in your default editor, where you can make the necessary changes, for example say you want to check out a branch called `feature-x` you can add the following to the `version` section of the package.py file
```python
version("X.Y.Z.dev0", branch="feature-x")
```
where X.Y.Z is the latest release, and then use `spack add @X.Y.Z.dev0`, e.g `spack add py-scifem@X.Y.Z.dev0` to add that specific branch to your spack environment. If you have an existing environment you can edit the config file using
```
spack config edit
```
Next run
```
spack concretize --fresh --force
```
and then
```
spack install -j
```
## Contributing
We welcome contributions to this project! If you have a new package or you want to improve the existing ones, please follow the steps in [CONTRIBUTING.md](CONTRIBUTING.md).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.