LutzGross / esys-escript.github.io

Other
29 stars 13 forks source link

Unit testing #89

Closed aellery closed 1 year ago

aellery commented 1 year ago

In escript 6, run_minimizer.py fails to open libescript.so.

To reproduce, do a fresh clone, compile with any options and then run utest.sh.

Starting run_minimizer.py Thu Feb 2 08:46:05 AM AEST 2023 Traceback (most recent call last): File "/home/adam/Documents/work/escript6/tools/testrunner.py", line 83, in <module> skipped, failed = run_tests(modules, exit_on_failure=exit) File "/home/adam/Documents/work/escript6/tools/testrunner.py", line 42, in run_tests m = __import__(module) File "/home/adam/Documents/work/escript6/escript/test/python/run_minimizer.py", line 29, in <module> from esys.escript.minimizer import MinimizerLBFGS, CostFunction, MinimizerException File "escript/py_src/__init__.py", line 74, in <module> ImportError: lib/libescript.so: cannot open shared object file: No such file or directory