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

doc: conda: add note about csh/tcsh #402

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

phil-blain
Copy link
Member

PR checklist

  • Short (1 sentence) summary of your PR:
    Update documentation for the conda configuration, mentioning that the csh shell on some Linux distros is not compatible with conda, and provide a workaround.
  • Developer(s):
    P. Blain
  • Suggest PR reviewers from list in the column to the right.
    @apcraig
  • Please copy the PR test results link or provide a summary of testing completed below.
    No tests.
  • How much do the PR code changes differ from the unmodified code?
    • bit for bit
    • different at roundoff level
    • more substantial
  • Does this PR create or have dependencies on Icepack or any other models?
    • Yes
    • No
  • Does this PR add any new test cases?
    • Yes
    • No
  • Is the documentation being updated? ("Documentation" includes information on the wiki or in the .rst files from doc/source/, which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/. A test build of the technical docs will be performed as part of the PR testing.)
    • Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • Please provide any additional information or relevant details below:

On Ubuntu and its derivatives, the csh shell at /bin/csh, which is used in the shebangs of the CICE scripts, is not compatible with conda.

Mention that in the documentation and explain how to install tcsh as an alternative, and configure the system such that /bin/csh points to /bin/tcsh.

I had to do that on my local machine a while ago at work for our in-house package manager to work in the env file, so I did not realize that is was necessary for the conda configuration also. I just realized when testing the Icepack procedure in CICE-Consortium/Icepack#296 on my personal Linux system.

On Ubuntu and its derivatives, the csh shell at
/bin/csh, which is used in the shebangs of the CICE scripts,
is not compatible with conda.

Mention that in the documentation and explain how to install tcsh as an
alternative, and configure the system such that /bin/csh points to
/bin/tcsh.
@apcraig apcraig merged commit 0bd9cdc into CICE-Consortium:master Feb 7, 2020
@phil-blain phil-blain deleted the conda-csh branch February 12, 2020 15:07
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

Successfully merging this pull request may close these issues.

2 participants