Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ https://github.com/igfuw/libcloudphxx

Build instructions can be found in [build_instructions.md](https://github.com/igfuw/UWLCM/blob/master/build_instructions.md) (model dependencies can be manually installed, installed with Spack or the model can be ran in a Singularity image).

Scripts for building and running the model on specific clusters can be found in https://github.com/iguw/UWLCM-recipies
Scripts for building and running the model on specific clusters can be found in https://github.com/igfuw/UWLCM-recipies
6 changes: 3 additions & 3 deletions build_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ $ git clone https://github.com/igfuw/libmpdataxx.git
- in the build direcory issue:

```bash
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=gcc -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} .. ; make install
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} .. ; make install
```

4. Build and install libcloudph++, e.g.:
- create “build” directory: libcloudphxx/build
- in the build direcory issue:

```bash
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=gcc -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DLIBCLOUDPHXX_FORCE_MULTI_CUDA=True .. ; make -j4 install
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DLIBCLOUDPHXX_FORCE_MULTI_CUDA=True .. ; make -j4 install
```

5. Build and install UWLCM using the Singularity image:
- create “build” directory: UWLCM/build
- in the build direcory issue:

```bash
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=gcc
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}
-Dlibmpdata++_DIR=${INSTALL_DIR}/share/libmpdata++
-Dlibcloudph++_DIR=${INSTALL_DIR}/share/libcloudph++ .. ; make -j4 install
Expand Down