|
|
We present how to compile and run Alya using a singularity image.
|
|
|
The image has been provided by Inria Bordeaux. We do not explain how to generate it.
|
|
|
|
|
|
## Get the image
|
|
|
|
|
|
## Load the image
|
|
|
|
|
|
```sh
|
|
|
singularity run maphys.gz.squashfs
|
|
|
```
|
|
|
|
|
|
## Configure the environment
|
|
|
|
|
|
```sh
|
|
|
source /bin/maphys_env.sh
|
|
|
```
|
|
|
|
|
|
## Test the environment configuration
|
|
|
|
|
|
```sh
|
|
|
pkg-config --cflags maphys
|
|
|
> -I/gnu/store/yrffm49q3800ryr2809b6v4wl607z84d-maphys-0.9.8.3/include -I/gnu/store/yrffm49q3800ryr2809b6v4wl607z84d-maphys-0.9.8.3/modules
|
|
|
pkg-config --libs --static maphys
|
|
|
> -L/gnu/store/yrffm49q3800ryr2809b6v4wl607z84d-maphys-0.9.8.3/lib -lmaphys -lpackcg -lpackgmres -lslatec -lmph_toolkit -lmph_mt_tool (...)
|
|
|
```
|
|
|
|
|
|
## Compile Alya
|
|
|
|
|
|
## Run Alya
|
|
|
|