Skip to content

Commit

Permalink
comment out code until it works for tcsh users
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 10, 2016
1 parent 4a13413 commit e74906b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions utils/python/CIME/case_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,11 @@ def _case_setup_impl(case, caseroot, casebaseid, clean=False, test_mode=False, r
env_module = case.get_env("mach_specific")
env_module.make_env_mach_specific_file(compiler, debug, mpilib, "sh")
env_module.make_env_mach_specific_file(compiler, debug, mpilib, "csh")
with open("software_environment.txt", "w") as f:
f.write(env_module.list_modules())
run_cmd_no_fail("echo -e '\n' >> software_environment.txt && \
env >> software_environment.txt")
# FIXME This code is not working with tcsh and csh users using modules
# with open("software_environment.txt", "w") as f:
# f.write(env_module.list_modules())
# run_cmd_no_fail("echo -e '\n' >> software_environment.txt && \
# env >> software_environment.txt")

###############################################################################
def case_setup(case, clean=False, test_mode=False, reset=False):
Expand Down

0 comments on commit e74906b

Please sign in to comment.