Version 2024b and ServiceHost
Afficher commentaires plus anciens
Hello,
From the following question/response here ( https://www.mathworks.com/matlabcentral/answers/2111226-what-is-the-mathworks-service-host-and-why-is-it-running ), it would appear that this and related services cannot currently be disabled.
Is there a setting we can use to write this data and run these services from a different directory other than ~/.MathWorks?
The issue we are facing in our HPC environment is users can run matlab from any number of compute nodes and each run is creating a node specific directory. Our user home directories are limted with quotas and we're starting to receive complaints.
-Chris
Réponses (2)
Damian Pietrus
le 29 Mai 2024
Modifié(e) : Damian Pietrus
le 29 Mai 2024
1 vote
Hello Christopher,
As of now, there is no way to change the location of the MATLAB Service Host. This is feedback that we've heard from other HPC centers, so for now I'll ask you to create a service request with the issues you've seen so that it can be tracked and attached in our internal systems.
Please also feel free to reach out to me directly, as I work with Parallel Server integration in HPC.
5 commentaires
Christopher Rutledge
le 30 Mai 2024
David
le 28 Juin 2024
Dear Damian,
Do we have any idea of when this issue will be resolved or if there a way to track/comment on the progress of a solution? This is preventing us from upgrading the 2024b as there doesn't seem to be any viable work around.
kind regards,
David H
Jörg
le 28 Juin 2024
Dear Damian,
we got the same problem on our HPC cluster as well. As it appears that MATLAB Service Host is required, it would be good to allow an environment variable to override the defaults, so we could use a job-specific temporary directory to get the files in there. This way, each job has its onw MATLAB Service Host folder, which could be destroyed at the end of the job. This also prevents cluttering up the home-directory with too many files.
As the previous comment reads: is there a way to see any progress on it? Right now we got users who cannot use MATLAB on our HPC cluster.
Best wishes
Jörg
Damian Pietrus
le 28 Juin 2024
Right now I don't have any additional information. I'd recommend reaching out to our support teams directly with both feedback and questions, as they should have the most up-to-date information and can formally track and pass along feedback as well.
Christopher Rutledge
le 28 Juin 2024
Conor Burgess
le 6 Déc 2024
0 votes
Hi Chris,
We’ve recently published more information about MathWorks Service Host and how it can be administered in cases like yours here: https://github.com/mathworks-ref-arch/administer-mathworks-service-host. The scripts in that repository should help you to set up your machines with MathWorks Service Host installed into a different location, such that it doesn’t need to be installed into each user’s home directory on the HPC compute nodes.
Please also note that if MATLAB is launched from MATLAB Parallel Server, or if you start MATLAB with the `-batch` option for running non-interactive batch work, MathWorks Service Host is not currently required and wouldn’t be installed or started with R2024b.
Thanks,
Conor
Catégories
En savoir plus sur Filename Construction dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!