question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discovery of Comsol 6.0 fails on Linux

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mchekrcommented, Feb 23, 2022

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.

1reaction
mchekrcommented, Feb 23, 2022

Hi I confirm that on a linux server mph fails to find the comsol installation. the proposed discovery test returns :

$ python3 tools/test.py discovery --log
Running test group "discovery".
[00:00.138] Checking installation folder "/usr/local/comsol60/multiphysics".
[00:01.060] Reported version info is "COMSOL Multiphysics 6.0.0.318".
[00:01.061] Assigned name "6.0" to this installation.`
[00:01.061] Did not find Java virtual machine.
[00:01.061] Could not locate any Comsol installation.
Traceback (most recent call last):
  File "XXXXX/tests/MPh-main/tests/test_discovery.py", line 40, in <module>
    test_backend()
  File "XXXXX/tests/MPh-main/tests/test_discovery.py", line 25, in test_backend
    backend = mph.discovery.backend()
  File "XXXXX/tests/MPh-main/mph/discovery.py", line 416, in backend
    raise RuntimeError(error)
RuntimeError: Could not locate any Comsol installation.
Failed after 1 s.

tell me if you want additional information

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating the COMSOL License Manager - Knowledge Base
The solution is to update the on-site COMSOL License Manager software from COMSOL version 6.0 to version 6.1. Step-by-step instructions can be found...
Read more >
COMSOL not working on a Linux cluster - Knowledge Base
Solution. The underlying reason for COMSOL not working on a Linux cluster might be that the network interface and fabrics are not detected...
Read more >
Installing COMSOL on Linux - Knowledge Base
This solution provides some tips and troubleshooting guides for installation on the Linux platform. For basic installation information, please refer to the ...
Read more >
Installation - Support Knowledge Base - COMSOL Multiphysics
I am observing that distributed cluster jobs on Linux are not starting up. I am receiving error messages from MPI. The underlying reason...
Read more >
Ubuntu 14.04LTS installation notes - COMSOL
In any case, linux install was well worth it. In my preliminary benchmark linux was _twice_ as fast as Windoze running COMSOL and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found