LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Does user-omp work with mpich?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Does user-omp work with mpich?


From: Axel Kohlmeyer <akohlmey@...24...>
Date: Mon, 16 Oct 2017 15:29:54 -0400

On Sun, Oct 15, 2017 at 6:41 PM, Mockele Nkrumah <mgmike20@...24...> wrote:
> 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.

>
> Thank you.
>
>
> Michael
>
> On Sun, Oct 15, 2017 at 8:57 PM, Axel Kohlmeyer <akohlmey@...24...> wrote:
>>
>> On Sun, Oct 15, 2017 at 12:33 PM, Mockele Nkrumah <mgmike20@...24...>
>> wrote:
>> > 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.
>>
>> >
>> > If it doesn't work, would I need to set the OMP_THREAD variable?
>> >
>> > Thanks.
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > _______________________________________________
>> > lammps-users mailing list
>> > lammps-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/lammps-users
>> >
>>
>>
>>
>> --
>> Dr. Axel Kohlmeyer  akohlmey@...24...  http://goo.gl/1wk0
>> College of Science & Technology, Temple University, Philadelphia PA, USA
>> International Centre for Theoretical Physics, Trieste. Italy.
>
>



-- 
Dr. Axel Kohlmeyer  akohlmey@...24...  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.