diff --git a/install_and_test.md b/install_and_test.md index 4a0c46f948cf955b4b36c1aa1fa68c0fdc02cae8..d883d5ca9bf5ced3ee0c3cb58bafbcd3f1702c9f 100644 --- a/install_and_test.md +++ b/install_and_test.md @@ -13,15 +13,7 @@ pip install 'hotwheels_PM[tested] @ git+ssh://git@git.ia2.inaf.it/hotwheels/PM.g This will install also the following hotwheels packages: core, io, timestep. The `[tested]` tag will install the versions of the dependencies used to test the release (`v0.0.0alpha` in this case). -You can now test the installed modules running the `hotwheels.checkup` script that will execute all `test_*` C,python and bash files: -```bash -python -m hotwheels.checkup hotwheels -``` - -The tests will be run using envirnoment varialbe `CC` for the C ompiler (will default to `gcc`), `MPICC` for the MPI compiler (will default to `mpicc`), `CXX` and `MPICXX` for the c++ version (will default to `g++` and `mpicxx` respectively). - -The PM run needs the `gsl` and `fftw3` to be installed. They should be either in a standard path (`/usr/{lib,include}`) or in your compiler search path (namely, in your `C_INCLUDE_PATH`, `CPLUS_INCLUDE_PATH`, and `LD_LIBRARY_PATH` env variables). # Install custom release versions @@ -50,3 +42,16 @@ pip install -e . cd .. python -m hotwheels.checkup hotwheels #now the tests are run with the new ./hotwheels/timestep/cosmo.c ``` + +# Run tests + +To run the C and python tests of the installed `hotwheels` components, run: + +```bash +python -m hotwheels.checkup hotwheels +``` + +The tests will be run using envirnoment varialbe `CC` for the C ompiler (will default to `gcc`), `MPICC` for the MPI compiler (will default to `mpicc`), `CXX` and `MPICXX` for the c++ version (will default to `g++` and `mpicxx` respectively). + +The PM run needs the `gsl` and `fftw3` to be installed. They should be either in a standard path (`/usr/{lib,include}`) or in your compiler search path (namely, in your `C_INCLUDE_PATH`, `CPLUS_INCLUDE_PATH`, and `LD_LIBRARY_PATH` env variables). +