MPh: Discovery of Comsol 6.0 fails on Linux
Hi,
I’ve upgraded my comsol version to 6.0 and now mph is failing to locate comsol. I did a quick research and it seems that the following code is failing with comsol 6.0:
backends.append({ 'name': name, 'major': major, 'minor': minor, 'patch': patch, 'build': build, 'root': root, 'jvm': jvm, 'java': java, 'server': [comsol, 'mphserver'],
I’ve downgraded and it works as usual.
Louis
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (3 by maintainers)
Commits related to this issue
- Relaxed test assertions when comparing tags with reference model. `test_tag()` in `test_node.py` compares the node tags generated by MPh with the tags created by Comsol for the same model. The refere... — committed to MPh-py/MPh by john-hen 2 years ago
- Fixed discovery of Comsol 6.0 on Linux. (#67) The relative location of `libjvm.so` has changed between Comsol 5.6 and 6.0, probably because the vendored JDK was upgraded from 8 to 11. We now simply c... — committed to MPh-py/MPh by john-hen 2 years ago
Great! the test now passes with the patch.
Many Thanks for the work, I’ll wait for the release when you’ll have the time.
Hi I confirm that on a linux server mph fails to find the comsol installation. the proposed discovery test returns :
tell me if you want additional information
The below holds for Windows 10, COMSOL 6.0: I can confirm that I can run and test everything that does not need a license, and if this is the issue the exception is quite clear.
So if the installation is performed correctly,
MPhworks withCOMSOL 6.0on either Windows and macOS, I would assume it should work on Linux too.Thanks for your quick reply. Now I still use COMSOL 5.6 version, later I’ll try to use COMSOL 6.0 because it’s a significant update and I’m willing to report some info with you to improve MPh.