Well!
There's nothing like making a complete fool of oneself by asking
questions on an email list...
Having posted my earlier question, I decided to try more *completely*
fresh "git clone" into an empty directory and try again, and I'm getting
CUDA errors instead this time.
So, my conclusion is that my earlier problem was caused by accumulated
failures to build and not going back to square one for each attempt.
Please ignore my question, and I'll come back if I still can't make it
work once I've sorted out the CUDA issues...
Best regards,
Andrew
On 05/10/2021 16:32, Andrew Raine wrote:
> Hi Sjors, et al.,
>
> I'm attempting to download and build the latest version, and I'm running
> into issues with MD5 checksums.
>
> My "cmake .." runs fine (I think) but the actual "make" fails.
>
> Excerpt of output below. (Happy to provide the full output of both
> cmake and make, if that's helpful)
>
> ...
> [ 2%] Performing download step (download, verify and extract) for
> 'class_ranker_model_file'
> -- downloading...
>
> src='ftp://ftp.mrc-lmb.cam.ac.uk/pub/dari/class_ranker_0.1.3_torch_1.0.1.pt.tar.gz'
>
>
> dst='/usr/packages/relion/relion-4.0-beta/external/torch_models/class_ranker_0.1.3_torch_1.0.1.pt.tar.gz'
>
> timeout='none'
> -- downloading... done
> -- verifying file...
>
> file='/usr/packages/relion/relion-4.0-beta/external/torch_models/class_ranker_0.1.3_torch_1.0.1.pt.tar.gz'
>
> CMake Error at
> /usr/packages/relion/relion-4.0-beta/build/class_ranker_model_file-prefix/src/class_ranker_model_file-stamp/verify-class_ranker_model_file.cmake:9
> (message):
> error: MD5 hash of
>
>
> /usr/packages/relion/relion-4.0-beta/external/torch_models/class_ranker_0.1.3_torch_1.0.1.pt.tar.gz
>
>
> does not match expected value
>
> expected: d41d8cd98f00b204e9800998ecf8427e
> actual: b39f0cbc31f510e3a03e89f1e11110fe
>
>
>
> make[2]: ***
> [class_ranker_model_file-prefix/src/class_ranker_model_file-stamp/class_ranker_model_file-download]
> Error 1
> make[1]: *** [CMakeFiles/class_ranker_model_file.dir/all] Error 2
> make: *** [all] Error 2
>
>
> If I download:
>
> ftp://ftp.mrc-lmb.cam.ac.uk/pub/dari/class_ranker_0.1.3_torch_1.0.1.pt.tar.gz
>
>
> separately and calculate its MD5 hash, I get
> "b39f0cbc31f510e3a03e89f1e11110fe" rather than the "expected" value
> "d41d8cd98f00b204e9800998ecf8427e".
>
> This is the same whether I do it on my build system (CentOS 7) or my
> laptop (macOS 10.15).
>
> The "expected' hash seems to be in the files pulled from the git repo,
> *before* the "cmake .." is run:
>
> # pwd
> /usr/packages/relion/relion-4.0-beta-pristine
>
> # find . -type f -exec grep -H 'd41d8cd98f00b204e9800998ecf8427e' {} \;
> ./cmake/FetchTorchModels.cmake:set(CLASS_RANKER_MODEL_MD5
> d41d8cd98f00b204e9800998ecf8427e)
>
> However, if this is true, I'm puzzled that no one else has reported the
> same problem! Can anyone tell me what I'm doing wrong?
>
> Many thanks,
>
> Andrew
>
--
Dr. Andrew Raine, Head of IT, MRC Mitochondrial Biology Unit,
Keith Peters Building, Biomedical Campus, Cambridge, CB2 0XY, UK
phone: +44 (0)1223 252830 web: www.mrc-mbu.cam.ac.uk
email: [log in to unmask]
########################################################################
To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCPEM&A=1
This message was issued to members of www.jiscmail.ac.uk/CCPEM, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/
|