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  February 2019

CCPEM February 2019

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: After beam-induced motion correction in Relion3: what are the units of the accumulated motions in the output graphs/histograms? Pixels?

From:

Michael Swan <[log in to unmask]>

Reply-To:

Michael Swan <[log in to unmask]>

Date:

Thu, 21 Feb 2019 12:59:09 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (244 lines)

Hi Takanori,

thanks, very useful.

-bash-4.2$ ldd `which relion_run_motioncorr_mpi`
        linux-vdso.so.1 =>  (0x00007f2a70e30000)
        libcufft.so.9.2 => /usr/local/cuda-9.2/lib64/libcufft.so.9.2 (0x00007f2a6b5b7000)
        libmpi.so.40 => /cluster/app/openmpi/3.1.3/lib/libmpi.so.40 (0x00007f2a6b2bc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f2a6b0b8000)
        libtiff.so.5 => /lib64/libtiff.so.5 (0x00007f2a6ae44000)
        libfftw3f.so.3 => /lib64/libfftw3f.so.3 (0x00007f2a6aacb000)
        libfftw3.so.3 => /lib64/libfftw3.so.3 (0x00007f2a6a746000)
        libcurand.so.9.2 => /usr/local/cuda-9.2/lib64/libcurand.so.9.2 (0x00007f2a66808000)
        libcudart.so.9.2 => /usr/local/cuda-9.2/lib64/libcudart.so.9.2 (0x00007f2a6659e000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2a66297000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f2a65f95000)
        libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f2a65d6f000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2a65b59000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2a6593d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f2a65570000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f2a65368000)
        libopen-rte.so.40 => /cluster/app/openmpi/3.1.3/lib/libopen-rte.so.40 (0x00007f2a650b3000)
        libopen-pal.so.40 => /cluster/app/openmpi/3.1.3/lib/libopen-pal.so.40 (0x00007f2a64dab000)
        libnuma.so.1 => /lib64/libnuma.so.1 (0x00007f2a64b9f000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007f2a64989000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f2a64786000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f2a64570000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2a70c11000)
        libjbig.so.2.0 => /lib64/libjbig.so.2.0 (0x00007f2a64364000)
        libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f2a6410f000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f2a63f0a000)
        libdw.so.1 => /lib64/libdw.so.1 (0x00007f2a63cc3000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f2a63abe000)
        libelf.so.1 => /lib64/libelf.so.1 (0x00007f2a638a6000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f2a63680000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f2a63470000)

Ok, I think the best is the second install, I'll try it out and see if I can get 100 MPI's running. Is there an optimum number of threads/MPI given that memory is not a limiting factor?

Thanks,

Mike.
________________________________________
From: Takanori Nakane [[log in to unmask]]
Sent: 21 February 2019 12:46
To: Michael Swan
Cc: CCPEM
Subject: RE: [ccpem] After beam-induced motion correction in Relion3: what are the units of the accumulated motions in the output graphs/histograms? Pixels?

Hi,

> -bash-4.2$ ldd 'which relion_run_motioncorr_mpi'
> ldd: ./which relion_run_motioncorr_mpi: No such file or directory

Use backquote "`", not single quote "'".

> Anyway, it is a large cluster with many nodes so installing cuda on all
> the cpu only ones is not feasible.

As I said, you need only the CUDA runtime, not a driver.
You can put it in your home directory or wherever accessible from
all nodes, just as you have installed RELION. Then set LD_LIBRARY_PATH
to there.

> Then I did compile with -DCUDA=ON which I need for the downstream
> classification and refinement so is the only way to have a second version
> with it off just for motioncor?

If you don't want to install CUDA runtime, this is the only option.
Make a new build directory, compile with -DCUDA=OFF, write a new
cluster submission script that sets PATH accordingly,
and use it for CPU jobs.

Best regards,

Takanori Nakane

P.S. Please CC to CCPEM when replying.

> Thanks again,
>
> Mike.
> ________________________________________
> From: Takanori Nakane [[log in to unmask]]
> Sent: 21 February 2019 08:41
> To: Michael Swan; CCPEM
> Subject: Re: [ccpem] After beam-induced motion correction in Relion3: what
> are the units of the accumulated motions in the output graphs/histograms?
> Pixels?
>
> Hi,
>
> Please show me your command line and the result of
> "ldd `which relion_run_motioncorr`".
>
> Probably your binary has been linked against CUDA runtime.
> If so, the program fails to start even if you don't actually use CUDA.
> The easiest fix is to build RELION without CUDA (-DCUDA=OFF).
>
> Alternatively you can install CUDA runtime on CPU nodes; you don't need
> drivers, just runtime. So you don't need root privileges.
>
> Best regards,
>
> Takanori Nakane
>
> On 2019/02/21 8:30, Michael Swan wrote:
>> Hi Takanori,
>>
>> quick question I hope; I am trying to run motioncor using the Relion
>> implementation on a cluster sge queue and it fails with an error
>> relating to loading cuda libraries. I thought this was a cpu only
>> implementation so why does it need to find any cuda stuff? I want to run
>> say 100MPIs which will be split between several nodes and if I try
>> including the cuda modules it tends to fail as not all nodes are cuda
>> capable.
>>
>> Any suggestions would be much appreciated.
>>
>> Best regards,
>>
>> Mike.
>> ________________________________________
>> From: Collaborative Computational Project in Electron cryo-Microscopy
>> [[log in to unmask]] on behalf of Takanori Nakane
>> [[log in to unmask]]
>> Sent: 20 February 2019 15:24
>> To: [log in to unmask]
>> Subject: Re: [ccpem] After beam-induced motion correction in Relion3:
>> what are the units of the accumulated motions in the output
>> graphs/histograms? Pixels?
>>
>> Hi,
>>
>>> what are the units of the motions in the file? Pixels?
>>
>> Yes, pixels before binning (unless you specified --early_binning).
>>
>>> After my first attempt at motion correction,
>>> the majority seem to have small estimated motions but about 30 or so
>>> have
>>> estimated Total accumulated motions between 200 and 1200 units (which
>>> is
>>> the max)
>>> so I am considering excluding them from this very first pass/look at
>>> the
>>> data.
>>
>> This is mostly personal preference but I don't remove any movies using
>> these statistics. These numbers are not reliable especially when the
>> trajectories are noisy (these are merely line integrals along
>> trajectories).
>>
>> If motion estimation diverged, the output becomes very bad and particles
>> on them will be rejected during classification.
>> Although some people are very concerned about outliers and spend long
>> time manually culling them, in my experience, the final resolution
>> rarely
>> changes,
>> or only one or two shells if any, provided that you follow the standard
>> procedure
>> of Class2D and Class3D.
>>
>> Best regards,
>>
>> Takanori Nakane
>>
>>> After my first attempt at motion correction,
>>> the majority seem to have small estimated motions but about 30 or so
>>> have
>>> estimated Total accumulated motions between 200 and 1200 units (which
>>> is
>>> the max)
>>> so I am considering excluding them from this very first pass/look at
>>> the
>>> data.
>>>
>>> Does this sound sensible? I imagine these decisions depend on what one
>>> is
>>> trying to achieve at each stage of the process,
>>> and I am aware that I can always come back and revisit them at a later
>>> stage in the data processing,
>>> still I am interested in hearing what people's established procedures
>>> are
>>> regarding this.
>>>
>>> Thank you,
>>>
>>> Pietro
>>>
>>>
>>>
>>> Pietro Roversi
>>>
>>> LISCB Wellcome Trust ISSF Fellow
>>>
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__bit.ly_2I4Wm5Z&d=DwIDJg&c=TzEZu9LIcihmW37vx9Ah6w&r=MGqTYVjznyJeo11cyogL6dk-zNlLgCG7sodeNan77aw&m=7kIcmexTtrKzIQaJPb1rMa0D-XywN0qTI6ztZgvs1h8&s=Gs0TalF0eXYAgcC5dFVd61vk6t61w6ORTnu-J_ki6yQ&e=
>>>
>>>
>>> Leicester Institute of Structural and Chemical Biology
>>> Department of Molecular and Cell Biology, University of Leicester
>>> Henry Wellcome Building
>>> Lancaster Road, Leicester, LE1 7HB
>>> England, United Kingdom
>>>
>>> Tel. +44 (0)116 2297237
>>>
>>>
>>> ########################################################################
>>>
>>> To unsubscribe from the CCPEM list, click the following link:
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.jiscmail.ac.uk_cgi-2Dbin_webadmin-3FSUBED1-3DCCPEM-26A-3D1&d=DwIDJg&c=TzEZu9LIcihmW37vx9Ah6w&r=MGqTYVjznyJeo11cyogL6dk-zNlLgCG7sodeNan77aw&m=7kIcmexTtrKzIQaJPb1rMa0D-XywN0qTI6ztZgvs1h8&s=jxLSToGw6UFwQ4h6xVRmPrJfPMcf5hEJ7_NEEXWSnu0&e=
>>>
>>
>> ########################################################################
>>
>> To unsubscribe from the CCPEM list, click the following link:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.jiscmail.ac.uk_cgi-2Dbin_webadmin-3FSUBED1-3DCCPEM-26A-3D1&d=DwIDJg&c=TzEZu9LIcihmW37vx9Ah6w&r=MGqTYVjznyJeo11cyogL6dk-zNlLgCG7sodeNan77aw&m=7kIcmexTtrKzIQaJPb1rMa0D-XywN0qTI6ztZgvs1h8&s=jxLSToGw6UFwQ4h6xVRmPrJfPMcf5hEJ7_NEEXWSnu0&e=
>>
>>
>> This email message and any attachments are confidential and intended for
>> use by the addressee(s) only. If you are not the intended recipient,
>> please notify me immediately by replying to this message, and destroy
>> all copies of this message and any attachments. Thank you.
>>
>
>
>
> This email message and any attachments are confidential and intended for
> use by the addressee(s) only. If you are not the intended recipient,
> please notify me immediately by replying to this message, and destroy all
> copies of this message and any attachments. Thank you.
>




This email message and any attachments are confidential and intended for use by the addressee(s) only. If you are not the intended recipient, please notify me immediately by replying to this message, and destroy all copies of this message and any attachments. Thank you.

########################################################################

To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1

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