Skip to content

Instuctions need revision #2

@thomas-robinson

Description

@thomas-robinson

The first step under Set up for all configurations says "Obtain the spack-stack container via s3 bucket /place/path/here". It looks like this is incomplete. I don't know where to get the container from.

There is an instruction that says "top-dir is the first dir in your $PWD."
Here is my $PWD

$ echo $PWD
/work/Thomas.Robinson/EPIC/modulefiles

Should I bind in /work/Thomas.Robinson/EPIC, /work/Thomas.Robinson, /work? I don't think I should bind in /.

I found a container on ursa that was similar: /scratch3/NCEPDEV/nems/role.epic/containers/ubuntu22.04-intel-ufs-env-v1.9.2.img
Maybe this container is old, because I followed the intel-sandbox directions and it did not find the -s option:

$ python3 convert-modules.py -i $img -o $PWD/spack-stack-1.9.2 -s ${PWD}/intel-sandbox
usage: convert-modules.py [-h] -i IMG -o OUTPUT_DIR
convert-modules.py: error: unrecognized arguments: -s /work/Thomas.Robinson/EPIC/modulefiles/intel-sandbox
$ python3 convert-modules.py --help
usage: convert-modules.py [-h] -i IMG -o OUTPUT_DIR

Modify Lua environment variable references

optional arguments:
  -h, --help            show this help message and exit
  -i IMG, --container-image IMG
                        Path to the singularity image file containing spack-
                        stack
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Path to the output directory for modified Lua files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions