-
Notifications
You must be signed in to change notification settings - Fork 39
update mathworksservicehost protocol KUL #494
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
base: master
Are you sure you want to change the base?
Conversation
|
@smoors , could you check whether or not you want the information on killing lingering MathWorksServiceHost processes on login nodes as well? In that case I can unify the tabs, and perhaps even make it a general guideline? |
| .. code-block:: bash | ||
|
|
||
| # look for the PID of the MathWorksServiceHost process | ||
| ps x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps ps aux | grep MathWorksServiceHost instead?
| including the folder ``.MathWorks``, which can become quite big over time. To | ||
| prevent ``$VSC_HOME`` from filling up, we recommend creating symlinks to | ||
| redirect this folder to your ``$VSC_DATA`` directory. If this folder already | ||
| exists, you can safely delete it. Execute the following commands to automate the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... to automate the process -> ... to accomplish this:
|
|
||
| .. code-block:: bash | ||
|
|
||
| rm -rv ~/.MathWorks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps rm -rf ~/.MathWorks, instead?
| mkdir -pv $VSC_DATA/.MathWorks | ||
| ln -sv $VSC_DATA/.MathWorks ~/.MathWorks | ||
|
|
||
| In case you're trying this on a login node and you previously ran Matlab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe start like this: Please refrain from running MATLAB on the login nodes; but, in case you had opened MATLAB on the login nodes, you might ...
moravveji
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
You may also consider the to take out the -v option from the rm command, because it just informs you about useless stuff. Instead the -f option returns exit code 0 even if the target folder does not exist. Read all these as a personal suggestion.
|
This has slipped my mind. @smoors , is this fine for you? |
No description provided.