Skip to content

Commit

Permalink
bench without MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
annamariadziubyna committed Feb 24, 2024
1 parent 1a32d32 commit 0ae6297
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions benchmarks/pegasus_CBFM-P_bench.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using MPI
using LinearAlgebra
using MKL
using SpinGlassEngine
Expand All @@ -11,20 +10,10 @@ using DataFrames
using Memoization
using JSON3

#=
function brute_force_gpu(ig::IsingGraph; num_states::Int)
brute_force(ig, :GPU, num_states=num_states)
end
=#

MPI.Init()
# size = 1 #MPI.Comm_size(MPI.COMM_WORLD)
# rank = 0 #MPI.Comm_rank(MPI.COMM_WORLD)
size = MPI.Comm_size(MPI.COMM_WORLD)
rank = MPI.Comm_rank(MPI.COMM_WORLD)

size = 1 #MPI.Comm_size(MPI.COMM_WORLD)
rank = 0 #MPI.Comm_rank(MPI.COMM_WORLD)

M, N, T = 8, 8, 4
M, N, T = 7, 7, 3
INSTANCE_DIR = "$(@__DIR__)/../test/instances/pegasus_random/P8/CBFM-P/SpinGlass/single"
OUTPUT_DIR = "$(@__DIR__)/results/pegasus_random/P8/CBFM-P/droplets/final_bench"

Expand Down

0 comments on commit 0ae6297

Please sign in to comment.