JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCPEM Archives


CCPEM Archives

CCPEM Archives


CCPEM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCPEM Home

CCPEM Home

CCPEM  December 2016

CCPEM December 2016

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Continue 3D refinement run for the final iteration

From:

Radostin Danev <[log in to unmask]>

Reply-To:

Radostin Danev <[log in to unmask]>

Date:

Wed, 7 Dec 2016 09:57:50 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (171 lines)

Just a small addition to what Sjors already said. 

We are using the pre-read to RAM option most of the time and I highly recommend it. Our workstations have 512 GB or RAM, 32 CPU cores and four GPUs. A simple rule of thumb for how much memory you'll need is (extracted particles data size) x (number of MPI processes), e.g. if your particle data is 20 GB and you run 3 MPIs (the minimum required for refinements) you'll need 60 GB + a few more GB for other stuff. To utilize all CPU cores of the workstation, just add more threads, e.g. a job with 3 MPIs and 10 threads will utilize 30 CPU cores. We have not tired the SSD scratch option because we don't have SSDs.

Cheers,

Rado


-----Original Message-----
From: Collaborative Computational Project in Electron cryo-Microscopy [mailto:[log in to unmask]] On Behalf Of Sjors Scheres
Sent: 06 December 2016 17:10
To: [log in to unmask]
Subject: Re: [ccpem] Continue 3D refinement run for the final iteration

Hi Lu,
Yes! I would not recommend buying a machine with less than 64GB for exactly that reason. With 64GB you can do 3A-resolution reconstructions of ribosomes (450x450 images), but probably not of large viruses
(600x600 pixels) for example. If you want to reconstruct very large particles, then putting in 256GB or 0.5-1 TB of RAM may be a good idea. 
I think Erik recommends 64GB because after that the prices increase quite steeply, and not many people would need the large amounts of RAM. 
Reading images from a fast SSD disk is alsmot as fast as keeping them all in RAM, and probably a lot cheaper.
HTH,
Sjors


On 12/06/2016 03:49 PM, Lu Gan wrote:
> Hi Dari,
>
> Can I follow up Huy's question with one about about CPU memory 
> requirements (in double precision mode)? In RELION 2, there's an option to "pre-read"
> all the particles into RAM, meaning that if you can install 1TB RAM 
> into your workstation, then you can load 1TB worth of images into 
> memory. In contrast, Erik's blog recommends 64GB for the "high-end" 
> workstation -- presumably for those who will not pre-read particles. 
> Because many of us will not have access to workstations with 1TB (or 
> more!) RAM, what would be the minimum amount of RAM to "future-proof" 
> a workstation? In other words, for the M step, is there a relationship 
> between CPU RAM, box size, particle numbers, and class numbers like 
> you and Bjorn showed in Fig 6 of your Elife paper?
>
> Thanks.
>
> Cheers.
> Lu
>
> --
> Lu Gan
> Assistant Professor
> Department of Biological Sciences
> Centre for BioImaging Sciences
> National University of Singapore
> 14 Science Drive 4
> S1A, Lvl 2
> Singapore 117543
>
> www.anaphase.org
>
> Tel: (65) 6516 8868
> Fax: (65) 6776 7882
>
> On Tue, Dec 6, 2016 at 11:25 PM, Dari Kimanius <[log in to unmask]> wrote:
>
>> The maximization subroutine is the part of refinement that we 
>> consider sensitive to precision loss. This is one of the reason why 
>> it's not currently GPU-accelerated and is hence only effected by the 
>> configured precision of the CPU code. To my knowledge this should 
>> also apply to Relion 1.4.
>>
>> Regards,
>> Dari
>>
>> On Tue, Dec 6, 2016 at 4:16 PM, Huy Bui <[log in to unmask]> wrote:
>>
>>> Thanks, Dari.
>>>
>>> Just want to clarify a bit.
>>> - GPU runs in single precision, but the detrimental effects on the 
>>> results from single precision are only from the CPU part?
>>> - Does the effect of single precision affect Relion 2 only or the 
>>> same effect can be said about single precision compiled Relion 1.4?
>>>
>>> Best regards,
>>> Huy
>>>
>>> On Tue, Dec 6, 2016 at 10:12 AM, Dari Kimanius <[log in to unmask]>
>>> wrote:
>>>
>>>> Similar to the cmake flag DoublePrec_GPU that is set to OFF by 
>>>> default there is also a DoublePrec_CPU that conversely is set to ON by default.
>>>> Here's an example on how to set both CPU and GPU to single 
>>>> precision at configuration time:
>>>>
>>>> cmake -DDoublePrec_GPU=OFF -DDoublePrec_CPU=OFF ..
>>>>
>>>> However, we currently don't recommend running cpu code in single 
>>>> precision since the accuracy loss in some critical parts of the 
>>>> code could have detrimental effects on the results. Please make 
>>>> sure you evaluate the results carefully if you use a singel-cpu build.
>>>>
>>>> Regards,
>>>> Dari
>>>>
>>>> On Tue, Dec 6, 2016 at 4:02 PM, Huy Bui <[log in to unmask]> wrote:
>>>>
>>>>> Thanks a lot, Sjors & Dari. It works.
>>>>>
>>>>> Is there any option to compile Relion2 with single precision for CPU?
>>>>> That would make processing large box size so much easier.
>>>>>
>>>>> Best regards,
>>>>> Huy
>>>>>
>>>>> On Tue, Dec 6, 2016 at 3:18 AM, Sjors Scheres < 
>>>>> [log in to unmask]> wrote:
>>>>>
>>>>>> Hi Huy,
>>>>>> --force_converge as additional argument when continuing an old 
>>>>>> job will do exactly that.
>>>>>> HTH,
>>>>>> Sjors
>>>>>>
>>>>>>> Dear all,
>>>>>>>
>>>>>>> I am doing my 3D refinement with Relion2 and GPU. Often, my
>>>>>> refinement
>>>>>>> will
>>>>>>> report convergence and enter the last iteration and crash due to
>>>>>> lack of
>>>>>>> memory because of the large box size of my sample.
>>>>>>>
>>>>>>> If I tried to continue run, instead of going into the last 
>>>>>>> iteration
>>>>>> to
>>>>>>> construct the unfil.mrc files right away, refinement normally 
>>>>>>> goes
>>>>>> through
>>>>>>> several iterations then converges. With the 1080 GTX card, it 
>>>>>>> will
>>>>>> never
>>>>>>> be
>>>>>>> able to finish the last one due to the limit of 8GB memory.
>>>>>>>
>>>>>>> Is there any way to trick Relion to go directly to the final
>>>>>> iteration
>>>>>>> after convergence and crash? It will be incredibly helpful since 
>>>>>>> the
>>>>>> GPU
>>>>>>> refinement is quick but then will crash due to lack of memory 
>>>>>>> and we
>>>>>> can
>>>>>>> continue the last iteration with CPU.
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Huy
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sjors Scheres
>>>>>> MRC Laboratory of Molecular Biology Francis Crick Avenue, 
>>>>>> Cambridge Biomedical Campus Cambridge CB2 0QH, U.K.
>>>>>> tel: +44 (0)1223 267061
>>>>>> http://www2.mrc-lmb.cam.ac.uk/groups/scheres
>>>>>>
>>>>>>

--
Sjors Scheres
MRC Laboratory of Molecular Biology
Francis Crick Avenue, Cambridge Biomedical Campus Cambridge CB2 0QH, U.K.
tel: +44 (0)1223 267061
http://www2.mrc-lmb.cam.ac.uk/groups/scheres

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager