Skip to content

Commit

Permalink
version checking after PIM launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Nov 20, 2023
1 parent feee273 commit f4351df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1435,8 +1435,6 @@ def launch_mapdl(
if version is None:
version = os.getenv("PYMAPDL_MAPDL_VERSION", None)

version = _verify_version(version) # return a int version or none

# Start MAPDL with PyPIM if the environment is configured for it
# and the user did not pass a directive on how to launch it.
if _HAS_PIM and exec_file is None and pypim.is_configured():
Expand All @@ -1448,6 +1446,8 @@ def launch_mapdl(

return launch_remote_mapdl(cleanup_on_exit=cleanup_on_exit, version=version)

version = _verify_version(version) # return a int version or none

# connect to an existing instance if enabled
if start_instance is None:
if "PYMAPDL_START_INSTANCE" in os.environ:
Expand Down

0 comments on commit f4351df

Please sign in to comment.