Re: [OMPI users] MPI_Init_thread error

2023-07-25 Thread Aziz Ogutlu via users
Hi Gilles, Thank you for your response. When I run srun --mpi=list, I get only pmi2. When I run command with --mpi=pmi2 parameter, I got same error. OpenMPI automatically support slurm after 4.x version. https://www.open-mpi.org/faq/?category=building#build-rte On 7/25/23 12:55, Gilles Gou

Re: [OMPI users] MPI_Init_thread error

2023-07-25 Thread Gilles Gouaillardet via users
Aziz, When using direct run (e.g. srun), OpenMPI has to interact with SLURM. This is typically achieved via PMI2 or PMIx You can srun --mpi=list to list the available options on your system if PMIx is available, you can srun --mpi=pmix ... if only PMI2 is available, you need to make sure Open M