Kor, We have never been able to properly figure that one out. In my experience, you can ignore the warning (as long as the binding information looks correct).
Regards Hartmut --------------- https://stellar.cct.lsu.edu https://github.com/STEllAR-GROUP/hpx > -----Original Message----- > From: [email protected] <hpx-users-bounces@stellar- > group.org> On Behalf Of Kor de Jong > Sent: Monday, April 19, 2021 8:53 AM > To: [email protected] > Subject: [hpx-users] Starting application with salloc / mpirun results in > warning about number of localities > > Hi all, > > I have a question about starting HPX applications. When I use this > command: > > partition="my_partition" > nr_nodes=1 > nr_localities=3 > nr_cpus_per_task=6 > > salloc --partition=$partition --nodes=$nr_nodes --ntasks=$nr_localities -- > cpus-per-task=$nr_cpus_per_task \ > mpirun \ > --mca btl_openib_allow_ib true \ > bin/hdf5.parallel.hpx.hello_world \ > --hpx:print-bind > > The command responds with this warning (three times): > > hpx::init: command line warning: --hpx:localities used when running with > SLURM, requesting a different number of localities (3) than have been > assigned by SLURM (1), the application might not run properly. > > My application indeed does not run properly, but the bindings printed seem > to make sense. Three localities are listed, with 6 CPUs each. > Should I worry about the warning? Should I start the application > differently? > > Thanks, > Kor > _______________________________________________ > hpx-users mailing list > [email protected] > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users _______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
