[FLASH-USERS] Failure to Replicate Multithreaded Runs in FLASH 4.8 User's Guide

Seyed Mohammadamin Taleghani mtalegha at umd.edu
Fri Nov 7 11:13:22 EST 2025


Dear all,
I was trying to replicate the multithreaded runs of the Multiploe Solver in
section 43.5.1, figure 43.1 of FLASH 4.8 User's Guide. I compiled the AMR
"threadBlockList" case using the following command:

./setup unitTest/Gravity/Poisson3 -auto -3d -maxblocks=600 -opt +pm4dev
> +newMpole +noio threadBlockList=True timeMultipole=True


and submitted the jobs to the cluster using the following Slurm commands:

#SBATCH --nodes=1
> #SBATCH --ntasks=1
> #SBATCH --cpus-per-task=<T>


Where <T> was changing from 1 to 8 for each job submitted to the cluster.
The flash.log file for <T> = 3 case, for example, verifies that OpenMP
threads/MPI task is actually equal to 3:

 Number of MPI tasks:                  1
>  MPI version:                          3
>  MPI subversion:                       1
>  MPI thread support:                   T
>  OpenMP threads/MPI task:              3
>  OpenMP version:                       201511
>  Is "_OPENMP" macro defined:           T


I get the following speedup results:
[image: image.png]
While the User's Guide shows the following speedup (Figure 43.1):
[image: image.png]

I would appreciate any help in resolving this issue in my simulations.

Kind regards,
Seyed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20251107/fb837f0d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13172 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20251107/fb837f0d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 80157 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20251107/fb837f0d/attachment-0003.png>


More information about the flash-users mailing list