Dear all,
I’ve installed Mpich3.2 to run Lammps in parallel. Will user-omp work with it if I invoke it using -sf omp, or does it work only if I use Openmpi?
If it doesn’t work, would I need to set the OMP_THREAD variable?
Thanks.
Dear all,
I’ve installed Mpich3.2 to run Lammps in parallel. Will user-omp work with it if I invoke it using -sf omp, or does it work only if I use Openmpi?
If it doesn’t work, would I need to set the OMP_THREAD variable?
Thanks.
Dear all,
I've installed Mpich3.2 to run Lammps in parallel. Will user-omp work with
it if I invoke it using -sf omp, or does it work only if I use Openmpi?
OpenMP and thus USER-OMP will work with *any* kind of MPI library.
how to correctly install, configure, compile and use LAMMPS with
USER-OMP is explained in detail in the manual.
axel.
Yes, I’ve already read what says the manual but I wasn’t sure that it also worked with mpich since whenever I was invoking it, I wasn’t getting such good results.
Probably what I am doing wrong is not giving the system the correct thread number. I read that with OpenMPI, there is a command which prevents the system from using a thread number higher than its maximum allowed value, however this feature isn’t available in mpich.
Thank you.
Michael
Yes, I've already read what says the manual but I wasn't sure that it also
worked with mpich since whenever I was invoking it, I wasn't getting such
good results.Probably what I am doing wrong is not giving the system the correct thread
number. I read that with OpenMPI, there is a command which prevents the
system from using a thread number higher than its maximum allowed value,
however this feature isn't available in mpich.
i use both OpenMPI and MPICH regularly and i am not aware of such a
feature for either.
most likely you are confusing a feature that applies to MPI ranks
only. some people have a tendency to call MPI tasks/ranks/processes
also MPI threads.
axel.