Skip to content

Input argument for explicit path comsol installation#249

Closed
teocala wants to merge 1 commit into
MPh-py:mainfrom
teocala:main
Closed

Input argument for explicit path comsol installation#249
teocala wants to merge 1 commit into
MPh-py:mainfrom
teocala:main

Conversation

@teocala

@teocala teocala commented Apr 16, 2026

Copy link
Copy Markdown

Hi there,
I ran into an issue using the library on a Linux cluster where the COMSOL installation was in a non-standard location. As a result, it couldn't be detected by discovery.search_disk() and discovery.search_path(). I've implemented an optional argument to allow users to provide an explicit installation path.

Please note that this is my first PR here, and I have only been able to test these changes on Linux. Thanks for maintaining such a great project! 🙌

@john-hen

Copy link
Copy Markdown
Collaborator

Hi. Before we look at your solution, let's discuss the issue you want to solve here.

[…] COMSOL installation was in a non-standard location. As a result, it couldn't be detected by […] discovery.search_path().

Why not? You can just put that non-standard location on the search path and then Comsol should be found.

@teocala

teocala commented Apr 16, 2026

Copy link
Copy Markdown
Author

Yes, I see the point and I didn't realize it at first.
Given that a workaround exists, this feature doesn’t seem necessary after all.

@teocala teocala closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants