-
Notifications
You must be signed in to change notification settings - Fork 25
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
pyDPF-core will not open result files from Ansys version older than 21 #748
Comments
Seems to be hardcoded in ansys/dpf/core/server.py: line 178+
|
@iceblink-ansys ok so the issue is that while you seem to have ANSYS 2022R2 installed (you mention it in the issue description), DPF tries to start a server using your 2018.2 installation folder. The problem is not with the result file. Could you please try:
DPF should detect your 2022.2 installation if either:
|
@PProfizi when i try that:
It may be that our IT folks have missed some environment variable when they set up the linux "module" for Ansys 2022. Though it is strange that it does find v18 then, since the linux module for that version is not loaded. $ module list Currently Loaded Modules:
|
|
Hi @iceblink-ansys, Another solution is to use, if you can, the new standalone version of the DPF server, as described here, which works like a Python library. |
If you put it this way, maybe I know where this is coming from... |
@iceblink-ansys I am not sure I see how it could directly be related to the error at hand, yet to me venvs are not portable, so it might very well be a problem anyway. |
Before submitting the issue
Description of the bug
Steps To Reproduce
start pyAnsys virtual environment
start python
inside python do:
from ansys.dpf import core as dpf
model = dpf.Model('v18.rst')
Which Operating System are you using?
Linux
Which DPF/Ansys version are you using?
Ansys 2022 R2
Which Python version are you using?
3.7
Installed packages
Package Version
aiohttp 3.8.3
aiosignal 1.3.1
ansys-api-mapdl 0.5.1
ansys-api-platform-instancemanagement 1.0.0b3
ansys-corba 0.1.1
ansys-dpf-core 0.7.1
ansys-dpf-gate 0.3.0
ansys-dpf-gatebin 0.3.0
ansys-dpf-post 0.2.5
ansys-grpc-dpf 0.7.0
ansys-mapdl-core 0.63.4
ansys-mapdl-reader 0.52.4
ansys-platform-instancemanagement 1.0.2
appdirs 1.4.4
async-timeout 4.0.2
asynctest 0.13.0
attrs 22.1.0
cachetools 5.2.0
certifi 2022.12.7
charset-normalizer 2.1.1
cycler 0.11.0
fonttools 4.38.0
frozenlist 1.3.3
geomdl 5.3.1
google-api-core 2.11.0
google-api-python-client 2.70.0
google-auth 2.15.0
google-auth-httplib2 0.1.0
googleapis-common-protos 1.57.0
grpcio 1.51.1
httplib2 0.21.0
idna 3.4
imageio 2.22.4
importlib-metadata 5.1.0
kiwisolver 1.4.4
matplotlib 3.5.3
multidict 6.0.3
numpy 1.21.6
packaging 22.0
pexpect 4.8.0
Pillow 9.3.0
pip 22.3.1
pooch 1.6.0
protobuf 3.20.3
protoc-gen-swagger 0.1.0
psutil 5.9.4
ptyprocess 0.7.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pyiges 0.2.1
pyparsing 3.0.9
python-dateutil 2.8.2
pyvista 0.37.0
requests 2.28.1
rsa 4.9
scipy 1.7.3
scooby 0.7.0
setuptools 47.1.0
six 1.16.0
tqdm 4.64.1
typing_extensions 4.4.0
uritemplate 4.1.1
urllib3 1.26.13
vtk 9.2.2
wslink 1.9.2
yarl 1.8.2
zipp 3.11.0
The text was updated successfully, but these errors were encountered: