@@ -37,7 +37,7 @@ MPI.Init()
3737my_rank = MPI. Comm_rank(MPI. COMM_WORLD)
3838my_size = MPI. Comm_size(MPI. COMM_WORLD)
3939
40- @info " Number of threads available: " , Threads. nthreads()
40+ @info " Number of threads available: $( Threads. nthreads()) "
4141
4242n_particle_per_rank = 1000
4343n_particle = n_particle_per_rank * my_size
@@ -48,13 +48,10 @@ if output_timer
4848 error(" Please provide the output filename for timers." )
4949 end
5050 output_filename = ARGS [2 ]
51- @info " Outputting timers to HDF5 file '$output_filename '"
51+ @info " Outputting timers to HDF5 file '$( output_filename) '"
5252end
53- # default: dedup enabled for testing
54- no_dedup = " -nd" in ARGS || " --no-dedup" in ARGS
55- @info " Deduplication enabled: " , ! no_dedup
5653optimize_resample = " -o" in ARGS || " --optimize-resample" in ARGS
57- @info " Optimized resampling enabled: " , optimize_resample
54+ @info " Optimized resampling enabled: $( optimize_resample) "
5855
5956n_float_per_particle = 100000
6057# total number of floats per rank
@@ -88,7 +85,7 @@ local_timer_dicts = Dict{String, Dict{String,Any}}()
8885
8986for (trial_name, indices_func) in trial_sets
9087 if verbose && my_rank == 0
91- @info " Resampling particles to indices " , indices
88+ @info " Resampling particles to indices $( indices) "
9289 end
9390 indices = collect(1 : n_particle) # Placeholder for actual indices
9491 # repeat experiment 10 times to get average time
@@ -102,7 +99,7 @@ for (trial_name, indices_func) in trial_sets
10299 my_rank,
103100 n_particle_per_rank
104101 )
105- @info " Starting timed runs for trial '$trial_name '..."
102+ @info " Starting timed runs for trial '$( trial_name) '..."
106103
107104 timer = TimerOutputs. TimerOutput(" copy_states" )
108105 for _ in 1 : 10
@@ -143,7 +140,7 @@ for (trial_name, indices_func) in trial_sets
143140 show(stdout , " text/plain" , local_states);
144141 @info " rank $(my_rank) : expected ="
145142 show(stdout , " text/plain" , expected);
146- @info " rank $(my_rank) : match = " , match
143+ @info " rank $(my_rank) : match = $( match) "
147144 end
148145 MPI. Barrier(MPI. COMM_WORLD)
149146 end
0 commit comments