-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cylon-RP] Cylon scaling test with radical-pilot #661
Merged
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
261010b
[Cylon-RP] Cylon scaling test with radical-pilot
arupcsedu fcbc98b
[Cylon-RP] Cylon scaling test with radical-pilot
arupcsedu bcee9df
[Cylon] Fix panda build error
arupcsedu b11cc8e
[Cylon] Update numpy and panda version
arupcsedu b9cf5cd
[Cylon] Update panda version
arupcsedu b0b15f0
[Cylon-radical pilot] Fix updated radical pilot script for scaling test
arupcsedu 283de82
[Cylon] Fix Cylon CI system and add slice operation on scaling test
arupcsedu 94992b6
[Cylon] Fix cython version for CI build
arupcsedu def0a2c
[Cylon] Update new version
arupcsedu 6e8b46f
fix native build
nirandaperera 82e0b7d
[Cylon] Fix numpy and pyarrow dependencies
arupcsedu c8a18b0
[Pyarrow] Update workspace file for CI build
arupcsedu 2d82bf2
update native script
arupcsedu 4ebe405
Update build.sh
arupcsedu 563cb2d
Update c-cpp.yml
nirandaperera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -4,43 +4,57 @@ Arup Sarker ([email protected], [email protected]) | |
|
||
|
||
|
||
## Intsall instructions | ||
## Install instructions | ||
|
||
Rivanna is an HPC system offerbed by University of Virginia. | ||
There are two ways you can build cylon on Rivanna. | ||
This will use custom dependencies of the system gcc, openmpi version. | ||
|
||
```shell | ||
|
||
### 1. Custom gcc conda install | ||
git clone https://github.com/cylondata/cylon.git | ||
cd cylon | ||
|
||
This will use custom dependencies of the system gcc, openmpi version and run slurm script. | ||
module load gcc/9.2.0 openmpi/3.1.6 python/3.7.7 cmake/3.23.3 | ||
|
||
python -m venv $PWD/cy-rp-env | ||
|
||
```shell | ||
git clone https://github.com/cylondata/cylon.git | ||
cd cylon | ||
conda env create -f conda/environments/cylon_rivanna_1.yml | ||
sbatch rivanna/job_cylon_rivanna_1.slurm | ||
``` | ||
source $PWD/cy-rp-env/bin/activate | ||
|
||
For more details of the dependent libraries and Slurm scripts, Please checkout the following links: | ||
|
||
* <https://github.com/cylondata/cylon/tree/main/conda/environments/cylon_rivanna_1.yml> | ||
* <https://github.com/cylondata/cylon/tree/main/rivanna/job_cylon_rivanna_1.slurm> | ||
pip install pip -U | ||
pip install pytest | ||
|
||
### 2. Module based conda install. | ||
export CC=`which gcc` | ||
export CXX=`which g++` | ||
CC=gcc MPICC=mpicc pip install --no-binary mpi4py install mpi4py | ||
pip install -U pytest-mpi | ||
pip install numpy | ||
pip install pyarrow==9.0.0 | ||
|
||
This will build Cylon by using the loaded module of openmpi and gcc. | ||
|
||
Create virtual environment | ||
rm -rf build | ||
BUILD_PATH=$PWD/build | ||
export LD_LIBRARY_PATH=$BUILD_PATH/arrow/install/lib64:$BUILD_PATH/glog/install/lib64:$BUILD_PATH/lib64:$BUILD_PATH/lib:$LD_LIBRARY_PATH | ||
|
||
./build.sh -pyenv $PWD/cy-rp-env -bpath $(pwd)/build --cpp --python_with_pyarrow --cython --test --cmake-flags "-DMPI_C_COMPILER=$(which mpicc) -DMPI_CXX_COMPILER=$(which mpicxx)" | ||
|
||
``` | ||
It will take some time to build. So, grab a coffee!!! | ||
|
||
Let's perform a scaling operation with join. Before that, we have to install the dependencies as follow. | ||
|
||
```shell | ||
git clone https://github.com/cylondata/cylon.git | ||
cd cylon | ||
conda env create -f conda/environments/cylon_rivanna_2.yml | ||
sbatch rivanna/job_cylon_rivanna_2.slurm | ||
pip install cloudmesh-common | ||
pip install openssl-python | ||
python3 -m pip install urllib3==1.26.6 | ||
``` | ||
|
||
For more details of the dependent libraries and Slurm scripts, Please checkout below links: | ||
We will slum script to run the scaling operation. | ||
|
||
```shell | ||
sbatch rivanna/scripts/scaling_job.slurm | ||
``` | ||
|
||
For more details of the dependent libraries and Slurm scripts, Please checkout the following links: | ||
|
||
<https://github.com/cylondata/cylon/tree/main/conda/environments/cylon_rivanna_2.yml> | ||
<https://github.com/cylondata/cylon/tree/main/rivanna/job_cylon_rivanna_2.slurm> | ||
* <https://github.com/cylondata/cylon/tree/main/rivanna/scripts/scaling_job.slurm> |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Running Cylon on Rivanna | ||
|
||
Arup Sarker ([email protected], [email protected]) | ||
|
||
|
||
|
||
## Install instructions for Radical Pilot | ||
|
||
Rivanna is an HPC system offerbed by University of Virginia. | ||
This will use custom dependencies of the system gcc, openmpi version. | ||
Use the same python environment "cylon_rct" for radical-pilot | ||
|
||
```shell | ||
module load gcc/9.2.0 openmpi/3.1.6 python/3.7.7 cmake/3.23.3 | ||
source $HOME/cylon_rct/bin/activate | ||
pip install radical.pilot | ||
``` | ||
For checking all dependent library version: | ||
|
||
```shell | ||
radical-stack | ||
``` | ||
You need to export mongo-db url: | ||
|
||
```shell | ||
export RADICAL_PILOT_DBURL="mongodb:ADD_YOUR_URL" | ||
``` | ||
Setup is done. Now let's execute scaling with cylon. | ||
|
||
```shell | ||
cd /some_path_to/cylon/rivanna/rp-scripts | ||
python rp_scaling.py | ||
``` | ||
|
||
If you want to make any change in the uva resource file(/some_path_to/radical.pilot/src/radical/pilot/configs) or any other places in the radical pilot source, | ||
|
||
```shell | ||
git clone https://github.com/radical-cybertools/radical.pilot.git | ||
cd radical.pilot | ||
``` | ||
For reflecting those change, you need to upgrade radical-pilot by, | ||
|
||
```shell | ||
pip install . --upgrade | ||
``` | ||
|
||
To uninstall radical pilot, execute | ||
|
||
```shell | ||
pip uninstall radical.pilot | ||
``` |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT.
--cpp
is already there