Skip to content
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

tukey_gauss_qsym_pml example does not work but gauss_qsym_pml not #90

Closed
AnnaEKnight opened this issue Feb 25, 2021 · 3 comments
Closed
Assignees

Comments

@AnnaEKnight
Copy link
Collaborator

unclear if this is a python3.8 issue or if the tukey example is a dead end that should be removed.

@AnnaEKnight
Copy link
Collaborator Author

(.venv) aek27@dcc-login-03 /work/aek27/TestingFemTools2021/QsymTry1 $ cat slurm-3390753.out

INFO:fem.mesh.GenMesh:872176/872176 nodes written to nodes.dyn

INFO:fem.mesh.GenMesh:843750/843750 elements written to elems.dyn

STARTED: Thu Feb 25 14:40:51 2021

HOST: dcc-ultrasound-01

Traceback (most recent call last):

File "/var/spool/slurmd/job3390753/slurm_script", line 36, in

generate_loads([0.1, 0.1, 0.75], [0.0, 0.0, -1.5], tukey_length=2.5)

File "/work/aek27/.venv/lib/python3.8/site-packages/fem/mesh/GaussExc.py", line 42, in generate_loads

load_nodeID_amp = read_process_nodes(sigma, center, sym, amp, amp_cut,

File "/work/aek27/.venv/lib/python3.8/site-packages/fem/mesh/GaussExc.py", line 80, in read_process_nodes

nodeGaussAmp = calc_tukey_amp(fields, center, sigma,

File "/work/aek27/.venv/lib/python3.8/site-packages/fem/mesh/GaussExc.py", line 249, in calc_tukey_amp

z_scale = tukey_z_scale(node_xyz[3], center[2], tukey_length, tukey_alpha)

File "/work/aek27/.venv/lib/python3.8/site-packages/fem/mesh/GaussExc.py", line 276, in tukey_z_scale

from scipy.signal import tukey

File "/work/aek27/.venv/lib/python3.8/site-packages/scipy/init.py", line 141, in

from scipy._lib._ccallback import LowLevelCallable

File "/work/aek27/.venv/lib/python3.8/site-packages/scipy/_lib/_ccallback.py", line 1, in

from . import _ccallback_c

File "_ccallback_c.pyx", line 210, in init scipy._lib._ccallback_c

File "/opt/apps/rhel7/python-3.8.1/lib/python3.8/ctypes/init.py", line 7, in

from _ctypes import Union, Structure, Array

ImportError: libffi.so.7: cannot open shared object file: No such file or directory

@mlp6
Copy link
Owner

mlp6 commented Feb 25, 2021

The unit test is passing just fine: https://github.com/mlp6/fem/blob/main/tests/test_GaussExc.py

@mlp6 mlp6 self-assigned this Feb 25, 2021
@mlp6
Copy link
Owner

mlp6 commented Feb 25, 2021

Doesn't appear to be a bug; might be an issue with activating the venv.

@mlp6 mlp6 closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants