Skip to content

Removing VPN fix in latest MAPDL version #1492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,8 @@ def _validate_add_sw(add_sw, exec_path, force_intel=False):
if os.name == "nt" and not force_intel:
# Workaround to fix a problem when launching ansys in 'dmp' mode in the
# recent windows version and using VPN.
# This is due to the intel compiler, and only afects versions between
# 210 and 222.
#
# There doesn't appear to be an easy way to check if we
# are running VPN in Windows in python, it seems we will
Expand All @@ -1026,7 +1028,7 @@ def _validate_add_sw(add_sw, exec_path, force_intel=False):
add_sw = re.sub(regex, "", add_sw)
warnings.warn(INTEL_MSG)

if _version_from_path(exec_path) >= 210:
if 222 > _version_from_path(exec_path) >= 210:
add_sw += " -mpi msmpi"

return add_sw
Expand Down