Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
appolloford authored and c3-builder committed Apr 18, 2024
1 parent 08cfe03 commit 8e52a4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/a/aedt.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def post_install_step(self):
with open(os.path.join(self.installdir, self.subdir, "VerifyOS.bash"), "w") as f:
f.write("")

# Set LC_ALL and LANG for runtime
# Follow the settings in .setup_runtime and .setup_runtime_mpi to set LC_ALL and LANG
# If LC_ALL is not set properly, AEDT throws the following runtime error:
# what(): locale::facet::_S_create_c_locale name not valid
for fname in [".setup_runtime", ".setup_runtime_mpi"]:
with open(os.path.join(self.installdir, self.subdir, fname), "r") as f:
orig = f.read()
Expand Down

0 comments on commit 8e52a4b

Please sign in to comment.