Skip to content

Commit

Permalink
Merge pull request #86 from Bears-R-Us/compilation_warnings
Browse files Browse the repository at this point in the history
Final Prep for new Arachne Release
  • Loading branch information
zhihuidu authored Jan 22, 2024
2 parents ab3bf6b + 260ad5d commit 252a04c
Show file tree
Hide file tree
Showing 9 changed files with 938 additions and 220 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
This is an external repository to build functionality for [Arkouda](https://github.com/Bears-R-Us/Arkouda) with a focus on advanced graph processing. It is built with the same structure as [arkouda-contrib](https://github.com/Bears-R-Us/arkouda-contrib) to manage modules and easily swap between the production (`arachne`) and development (`arachne_development`) directories.

## Prerequisites
1. Download and build [Chapel](https://chapel-lang.org/download.html). **Use version 1.31.0. There are some [reported performance issues](https://github.com/chapel-lang/chapel/issues/23680) with 1.32.0 that are being looked at.**
2. Download but **do not build** [Arkouda](https://github.com/Bears-R-Us/arkouda). **We recommend using the most recent release v2023.10.06.**
1. Download and build [Chapel](https://chapel-lang.org/download.html). **Chapel version 1.32.0 and 1.33.0 are supported.**
2. Download but **do not build** [Arkouda](https://github.com/Bears-R-Us/arkouda). **We recommend using the most recent release v2023.11.15.**
3. Follow instructions to activate the Arkouda environment and install all [prerequisites](https://github.com/Bears-R-Us/arkouda#prerequisites-toc). **We recommend using `Anaconda` to manage all dependencies.**

## Installation
Expand Down
8 changes: 2 additions & 6 deletions arachne/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ python3 module_configuration.py --ak_loc=/complete/path/to/arkouda/ --pkg_path=/
```

## Usage
To see an example on how to run and use Arachne, please use `arkouda-njit/arachne/arachne_sample.py` to build a random graph and run breadth-first search on it. This assumes that you have started an Arkouda server using `./arkouda_server` in the Arkouda home directory. The file is executed as follows:
```bash
python3 arachne_sample.py node port n m x y
```
Where `n` is the number of vertices in the graph, `m` is the number of edges, `host` is the locale that the Arkouda server is running on, and `port` is where the Arkouda server is listening on for messages. Further, the graph is populated with `x` labels and `y` relationships.
To see an example on how to run and use Arachne, please use `arkouda-njit/arachne/arachne_sample.ipynb` to build a random property graph and run queries. This assumes that you have started an Arkouda server using `./arkouda_server` in the Arkouda home directory.

## Testing
The Arachne tests are executed from the arkouda-njit/arachne directory as follows with pytest:
```bash
python3 -m pytest test/algorithm_test.py test/class_test.py
python3 -m pytest test/algorithm_test.py test/class_test.py test/prop_graph_test.py
```
Loading

0 comments on commit 252a04c

Please sign in to comment.