Loading Benchmark/Benchmark.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ const string SEARCH_FILE = "search.txt"; const string INDECIES_FILE = "indecies.txt"; const string DISTRIBUTION_FILE = "distribution.txt"; constexpr Index TEST_ITERATIONS = 10; constexpr Index TEST_ITERATIONS = 5; constexpr Index BENCHMARK_VERBOSE = 0; using Device = TNL::Devices::Host; Loading Benchmark/BenchmarkMPI.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ using Index = int; using GridType = LinearOctree::AdaptiveGrid< Real, Device, Index >; using AbsOctree = TNL::Meshes::AbsAdaptiveGrid< Real, TNL::Devices::Host, Index >; constexpr Index TEST_ITERATIONS = 10; constexpr Index TEST_ITERATIONS = 5; const string REFINE_FILENAME = "refine_coords.txt"; const string SEARCH_FILENAME = "search_coords.txt"; Loading Benchmark/Makefile +2 −2 Original line number Diff line number Diff line CXX=g++ INCLUDE = -I ./../tnl/src -I ../hopscotch-map/include -I ../libcuckoo -I ../thread-pool/include INCLUDE = -I ./../tnl/src -I ../hopscotch-map/include -I ../libcuckoo -I ../thread-pool/include -pthread COMMON=-std=c++20 -Wno-deprecated-declarations OPT=-O3 OPT=-O3 -DNDEBUG -march=znver2 build: g++ Benchmark.cpp $(INCLUDE) $(COMMON) $(OPT) Loading Benchmark/create_seq_instances.sh +1 −1 Original line number Diff line number Diff line #!/bin/bash DESIRED_DISTRIBUTIONS=("unif" "normal" "exp") DESIRED_REFINES=(10000 50000 100000 500000 1000000 5000000 10000000) DESIRED_REFINES=(10000 50000 100000 500000 1000000 5000000) DESIRED_SEARCHES_RATIO=(0.5 1 2) INSTANCES=5 Loading Benchmark/submit_mpi.sh +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ #SBATCH --account=OPEN-28-65 #SBATCH --job-name=mpi # job name (default is the name of this file) #SBATCH --output=log.%x.job_%j # file name for stdout/stderr (%x will be replaced with the job name, %j with the jobid) #SBATCH --time=24:00:00 # maximum wall time allocated for the job (D-H:MM:SS) #SBATCH --time=1-23:00:00 # maximum wall time allocated for the job (D-H:MM:SS) #SBATCH --partition=qcpu # partition/queue name for the job submission Loading Loading
Benchmark/Benchmark.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ const string SEARCH_FILE = "search.txt"; const string INDECIES_FILE = "indecies.txt"; const string DISTRIBUTION_FILE = "distribution.txt"; constexpr Index TEST_ITERATIONS = 10; constexpr Index TEST_ITERATIONS = 5; constexpr Index BENCHMARK_VERBOSE = 0; using Device = TNL::Devices::Host; Loading
Benchmark/BenchmarkMPI.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ using Index = int; using GridType = LinearOctree::AdaptiveGrid< Real, Device, Index >; using AbsOctree = TNL::Meshes::AbsAdaptiveGrid< Real, TNL::Devices::Host, Index >; constexpr Index TEST_ITERATIONS = 10; constexpr Index TEST_ITERATIONS = 5; const string REFINE_FILENAME = "refine_coords.txt"; const string SEARCH_FILENAME = "search_coords.txt"; Loading
Benchmark/Makefile +2 −2 Original line number Diff line number Diff line CXX=g++ INCLUDE = -I ./../tnl/src -I ../hopscotch-map/include -I ../libcuckoo -I ../thread-pool/include INCLUDE = -I ./../tnl/src -I ../hopscotch-map/include -I ../libcuckoo -I ../thread-pool/include -pthread COMMON=-std=c++20 -Wno-deprecated-declarations OPT=-O3 OPT=-O3 -DNDEBUG -march=znver2 build: g++ Benchmark.cpp $(INCLUDE) $(COMMON) $(OPT) Loading
Benchmark/create_seq_instances.sh +1 −1 Original line number Diff line number Diff line #!/bin/bash DESIRED_DISTRIBUTIONS=("unif" "normal" "exp") DESIRED_REFINES=(10000 50000 100000 500000 1000000 5000000 10000000) DESIRED_REFINES=(10000 50000 100000 500000 1000000 5000000) DESIRED_SEARCHES_RATIO=(0.5 1 2) INSTANCES=5 Loading
Benchmark/submit_mpi.sh +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ #SBATCH --account=OPEN-28-65 #SBATCH --job-name=mpi # job name (default is the name of this file) #SBATCH --output=log.%x.job_%j # file name for stdout/stderr (%x will be replaced with the job name, %j with the jobid) #SBATCH --time=24:00:00 # maximum wall time allocated for the job (D-H:MM:SS) #SBATCH --time=1-23:00:00 # maximum wall time allocated for the job (D-H:MM:SS) #SBATCH --partition=qcpu # partition/queue name for the job submission Loading