spack / spack/spack-tutorial

install netcdf ^mpich section needs an overhaul

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
52
Forks
38
Avg merge
9d 17h
Merged PRs (30d)
8

Description

Hi,

thanks for building this tutorial, I found an issue in the Extra query parameters section. This does not work for me with the current releases/v0.15 branch.

  • There is no netcdf package, so this should probably be netcdf-c
  • Installing netcdf-c results in the following error which I cannot figure out:
==> Installing netcdf-c
==> No binary for netcdf-c found: installing from source
==> Error: AttributeError: 'list' object has no attribute 'directories'

/shared/spack/lib/spack/spack/build_environment.py:862, in child_process:
        859            tb_string = traceback.format_exc()
        860
        861            # build up some context from the offending package so we can
  >>    862            # show that, too.
        863            package_context = get_package_context(tb)
        864
        865            build_log = None

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Extra query parameters section in the tutorial and compare its example with the releases/v0.15 branch. Reproduce the netcdf-c installation error, determine the correct package name and working syntax, then update the section so the example installs successfully on the documented branch.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.