Open yeguang-xue opened 2 years ago
Hi @yeguang-xue,
as per the compatibility guidelines here (the linkin the issue template is being fixed to send directly to the table), ANSYS 2022 R1 (221) requires ansys-grpc-dpf==0.4.0
.
Would it be possible to test with this version?
If the error persists, it looks like the issue would most likely come from the C++ compiler on your machine.
Hi @PProfizi ,
Thanks for the reply,
I tried with ansys-grpc-dpf==0.4.0
but the error persists.
I understand the error with libstdc++ is related to the system C++ library -- it appears on CentOS but not on Ubuntu. However, the hard link to MKL library seems a separate issue.
But for Ansys 2022R2, seems latest DPF library is working fine. Seems error is just for 2022R1 (even with ansys-grpc-dpf==0.4.0
).
@yeguang-xue Can you please check if you have set the following environment variables correctly? If not, please do and re-test. Please update the names as per your version.
export AWP_ROOT212=/share/software/.../ansys/2021R2/v212
export ANSYS_DPF_PATH=/share/software/.../ansys/2021R2/v212
@yeguang-xue Can you please check if you have set the following environment variables correctly? If not, please do and re-test. Please update the names as per your version.
export AWP_ROOT212=/share/software/.../ansys/2021R2/v212
export ANSYS_DPF_PATH=/share/software/.../ansys/2021R2/v212
This solved the bug on an ANSYS 2021-R2 on Linux, with Python 3.8.15, with the following packages.
$ python -m pip list
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.6.2
ansys-dpf-gate 0.2.3
ansys-dpf-gatebin 0.2.3
ansys-dpf-post 0.2.5
ansys-grpc-dpf 0.3.0
ansys-mapdl-core 0.63.3
ansys-mapdl-reader 0.52.3
ansys-platform-instancemanagement 1.0.2
appdirs 1.4.4
asttokens 2.1.0
async-timeout 4.0.2
attrs 22.1.0
backcall 0.2.0
backports.functools-lru-cache 1.6.4
cachetools 5.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
comm 0.1.0
cycler 0.11.0
debugpy 1.6.3
decorator 5.1.1
entrypoints 0.4
executing 1.2.0
frozenlist 1.3.3
geomdl 5.3.1
git-filter-repo 2.34.0
google-api-core 2.10.2
google-api-python-client 2.66.0
google-auth 2.14.1
google-auth-httplib2 0.1.0
googleapis-common-protos 1.57.0
grpcio 1.50.0
httplib2 0.21.0
idna 3.4
imageio 2.22.4
importlib-metadata 5.0.0
ipykernel 6.18.0
ipython 8.6.0
jedi 0.18.1
jupyter_client 7.4.7
jupyter_core 5.0.0
kiwisolver 1.4.4
matplotlib 3.2.2
matplotlib-inline 0.1.6
multidict 6.0.2
nest-asyncio 1.5.6
numpy 1.23.3
packaging 21.3
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.2.0
pip 22.3.1
platformdirs 2.5.2
pooch 1.6.0
prompt-toolkit 3.0.33
protobuf 3.20.3
protoc-gen-swagger 0.1.0
psutil 5.9.4
ptyprocess 0.7.0
pure-eval 0.2.2
pyasn1 0.4.8
pyasn1-modules 0.2.8
Pygments 2.13.0
pyiges 0.2.1
pyparsing 3.0.9
python-dateutil 2.8.2
pyvista 0.37.0
pyzmq 24.0.1
requests 2.28.1
rsa 4.9
scipy 1.9.1
scooby 0.7.0
setuptools 65.5.1
six 1.16.0
stack-data 0.6.1
tornado 6.2
tqdm 4.64.1
traitlets 5.5.0
uritemplate 4.1.1
urllib3 1.26.12
vtk 9.2.2
wcwidth 0.2.5
wheel 0.38.4
wslink 1.9.1
yarl 1.8.1
zipp 3.10.0
Thank you!
Before submitting the issue
Description of the bug
Encountered issue with some dynamic library loading on Ubuntu/CentOS.
The following shows screenshot of the error message on CentOS 7:
Steps To Reproduce
From a system with Ansys221 and DPF installed.
Which Operating System are you using?
Linux
Which Python version are you using?
3.9
Installed packages