Closed Alex-Meek closed 1 year ago
This would happen because your compute node can't reach the Comsol license manager, I would think.
I've diagnosed the issue with a colleague and the issue seems to be related to MPI/COMSOL on the cluster. Running on a node without MPI solves the issue. This isn't an issue with Mph so I'll close this, thanks.
Hello,
I'm having an issue when calling mph.start(), but only when the function is called on a HPC compute node (works fine on the login node, and on other work stations like my laptop / remote servers).
For example, in the login node (or any other work station), I can activate my conda environment with mph installed, navigate to the mph installation. Then, run python test_session.py, which results in no output.
However, if I do the same on a compute node, I receive the following error:
I should add that I have my own version of the mph package in which I manually set the jvm.dll/.so path in discovery.py for my older COMSOL 5.4 version, but other than that the package is identical. Further, I've validated that mph is working correctly on other machines regardless; I can start clients, create, run, and evaluate models as expected.
Any knowledge with regards to why this is happening would be appreciated, as I'm not familiar with java. Thanks!