Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro authored and Mauro committed Sep 7, 2023
1 parent b530218 commit 2fcba83
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The packages needed for running LDL are:

## Important notes

Note that installing the packages above with the procedure indicated in the READMEs results in errors when running the code mostly due to updates of numpy. Specifically, ```pmesh/domain.py``` should have
Note that ***installing the packages above with the procedure indicated in the READMEs results in errors when running the code***. Specifically, ```pmesh/domain.py``` should have

```python
self.edges = [numpy.asarray(g) for g in edges]
Expand All @@ -31,6 +31,12 @@ at line 87, see [this](https://github.com/rainwoodman/fastpm-python/issues/18).

The vmad code installed via ```pip install vmad``` is outdated and will yield errors. Clone the repo and update the package manually.

Additionally, there may be problems with mpi4py, as the installed version may require a file named ```libmpi.so.12``` which apparently used to come with OpenMPI v1.10, which is no longer supported. A workaround consists in installing mpich, locating ```libmpich.so.12``` and creating a symbolic link from it to ```libmpi.so.12```.

## Docker

The attached Dockerfile builds an image from ubuntu installing nbodykit, vmad and fastpm correctly on a conda environment called LDLenv. Additional files in the Docker folder can be used to test the image created.

## Actions

At the moment, actions only test wether LDL.py and model.py work as intended when producing a stellar map. In the future, it should also include a test run of the N-body simulator (different simulators with different codes may be used, but this has not been fully defined yet).

0 comments on commit 2fcba83

Please sign in to comment.