Hartmut,

On 4/13/21 3:34 PM, Hartmut Kaiser wrote:
>> My questions are:
>> - Can I assume that MPI is initialized after the HPX runtime is?
> 
> Generally yes - if you have the MPI parcelport enabled at configuration time
> and you run the executable through some driver that enables MPI (either
> mpiexec/mpirun or - if your slurm environment does it - srun.

Great remark! My Slurm environment didn't do this.

> I would try doing something like:
> 
> salloc -p <partition> -N <nodes> -n <localities> -c <cores> mpirun
> <your_executable>

Using mpirun made this problem dissapear. My Slurm isn't as smart as I 
thought, even though `srun --mpi=list` mentions openmpi.

Thanks a lot!

Kor
_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to