Skip to content

Commit

Permalink
Conda-package (#39)
Browse files Browse the repository at this point in the history
* Conda installation hints to README.md

Also, refer to conda-forge/staged-recipes#28099

---------

Co-authored-by: Sanath Keshav <[email protected]>
Co-authored-by: Ishaan Desai <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2024
1 parent a4f8cc3 commit 62da6de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ test/input_files/**/*.json
**/scratch/

# Test microstructure files
!sphere.h5
!sphere32.h5

# Test input files
!test_LinearElastic.json
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Fourier Accelerated Nodal Solvers (FANS) is an FFT-based homogenization solver d
- [Dependencies](#dependencies)
- [Building](#building)
- [Installing](#installing)
- [Input file format](#input-file-format)
- [Input File Format](#input-file-format)
- [Examples](#examples)

## Dependencies
Expand Down Expand Up @@ -144,6 +144,21 @@ Install FANS (system-wide) using the following options:
apt install packages/fans-dev_<version>_<architecture>.deb
```
### Install using Conda
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/fans/badges/version.svg)](https://anaconda.org/conda-forge/fans)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/fans/badges/platforms.svg)](https://anaconda.org/conda-forge/fans)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/fans/badges/downloads.svg)](https://anaconda.org/conda-forge/fans)
FANS is also available as a conda-package on [conda-forge](https://anaconda.org/conda-forge/fans). No dependencies have to be manually installed for it to work.
It can be installed via
```bash
conda install fans
```
exposing the executable `FANS`.
## Input File Format
FANS requires a JSON input file specifying the problem parameters. Example input files can be found in the [`test/input_files`](test/input_files) directory. It is recommended to use these files as a reference to create your own input file.
Expand Down

0 comments on commit 62da6de

Please sign in to comment.