-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme: remove outdated manual installation instructions (#165)
- Loading branch information
1 parent
516d1b1
commit 4524350
Showing
1 changed file
with
1 addition
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,81 +29,10 @@ In most cases, running `./install.sh` should be sufficient to install all packag | |
- `--py-ver=VERSION`: Replace the Python version specified in the conda environment file with `VERSION` (e.g., `--py-ver=3.10`). | ||
- `--help`: Print this help text. | ||
|
||
## Testing the installation | ||
# Testing the installation | ||
|
||
Testing can be done by: | ||
|
||
```bash | ||
$ mirgecom/examples/run_examples.sh mirgecom/examples/ | ||
``` | ||
|
||
## Running on systems with lots of nodes (>256) | ||
On large systems, the file system can become a bottleneck for loading Python | ||
packages. On these systems, it is recommended to create a zip file with the | ||
modules to speed up the startup process. This can be done by specifying the | ||
`--modules` parameter to `install.sh`, or by running `makezip.sh` after | ||
installation. | ||
|
||
See https://github.com/illinois-ceesd/planning/issues/26 for more details. | ||
|
||
|
||
# Manual installation | ||
|
||
Please use the instructions above instead. | ||
|
||
## Running wavelet0 | ||
|
||
|
||
### Prerequesites | ||
|
||
#### Install POCL | ||
|
||
##### Installation with conda-miniforge | ||
|
||
```bash | ||
$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh | ||
# For Power8/9: | ||
# $ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-ppc64le.sh | ||
# For MacOS: | ||
# $ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh | ||
|
||
# Install Miniforge/conda: | ||
$ bash ./Miniforge3-Linux-x86_64.sh | ||
|
||
# Optional: create conda environment | ||
$ export MY_CONDA=/path/to/installed/conda # Default installation path: $HOME/miniforge3 | ||
$ $MY_CONDA/bin/conda create -n ceesd | ||
$ . $MY_CONDA/bin/activate ceesd | ||
|
||
# Install required conda packages: | ||
$ conda install pip pocl numpy pyopencl islpy flake8 mypy pudb | ||
|
||
# Install optional conda packages: | ||
$ conda install clinfo | ||
|
||
# In a new session, you may reactivate this environment using: | ||
. $MY_CONDA/bin/activate ceesd | ||
``` | ||
|
||
##### Installation with Spack | ||
|
||
```bash | ||
$ git clone [email protected]:spack/spack | ||
$ source spack/share/spack/setup-env.sh | ||
# Maybe edit your Spack config | ||
# $ spack config edit packages | ||
$ spack install pocl | ||
``` | ||
|
||
#### Install Python packages | ||
|
||
```bash | ||
$ pip install pyvisfile | ||
$ for m in pytools pymbolic dagrt leap loopy meshmode grudge mirgecom; do cd $m && pip install -e . && cd ..; done | ||
``` | ||
|
||
### Run wavelet0 | ||
|
||
```bash | ||
$ cd mirgecom/examples; python wave-eager.py | ||
``` |