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

Ensure module setup is sourced before list #374

Merged
merged 2 commits into from
Aug 10, 2016
Merged

Conversation

jgfouca
Copy link
Contributor

@jgfouca jgfouca commented Aug 10, 2016

Test suite: None
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes #372

User interface changes?: No

Code review: @rljacob @jedwards4b

@jgfouca
Copy link
Contributor Author

jgfouca commented Aug 10, 2016

@rljacob , you're the only one I know who uses a csh-based login shell. Please see if this branch fixes the issue. @jedwards4b I want to be sure you're OK with this change.

@jedwards4b
Copy link
Contributor

You still need to uncomment the code in case_setup.py but I did that and confirmed that this is working (using a tcsh shell where it did not work before).

@rljacob
Copy link
Member

rljacob commented Aug 10, 2016

Works for me too after uncommenting that line. I get a complete software_environment.txt file and no error message.

@jgfouca
Copy link
Contributor Author

jgfouca commented Aug 10, 2016

OK, who wants to click the green button?

@rljacob
Copy link
Member

rljacob commented Aug 10, 2016

I'll merge it.

@rljacob rljacob merged commit 6eb8143 into master Aug 10, 2016
rljacob added a commit that referenced this pull request Aug 10, 2016
Ensure module setup is sourced before list

This fixes problems csh users were having when generating
software_environment.txt

Fixes #372
@rljacob
Copy link
Member

rljacob commented Aug 10, 2016

Tested on edison by a csh user (rjacob).
create_newcase -compset X -res f19_g16
./case_setup

software_environment.txt fill was successfully created.

@jgfouca jgfouca deleted the jgfouca/fix_module_list branch October 13, 2016 22:42
pesieber pushed a commit to pesieber/cime that referenced this pull request Mar 15, 2023
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.

3 participants