Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Running COMSOL server on Linux cluster, LiveLink for MATLAB on local Windows machine
Posted 2026/01/09 5:08 GMT-5 LiveLink for MATLAB, HPC & Cloud Computing, Results & Visualization Version 6.3 1 Reply
Please login with a confirmed email address before reporting spam
Dear all, my system is configured as follow:
I work on a windows laptop, I access a UNIX workstation via native windows Remote Desktop. I do not have access to the folders there from windows (I tried to map the workstation to windows with popd and net, with no success, maybe it would work installing Samba on the workstation, but I cannot). Can I access the files on the workstation with a Comsol Livelink Matlab command?
I tried as follows:
on the workstation I start the comsol server
./comsol mphserver -user myself -passwd mypwdon the laptop I start matlab&Livelink and I connect to the comsol server
mphstart("the.correct.ip", thecorrectport, "myself", "mypwd")
I can mphload a model from the local laptop, for example with
model=mphload('myModelwithResults.mph');
and for example re run solutions on the comsol server, but I would like to have the model located on the workstation and loaded it from there, for example
model=mphload('//the.correct.ip/home/myself/myModelwithResults.mph');
but it does not work. What is the correct syntax for mphload (and then I assume is the same for mphsave, I would like to be able to save the model on the workstation, too).
I can run matlab directly on the workstation, but I am interested in the specific configuration I mention here.
Thanks,
-------------------Any opinion expressed is my own and it does not represent my employer.
