Skip to content

Commit

Permalink
[wip] skip pde nyc as it crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Nov 17, 2024
1 parent b1a129c commit d13bb2b
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
45 changes: 45 additions & 0 deletions publication/script/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

# Update package lists
echo "Updating package lists..."
sudo apt-get update

# Install Clang++
echo "Installing Clang++..."
sudo apt-get install -y clang

# Install CMake (version 3.22 or higher)
echo "Installing CMake..."
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y cmake

# Install Boost
echo "Installing Boost..."
sudo apt-get install -y libboost-all-dev

# Install BZIP2
echo "Installing BZIP2..."
sudo apt-get install -y libbz2-dev

# Install OpenSSL
echo "Installing OpenSSL..."
sudo apt-get install -y libssl-dev

# Install libcurl
echo "Installing libcurl..."
sudo apt-get install -y libcurl4-openssl-dev

# Install g++
echo "Installing g++..."
sudo apt-get install -y g++

# Install Python dependencies directly
echo "Installing Python dependencies in the system-wide Python environment..."
sudo apt-get install -y python3-pip
pip3 install --upgrade pip --break-system-packages
pip3 install pandas seaborn --break-system-packages

# Final check
echo "All dependencies installed successfully! Python dependencies are installed system-wide."
8 changes: 7 additions & 1 deletion publication/script/run_end_to_end.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ for scheme in "${schemes[@]}"; do
for query in "${queries[@]}"; do
for thread in "${threads[@]}"; do
for dataset in "${datasets[@]}"; do
# Skip specific combination
if [[ "$scheme" == "pde" && "$dataset" == "nyc29" ]]; then
echo "Skipping combination: scheme='$scheme', dataset='$dataset'."
continue
fi

# Execute the command
"$CLONED_DIR/build/publication/source_code/bench_end_to_end/run_query" "$thread" "$query" "$scheme" "$dataset"

# Check for errors
if [ $? -ne 0 ]; then
echo "Error: Command failed for dataset='$dataset', scheme='$scheme', query='$query', thread='$thread'."
Expand All @@ -32,4 +39,3 @@ for scheme in "${schemes[@]}"; do
done
done
done

0 comments on commit d13bb2b

Please sign in to comment.