Skip to content
Open
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
36 changes: 5 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ Make sure you have loaded a cuda model and installed nvcc.

For DELTA users, you can follow these steps:

### Installation on DELTA

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe these work for both clusters?

### Installation on Swinburne Cluster

Create a conda environment and activate it.

```bash
conda create --name periodfind python=3.10
conda activate periodfind.
conda create --name periodfind python=3.11
conda activate periodfind
```

Pick a cuda model of your choice.
Expand All @@ -159,38 +159,12 @@ Load an available model.
module load cuda/12.8
```

GPU Backend for periodfind uses pycuda.

```bash
pip install pycuda
```

Check where module puts cuda.

```bash
echo $CUDA_HOME
```
Set the environment variables so the compiler can find cuda.

```bash
export CUDA_ROOT=$CUDA_HOME # or the output from echo $CUDA_HOME
export PATH=$CUDA_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_ROOT/lib64:$LD_LIBRARY_PATH
```

Install the dependencies.

```bash
pip install cython numpy
pip install pycuda numpy cython
```

Clone the repository.

```bash
git clone https://github.com/scope-ml/periodfind.git
```


Install Rust toolchain.
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Expand All @@ -207,7 +181,7 @@ maturin develop --release
Run the installation for periodfind.
```bash
cd ..
pip install -e .
pip install .
```

### GPU backend (CUDA)
Expand Down
Loading