There is a newer version of the record available.

Published October 30, 2025 | Version v1.3.0
Software Open

MPh-py/MPh: 1.3.0

  • 1. ETH Zürich, Optical Nanomaterial Group

Description

  • Published on October 30, 2025.
  • Adds support for ARM versions of Comsol on macOS. (#80) On newer Macs with Apple Silicon CPUs, we now look for the ARM versions of Comsol, unless Python is running through the Rosetta emulation layer.
  • Drops support for Python 3.6, 3.7, 3.8, 3.9. (#234) These older Python versions have reached end of life and are poorly supported by modern development tools.
  • Adds type annotations to code base for an improved development experience. (#230) Type annotations improve autocompletion results and enhance context-based suggestions in code editors and IDEs.
  • Makes client–server mode the default also on Windows. (#236) This has always been the default on Linux and macOS. We now use client–server mode on Windows in order to connect to the Comsol compute back-end, instead of the stand-alone client we used to prefer for better start-up performance. This might solve some non-reproducible problems Windows users have reported. It is not expected to have detrimental effects on the user experience.
  • Prioritizes Comsol installation found on search path. (#232) The Comsol installation associated with the Comsol executable found on the search path (the PATH environment variable) is now preferred over other Comsol installations of the same versions. This is useful for the rare scenario when different single-user licenses are to be used on the same machine.
  • Replaces Comsol's deprecated clearSolution() with clearSolutionData(). (#193) For reasons unexplained, Comsol has introduced a new method to purge solution data from models. What it does differently is unclear. Therefore, this change may not be 100% backward-compatible, but it is not expected to be noticeable.

Files

MPh-py/MPh-v1.3.0.zip

Files (576.1 kB)

Name Size Download all
md5:a32e43c4762f2476d66e6f6a23662218
576.1 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/MPh-py/MPh/tree/v1.3.0 (URL)

Software