Re: [AMBER] Running GIST calculation in parallel

From: Matias Machado <mmachado.pasteur.edu.uy>
Date: Sun, 23 Sep 2018 10:08:22 -0300 (UYT)

Thanks for the feedback Tom

Best,

Matias

----- Mensaje original -----
De: "Tom Kurtzman" <simpleliquid.gmail.com>
Para: "AMBER Mailing List" <amber.ambermd.org>
Enviados: Viernes, 21 de Septiembre 2018 19:35:32
Asunto: Re: [AMBER] Running GIST calculation in parallel

Hi Matias, I'd like to mention that GIST is what is often called
"embarrassingly parallel" in that a large box GIST calculation can be
broken down into many smaller box calculations and run independently on
different cpus. Doing this makes the GIST calculation time scale almost
linearly with the inverse of the number of cpus used. Section 4f (bottom
of the page) of the ambermd.org GIST tutorial outlines how to break up a
larger box into a number of smaller boxes.

http://ambermd.org/tutorials/advanced/tutorial25/section4.htm

Best,

Tom

On Fri, Sep 21, 2018 at 2:17 PM Matias Machado <mmachado.pasteur.edu.uy>
wrote:

> This is certainly not my field... then I may be wrong, but I suspect he
> should be using an AMD EPYC for running with 64 threads...
>
> Any way... as far as I understand, such architecture was build for servers
> and uses Non-uniform memory access (NUMA) [
> https://en.wikipedia.org/wiki/Non-uniform_memory_access] to scale up the
> number of processors, which means not all processors are able to directly
> access the memory... indeed, there are lots of gaming blogs out there
> explaining why such chip doesn't performs as expected on games... its
> strength is on several individual tasks not on sheared ones... So it may
> not be rare the lost of performance after 32 threads...
>
> Best,
>
> Matias
>
> ------------------------------------
> PhD.
> Researcher at Biomolecular Simulations Lab.
> Institut Pasteur de Montevideo | Uruguay
> [http://pasteur.uy/en/laboratorios-eng/lsbm]
> [http://www.sirahff.com]
>
> ----- Mensaje original -----
> De: "Daniel Roe" <daniel.r.roe.gmail.com>
> Para: "AMBER Mailing List" <amber.ambermd.org>
> Enviados: Viernes, 21 de Septiembre 2018 14:18:41
> Asunto: Re: [AMBER] Running GIST calculation in parallel
>
> Hi,
>
> Since based on your timings you stop getting a speedup beyond 32
> threads, I recommend using a max of 32 threads. :-)
>
> Assuming you have the Ryzen 32-core processor this makes sense -
> cpptraj does not benefit from hyperthreading (I think AMD calls it
> simultaneous multi-threading but it's essentially the same thing.
>
> -Dan
> On Fri, Sep 21, 2018 at 10:57 AM M RCC <mkr3j2c1.gmail.com> wrote:
> >
> > Thank you Daniel for your suggestion.
> > For benchmarking I did the following
> > 100 frames [1 out of 6 boxes]
> > 4 threads: 218 seconds
> > 8 threads: 161 seconds
> > 10 threads: 143 seconds
> > 12 threads: 133 seconds
> > 14 threads: 133 seconds
> > 16 threads: 126 seconds
> > 32 threads: 118 seconds
> > 64 threads: 136 seconds
> >
> > Am splitting the boxes for calculation. so i think i dont need to worry
> > about memory, though i have 120GB of RAM.
> >
> > Among these in which one i can expect faster performance?
> >
> > Thanks in advance
> >
> >
> >
> >
> > On Thu, Sep 20, 2018 at 3:27 PM M RCC <mkr3j2c1.gmail.com> wrote:
> >
> > >
> > > Dear Amber Users,
> > >
> > > I am trying to run GIST calculation in parallel with 64 core AMD
> system
> > > using Ambertools18.
> > > when am using "mpirun -np 64 cpptraj.MPI -i gist.in" , i got error
> with
> > > core dump.
> > >
> > > then i am using "cpptraj.MPI -i gist.in" (even assigning
> > > OMP_NUM_THREADS=64) program is running in only one core.
> > >
> > > How i can utilise all 64 core for GIST calculation?
> > >
> > >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>


-- 
************************************************
Tom Kurtzman, Ph.D.
Associate Professor
Department of Chemistry
Lehman College, CUNY
250 Bedford Park Blvd. West
Bronx, New York 10468
718-960-8832
http://www.lehman.edu/faculty/tkurtzman/
<http://www.lehman.edu/faculty/tkurtzman/index.html>
************************************************
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Sep 23 2018 - 06:30:03 PDT
Custom Search