v0.69.0
π Focus on HPC β Enhanced Performance & Stability!
This release brings significant improvements to HPC support, making PyMAPDL even more efficient in high-performance computing environments. For a deep dive, check out the updated HPC documentation.
π₯ Highlights
-
β‘ Seamless MPI Integration on SLURM Clusters β Tighter support for distributed computing.
Details β‘οΈ #3500 -
π Improved HPC Launcher Support β Smoother launching experience on HPC setups.
Details β‘οΈ #3497 -
π Enhanced HPC Documentation β More clarity, better guidance!
Details β‘οΈ #3506 -
π Redirect MAPDL Output to a File β Capture terminal output effortlessly!
Details β‘οΈ #3596Example usage:
from ansys.mapdl.core import launch_mapdl import os mapdl = launch_mapdl(mapdl_output="apdl.out") # create a file with the console output assert os.path.exists("apdl.out") with open("apdl.out", "r") as fid: assert "START GRPC SERVER" in fid.read()
-
π οΈ Improved Internal CI/CD Testing β Ensuring stability across the board.
-
π Bug Fixes & Enhancements β General improvements for a better user experience.
Thanks for using PyMAPDL! π
What's Changed
New Features
- chore: update CHANGELOG for v0.68.6 by @pyansys-ci-bot in #3479
- refactor: launch_mapdl by @germa89 in #3475
- feat: adding 'pymapdl_nproc' to non-slurm runs by @germa89 in #3487
- refactor: moving information class to another module by @germa89 in #3491
- refactor:
__init__file by @germa89 in #3490 - feat: passing tight integration env vars to mapdl by @germa89 in #3500
- refactor: modifying
subprocesscalls and removingtry except continuestatements by @clatapie in #3474 - refactor: externalise 'report' features to module by @germa89 in #3511
- test: check all commands are submitted by @germa89 in #3501
- refactor: simplifying directory setter property by @germa89 in #3517
- feat: support for launching an MAPDL instance in an SLURM HPC cluster by @germa89 in #3497
- refactor: moving tests to classes to avoid repeated fixtures execution by @germa89 in #3523
- refactor: using test classes in test_inline tests by @germa89 in #3524
- feat: using version instead of exec_path for the MPI checks by @germa89 in #3528
- chore: fix codecov.yml content by @SMoraisAnsys in #3542
- refactor: adding logging calls to misc.py by @germa89 in #3550
- refactor: removing-
run_as_prep7-in-favour-of-run_asby @germa89 in #3551 - refactor: adding-type-ints-to-misc by @germa89 in #3553
- test: adding test for start_timeout arg by @germa89 in #3554
- feat: raising error if plot image cannot be obtained by @germa89 in #3559
- refactor: using find_mapdl instead of find_ansys by @germa89 in #3560
- refactor: increase post module coverage by @germa89 in #3556
- refactor: testing suite (random order) by @germa89 in #3519
- feat: supporting v25.1 and v25.2 by @germa89 in #3571
- feat: adding-mode-warning by @germa89 in #3574
- feat: adding
check_has_mapdlby @germa89 in #3576 - feat: running MPI fix only if on windows by @germa89 in #3575
- refactor: replace
get_ansys_pathwithget_mapdl_pathby @germa89 in #3573 - feat: improving load_array to reduce format line length by @germa89 in #3590
- feat: redirect MAPDL console output to a file by @germa89 in #3596
- feat: avoid errors when retrieving invalid routine by @germa89 in #3606
- test: faking-v150 by @germa89 in #3509
- tests: adding timeout to each test by @germa89 in #3621
- feat: activate debug mode on testing using
PYMAPDL_DEBUG_TESTINGenvvar by @germa89 in #3594 - refactor: annotate pymapdl part 1 by @germa89 in #3569
- feat: update copyright year by @germa89 in #3637
- refactor: Iterate over the dictionary directly instead of using .keys(). by @MaxJPRey in #3631
- refactor: small improvements to test settings by @germa89 in #3577
Bug fixes or behavior changes
- fix: raising port busy when connecting by @germa89 in #3507
- fix: logo link by @germa89 in #3525
- fix: checking port on non-grpc mapdl instances by @germa89 in #3540
- fix: warning in docstring by @germa89 in #3552
- fix: gui-extended-example by @germa89 in #3555
- fix: python version warning by @germa89 in #3570
- fix: components typo by @germa89 in #3582
- fix: linkchecker and cheatsheet links by @germa89 in #3589
- fix: avoid verbose grpc interface when solving by @germa89 in #3608
- fix: exit getting frozen if routine is not finished by @germa89 in #3617
- fix: avoiding long names in test arguments by @germa89 in #3583
- fix: console launching by @germa89 in #3586
- fix: changelog by @germa89 in #3640
Documentation
- ci: avoiding linkcheck on changelog page by @germa89 in #3488
- docs: review of documenting using pymapdl on clusters (#3466) by @germa89 in #3506
- docs: removing extra links from landing page. by @germa89 in #3526
- maint: remove importlib-metadata requirement by @koubaa in #3546
- doc: Update pymapdl.rst by @MaxJPRey in #3527
- docs: extracting information to another rst file by @germa89 in #3549
- docs: updating compatible Python versions by @clatapie in #3572
- docs: update docker instructions by @germa89 in #3580
- docs: adding some info for getting multiple compose running by @germa89 in #3584
Maintenance
- ci: pre-commit autoupdate by @pre-commit-ci in #3482
- ci: bump thollander/actions-comment-pull-request from 2 to 3 in the actions group by @dependabot in #3481
- ci: force coloring in pytest by @germa89 in #3484
- build: bump psutil from 6.0.0 to 6.1.0 in the minimal group by @dependabot in #3492
- build: bump the documentation group with 2 updates by @dependabot in #3495
- build: bump ansys-sphinx-theme from 1.1.2 to 1.1.5 in the core group by @dependabot in #3494
- build: bump grpcio from 1.66.2 to 1.67.0 in the grpc-deps group by @dependabot in #3493
- build: bump ansys-sphinx-theme from 1.1.2 to 1.1.6 in the core group across 1 directory by @dependabot in #3496
- ci:
ansys/actions/check-vulnerabilitiesto CI-CD by @clatapie in #3505 - build: bump pyansys-tools-report from 0.8.0 to 0.8.1 in the testing group by @dependabot in #3516
- build: bump the core group with 2 updates by @dependabot in #3515
- ci: bump actions/checkout from 4.2.1 to 4.2.2 in the actions group by @dependabot in #3521
- ci: pre-commit autoupdate by @pre-commit-ci in #3522
- build: bump grpcio from 1.67.0 to 1.67.1 in the grpc-deps group by @dependabot in #3533
- build: bump the core group with 2 updates by @dependabot in #3534
- build: bump pytest-cov from 5.0.0 to 6.0.0 in the testing group by @dependabot in #3535
- ci: pre-commit autoupdate by @pre-commit-ci in #3545
- build: bump numpy from 2.1.2 to 2.1.3 in the minimal group by @dependabot in #3541
- build: bump ansys-sphinx-theme from 1.2.0 to 1.2.1 in the core group by @dependabot in #3547
- ci: bump codecov/codecov-action from 4 to 5 in the actions group by @dependabot in #3557
- ci: skipping student versions when user is authenticated by @germa89 in #3564
- build: bump grpcio from 1.67.1 to 1.68.0 in the grpc-deps group by @dependabot in #3565
- build: bump pytest-rerunfailures from 14.0 to 15.0 in the testing group by @dependabot in #3567
- build: bump the core group with 2 updates by @dependabot in #3566
- ci: adding codeql.yml by @germa89 in #3585
- build: bump imageio from 2.36.0 to 2.36.1 in the documentation group by @dependabot in #3593
- ci: pre-commit autoupdate by @pre-commit-ci in #3599
- revert: "Merge branches 'feat/piping-MAPDL-output-to-a-given-file', 'main' and 'main' of https://github.com/ansys/pymapdl" by @germa89 in #3607
- build: bump grpcio from 1.68.0 to 1.68.1 in the grpc-deps group by @dependabot in #3601
- build: bump pytest from 8.3.3 to 8.3.4 in the testing group by @dependabot in #3603
- build: bump pyfakefs from 5.7.1 to 5.7.2 by @dependabot in #3604
- build: bump the core group across 1 directory with 3 updates by @dependabot in #3612
- build: bump numpy from 2.1.3 to 2.2.0 in the minimal group by @dependabot in #3619
- ci: adding student back by @germa89 in #3623
- ci: temporary skipping attrs license check by @germa89 in #3624
- ci: adding ubuntu 251 and 252 by @germa89 in #3626
- build: bump the core group across 1 directory with 3 updates by @dependabot in #3633
- build: bump the minimal group across 1 directory with 2 updates by @dependabot in #3632
- ci: fix safety issue by @germa89 in #3638
- build: bump pyfakefs from 5.7.2 to 5.7.3 by @dependabot in #3630
Full Changelog: v0.68.6...v0.69.0