Skip to content

Commit a1ed1e7

Browse files
committed
edit run
1 parent 0aa9f7b commit a1ed1e7

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

run_openfhe_delta.slurm

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
#SBATCH --ntasks-per-node=1
55
#SBATCH --cpus-per-task=16
66
#SBATCH --partition=cpu
7-
#SBATCH --account=bcjw-delta-cpu # Using CPU account
8-
#SBATCH --job-name=openfhe_nc
7+
#SBATCH --account=YOUR_ACCOUNT # Replace with your Delta account name
8+
#SBATCH --job-name=agentic
99
#SBATCH --time=02:00:00 # 2 hours should be enough
1010
#SBATCH --constraint="scratch"
11-
#SBATCH -e openfhe-%j.err
12-
#SBATCH -o openfhe-%j.out
11+
#SBATCH -e agentic-%j.err
12+
#SBATCH -o agentic-%j.out
1313

14-
# FedGraph OpenFHE NC - Slurm Batch Script for Delta
15-
# This script runs the OpenFHE two-party threshold HE implementation
14+
# Agentic System - Slurm Batch Script for Delta
15+
# Federated graph learning experiments
1616

1717
echo "Job started at $(date)"
1818
echo "Running on host: $(hostname)"
@@ -37,9 +37,18 @@ source $HOME/openfhe_env/bin/activate
3737
if [ ! -f "$HOME/openfhe_env/.installed" ]; then
3838
echo "Installing dependencies..."
3939
pip install --upgrade pip
40+
41+
# Install PyTorch first
4042
pip install torch --index-url https://download.pytorch.org/whl/cpu
43+
44+
# Install torch-geometric and its dependencies
4145
pip install torch-geometric
46+
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
47+
48+
# Install OpenFHE
4249
pip install openfhe==1.2.3.0.24.4
50+
51+
# Install other dependencies
4352
pip install ray[default] attridict ogb pyyaml networkx scipy scikit-learn
4453

4554
# Clone and install fedgraph

run_openfhe_interactive_delta.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This script starts an interactive job and sets up the environment
55

66
# Replace with your account name
7-
ACCOUNT="bcjw-delta-cpu"
7+
ACCOUNT="YOUR_ACCOUNT"
88

99
echo "Starting interactive session on Delta..."
1010
echo "This will request:"

0 commit comments

Comments
 (0)