Skip to content

update mathworksservicehost protocol KUL#494

Open
w-lampaert wants to merge 2 commits intomasterfrom
update_ood_matlab
Open

update mathworksservicehost protocol KUL#494
w-lampaert wants to merge 2 commits intomasterfrom
update_ood_matlab

Conversation

@w-lampaert
Copy link
Contributor

No description provided.

@w-lampaert w-lampaert requested review from moravveji and smoors August 26, 2025 12:03
@w-lampaert
Copy link
Contributor Author

@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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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 ...

@w-lampaert w-lampaert requested a review from moravveji August 27, 2025 12:32
Copy link
Contributor

@moravveji moravveji left a 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.

@w-lampaert
Copy link
Contributor Author

This has slipped my mind. @smoors , is this fine for you?

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.

2 participants