milc-qcd / milc_qcd

MILC collaboration code for lattice QCD calculations
Other
34 stars 33 forks source link

Script to determine Processes per node (PPN) #51

Open aruhela opened 2 years ago

aruhela commented 2 years ago

Hi,

I am running lattice configurtaion 8x8x8x8x8.chklat and 18x18x18x36.chklat on 6 nodes having max PPN=48. Some of the configurations either hang after warmup iterations are completed or show "not enough factors of 5/7/11/23" etc.

Do you have a script to determine what PPN can be specified for a given lattice configuration and node count?

Thanks, Amit Ruhela

stevengottlieb commented 2 years ago

You should not be running such tiny cases using so many mpi tasks. The code needs to be able to cut the lattice up so that the local dimension in each direction is an even number (and probably at least 4). Hope this helps.

On Feb 17, 2022, at 1:20 PM, Amit @.**@.>> wrote:

Hi,

I am running lattice configurtaion 8x8x8x8x8.chklat and 18x18x18x36.chklat on 6 nodes having max PPN=48. Some of the configurations either hang after warmup iterations are completed or show "not enough factors of 5/7/11/23" etc.

Do you have a script to determine what PPN can be specified for a given lattice configuration and node count?

Thanks, Amit Ruhela

— Reply to this email directly, view it on GitHubhttps://github.com/milc-qcd/milc_qcd/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGG3BJJBM4RTEBGQMHZHU3U3U4ADANCNFSM5OVPH2PA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

aruhela commented 2 years ago

Hi Steve,

I have prepared a c program to find the Process per node (PPN) that works for a given lattice configuration and nodes count. I hope this can be added as the utility in the main repo. I had to change the extension of the following program from c to txt as Github doesn't support it.

An example run is

$ mv findppn_milc_qcd.txt findppn_milc_qcd.c $ gcc findppn_milc_qcd.c -o findppn $ ./findppn 4 48 16 16 16 16

Nodes=4, Max Supported PPN=48, LatticeLayout=16x16x16x16 PPN that will work are : ppn=32 ppn=16 ppn=8 ppn=4 ppn=2 ppn=1

Thanks, Amit

findppn_milc_qcd.txt