[petsc-users] Using Petsc-Matlab engine on a cluster

Amneet Bhalla mail2amneet at gmail.com
Tue Nov 10 20:13:07 CST 2020


Mark, unfortunately we do not have an experienced cluster admin. We mostly
instruct the admin on matters like these.

On Tue, Nov 10, 2020 at 4:22 AM Mark Adams <mfadams at lbl.gov> wrote:

> You need to talk to your system administrator or whoever installed the
> Matlab licence, or Matlab.
> Good luck,
> Mark
>
> On Mon, Nov 9, 2020 at 6:36 PM Kaustubh Khedkar <kkhedkar9879 at sdsu.edu>
> wrote:
>
>> Hello,
>>
>> I am using PETSc with Matlab engine. I have built an application that
>> uses Matlab engine through PETSc interface. I am trying to run this
>> application on a cluster which has Matlab installed on a network drive (nas
>> drive). I have made sure that I am able to access Matlab using my
>> university details on the cluster (by activating Matlab license through
>> Mathworks.com account). I am also able to run this application using mpirun
>> on the head node (master) which starts the Matlab engine but if I try to
>> run this application using slurm on compute node then the Matlab engine
>> does not start. I have also confirmed that if I login into one of the
>> compute nodes and do a mpirun the Matlab engine does not start there. If I
>> try to launch Matlab on a compute node it asks for Matlab license which the
>> compute node is unable to activate possibly because it is not connected to
>> the internet directly.
>>
>>
>>
>> Is there a way start matlab engine on the head node through Petsc
>> interface even though the application is running on compute nodes or is
>> there any other work around this issue?
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Kaustubh Khedkar
>>
> --
--Amneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201110/596c9905/attachment-0001.html>


More information about the petsc-users mailing list