Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Rust-1.56.1 #71

Closed
SamuelLarkin opened this issue Nov 26, 2021 · 4 comments
Closed

Install Rust-1.56.1 #71

SamuelLarkin opened this issue Nov 26, 2021 · 4 comments

Comments

@SamuelLarkin
Copy link
Collaborator

Hi,
I need Rust-1.56.1 to work on Trixie. I can see that Rust-1.41.0 (2020/01/20) is available but it is too old.

module avail rust

---------------------------------------------------------------------------- Core Modules -----------------------------------------------------------------------------
   rust/1.28.0 (t)    rust/1.41.0 (t,D)

  Where:
   t:  Tools for development / Outils de développement
   D:  Default Module

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

If I install my own up-to-date version and try to install something, I get:

cargo install hyperfine

...
error: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /tmp/cargo-installssCMdZ/release/deps/libserde_derive-4e5eb030ca70902c.so)
   --> /home/larkins/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/lib.rs:293:1
    |
293 | extern crate serde_derive;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: failed to compile `hyperfine v1.12.0`, intermediate artifacts can be found at `/tmp/cargo-installssCMdZ`

Caused by:
  could not compile `serde` due to previous error

Thank you CentOS for living in the past century.

@SamuelLarkin
Copy link
Collaborator Author

In issue #65 (comment), the instructions show how to load rust-1.53. Why can't I see that version when I run module avail rust?

It looks like some module are hidden because if I do

module load StdEnv/2020
module avail rust

---------------------------------------------------------------------------- Core Modules -----------------------------------------------------------------------------
   rust/1.47.0 (t)    rust/1.53.0 (t,D)

  Where:
   t:  Tools for development / Outils de développement
   D:  Default Module

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

How are we supposed to know the existence of rust-1.53 as a module?

@fieldsa
Copy link
Collaborator

fieldsa commented Nov 26, 2021

Lmod will automatically calculate dependency modules and conflicts when displaying: $ module avail rust

This is as per the design of Lua environment modules software compared to TCL module's. Thus, if I use StdEnv/2018.3 it displays only those apps which are compatible with that stdenv in cvmfs. However, once you $ module load StdEnv/2020, the list of available software changed in the output.

It is possible using module spider to list all available versions as noted.

@nrcfieldsa
Copy link

@SamuelLarkin: the following URL contains additional information on specific versions of rust available on trixie through Compute Canada software stack.

module type version
rust tools 1.28.0, 1.41.0, 1.47.0, 1.53.0, 1.59.0

Is the version 1.53 or 1.59 a workable solution for this requirement - or is a specific rust version 1.56-1 still required?

@SamuelLarkin
Copy link
Collaborator Author

Thanks. I was able to install hyperfine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants