Giter Club home page Giter Club logo

uenv's Introduction

uenv's People

Contributors

bcumming avatar albestro avatar rasolca avatar simonpintarelli avatar rmeli avatar finkandreas avatar

Stargazers

Mikael Simberg avatar Harmen Stoppels avatar Li Jie avatar AleHC avatar Cheng Chih Yuan avatar  avatar Edoardo Baldi avatar

Watchers

Mikael Simberg avatar  avatar  avatar Matthias Krack avatar Theofilos Manitaras avatar  avatar

uenv's Issues

add $UENV_xxx to uenv status output

This is a feature request for uenv status to be more verbose.
Currently, it shows:

uenv status

/user-environment:nvhpc
  The compiler toolchains, libraries and tools required for the Cuda Fortran Check.

  modules: available
  views:
    prgenv-nvidia

Can you add UENV_MOUNT_FILE and UENV_MOUNT_POINT to the output ? For example:

uenv status

/user-environment:nvhpc
  The compiler toolchains, libraries and tools required for the Cuda Fortran Check.

  modules: available
  views:
    prgenv-nvidia

UENV_MOUNT_FILE=/scratch/e1000/manitart/myimages/nvhpc_a100.squashfs
UENV_MOUNT_POINT=/user-environment

Add support for multiple mount points

squashfs-mount added support for mounting multiple images at separate mount points

  • introduced a new syntax squashfs-mount img.squashfs:/user-environment -- bash
  • broke backwards compatibility with the v0.4 syntax

uenv needs to be updated to support the new syntax (and also to replace squashfs-run which has been deprecated with these changes.

  1. by default mount a single image at /user-environment
  2. support additional /tools mount with --tools=<img> flag?

uenv: command not found

uenv --version

uenv version 0.1-dev

For users who do not add uenv in their ~/.bashrc, uenv stop will fail with:

source ~/.local/bin/activate-uenv
uenv start ./my.squashfs
uenv stop
bash: uenv: command not found
  • exit works
  • uenv is a function so source ~/.local/bin/activate-uenv + uenv stop works too

Worth adding a note in the doc ?

`spack -C /user-environment/config load xy` not working

spack -C /user-environment/config activate -d and load shows:

==> Error: `spack env activate` requires Spack's shell support.
  
  To set up shell support, run the command below for your shell.
  
  For bash/zsh/sh:
    . /bret/scratch/cscs/simonpi/spack-0.21.2/share/spack/setup-env.sh

Despite spack shell support has been loaded via source spack/share/spack/setup-env.sh

uenv -h

uenv --version

uenv version 0.1-dev

While this runs fine:

uenv
uenv - for using user environments [version 0.1-dev]
Usage:   uenv [--version] [--help] <command> [<args>]
[...]

and this too:

uenv --help
uenv - for using user environments [version 0.1-dev]
[...]

and this too:

uenv -rulez
usage: uenv-impl [-h] [--no-color] {start,stop,status,modules,view} ...
uenv-impl: error: unrecognized arguments: -rulez

this fails:

uenv -h
bash: usage:: command not found
bash: positional: command not found
bash: start: command not found
bash: start: command not found
bash: stop: command not found
bash: status: command not found
bash: modules: command not found
3 files to edit
bash: optional: command not found
bash: -h,: command not found
bash: --no-color: command not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.