-
Notifications
You must be signed in to change notification settings - Fork 200
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
Exhaustive printing by remote frontend #2978
Comments
@giovannipizzi This was a case where
One way of offering a solution would be to add the type of shell (login vs. no-login) as a variable to the computer |
Adding a bit to this. This is also rather typical configuration these days (except possibly the misconfiguration of the non-interactive shell) It is used as a messaging channel to the users. Turns out to be far more effective than anything else. We cannot expect this to go away anytime soon. Given that it seems we have two clear cut cases: offering novice users an expected behavior and offering more experienced users compliance, I would suggest considering to add an option to remove the |
@espenfl Just to clarify: AiiDA has no issues, if this "welcome message" is shown only for interactive shells (which is e.g. the case at all supercomputing centers I'm interacting with). Anyhow, I don't see a problem with making this configurable in the computer P.S. As for where to put this information (setup vs configuration) it's not entirely straightforward. |
This is fixed in #4271 . When configuring a computer, you can now set |
I am trying to configure and use a remote front end in our HPC facility which prints exhaustive log to the screen upon connection. We tried to use the solution provided under the issue #1890 but apparently putting either of guards (both in .bashrc and .bash_profile) does not solve the issue.
The non-interactive shell by executing
ssh <host> " bash --login -c 'ls' "
still prints out the welcome message:The current fix for this issue proposed by @ltalirz is to change the the following line:
https://github.com/aiidateam/aiida_core/blob/521b77824c0e066f5ba0f58045b98f7a0269b9ef/aiida/transports/plugins/ssh.py#L1128
and remove the
-l
.The text was updated successfully, but these errors were encountered: