Running COMSOL server on Linux cluster, LiveLink for MATLAB on local Windows machine

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 mypwd
    
  • on 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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.