I am utilizing your geopsy library for computing seismic dispersion curves (Rayleigh
dispersion curves).
Recently, we observed that you introduced a new Python interface in the
latest release of your software.
We have endeavoured to install geopsy-3.5.2v and its Python
interface meticulously by following your documentation, adhering to all
the provided instructions for its construction.
However, despite successfully installing the gpdc library itself, the Python interface is
currently non-functional.
It appears that there may be an issue with the build process or perhaps
some essential headers are missing, particularly concerning the files
libGeopsyPyCoreWave.so or libGeopsyPySciFigs.so. The error trace-log is:
Code: Select all
Traceback (most recent call last):
File "/home/user/example.py", line 3, in <module>
import GeopsyPySciFigs as SF
ImportError: dynamic module does not define module export function
return any errors regarding a missing module (we have correctly added it
to the Python path and configured it for Python 3.9). Nevertheless, an
error arises concerning the dynamic module, which should be associated
with the binary .so file located in the geopsy package folder. We have
tested both versions 3.5.1 and 3.5.2.
The configuration details of the machine and all instructions for its
setup are available in the following Dockerfile within our GitHub
repository:
(https://github.com/ImahnShekhzadeh/geop ... Dockerfile).
Could you please assist us in resolving this issue? We are eager to
utilize the Python interface as it enables us to precisely specify the
frequency vector to gpdc for computing dispersion curves without relying
on a frequency sampling method. Presently, the gpdc executables do not
permit us to specify the exact frequency vector; instead, the frequency
vector is constructed by the program by specifying the sampling method.
Additionally, I attempted to utilize the C++ interface using the
provided example in your documentation. However, even this interface is
not functioning as expected due to some missing header files in the
include folder. For example, when attempting to compile using the
following command it crashes:
Code: Select all
g++ test.cpp -I/home/user/geopsy/include/ -I/home/user/geopsy/include/QGpCoreWave/ -I/home/user/geopsy/include/QGpCoreMath/ -L/home/user/geopsy/lib/ -lQGpCoreWave -lQGpCoreTools -o mytest
In file included from
Code: Select all
/home/user/geopsy/include/QGpCoreMath/AbstractColorPalette.h:30:0,
from /home/user/geopsy/include/QGpCoreMath.h:6,
from
/home/user/geopsy/include/QGpCoreWave/ArrivalTime.h:32,
from /home/user/geopsy/include/QGpCoreWave.h:6,
from test.cpp:1:
/home/user/geopsy/include/QGpCoreMath/QGpCoreMathDLLExport.h:12:10:
fatal error: QGpCoreMathStatic.h: No such file or directory
#include "QGpCoreMathStatic.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Your prompt assistance in resolving these issues would be greatly
appreciated, especially for what concerns the Python interface (highly recommended to our usage)
Sincerely,
Gurjeet Singh