Comments (17)
Dear Friends,
I have modified the code to change __restrict__
to __restrict
. The latter is apparently supported by more compilers, so it might resolve the problem you reported. This change is incorporated in release v0.0.7. To update to this version, run pip install -U deepwave
.
-Alan
from deepwave.
Dear Friend,
Which of the examples are you trying to run? I suspect that you might be running out of memory. Can you try reducing the size of the model to see if that helps?
from deepwave.
Friend and Brother. !!
Memory already available is 16 GB. 24 cores machine. at the moment 12 GB free memory is still availeble.
https://pypi.org/project/deepwave/
The starting example given here I am trying to get familiar with this library and modeling.
If you can guide how much minimum memory should I have. or if I am making some nasty mistake?
Thank you so much for kind helping support.
Greetings.
from deepwave.
I have just tried executing the example on a CPU and it ran successfully:
https://colab.research.google.com/drive/1MQw5gAFblBNAky5gRdbFcrlwGkGIyl3W
This CPU only had 12GB of RAM, so 16GB should certainly be sufficient for this small example. Do the steps look the same as the ones that you followed? pip install deepwave
and then executing the code?
from deepwave.
If it is still not working, one possible source of problems is the large number of cores you have. I have not tested it on a machine with that many cores. The CPU version of the code uses OpenMP to parallelize over cores within a node. To check if this is causing a problem, you could try setting the environmental variable OMP_NUM_THREADS to 1.
from deepwave.
Dear Brother,
I found your tool interested for seismic inversion learning. Let me see .. !! I will update you shortly. Still I am working on it.
from deepwave.
Did you manage to get it running?
from deepwave.
HI.
Sorry, I tried this way, and still kernel is dying. with one thread usage. I have to test on small machine to see if something works. I will update you until weekend.
Greetings.
from deepwave.
Hi,
Thank you for your continued efforts to use the code, and I am very sorry that you are experiencing difficulty. I have not managed to reproduce the kernel dying issue on any of the systems that I have tested, so unfortunately I do not know what to suggest. Please let me know if you discover any new information that might enable me to help you.
from deepwave.
HI.
Thank you so much .. no issue. no worries. I will fix it soon and will share my experience. I would like to ask that are there any plans for the extension in 3D?
Greetings.
Khawar
from deepwave.
Hi Khawar,
Thank you for offering to share your experiences. I am sure they will be valuable for others.
The code should already run in 3D, but unfortunately it will only work for small models as it will probably run out of memory for larger models. I am very busy with other projects at the moment, so cannot dedicate the time to improve this. If you or someone else would like to write the code to improve it, I may be able to help.
from deepwave.
Dear Great Friend. That is super perfect. I will have a look how to cope with memory issue and will share my experience with 3D and will make some effort to use it for the larger 3D models.
Just one question. This BIN format for the loading is special format or its from netcdf?
Greetings.
from deepwave.
The model file that I use in the example is a plain 32-bit floating point binary file. The code expects a PyTorch Tensor as input - in the example I simply load the binary file using NumPy and then convert it to a Tensor before passing it to Deepwave.
from deepwave.
so simply the standard segy has been converted to binary? by using numpy or segyio can be used for deep wave or any guide?
from deepwave.
Yes, as long as the input to Deepwave is a PyTorch Tensor, it does not matter where that Tensor came from.
from deepwave.
Dear Friends.
When I run ' pip install deepwave' , I observe this errors :
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(57): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(57): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(58): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(58): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(59): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(59): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(59): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(60): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(60): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(60): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(61): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(61): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(62): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(62): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(63): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(63): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(63): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(64): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(64): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(64): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(65): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(65): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(66): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(66): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(67): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(67): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(68): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(68): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(56): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(68): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(81): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(81): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(81): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(82): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(82): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(82): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(83): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(83): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(83): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(84): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(84): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(84): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(85): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(85): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(86): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(86): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(86): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(87): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(87): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(88): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(88): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(88): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(89): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(89): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(89): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(90): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(90): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(91): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(91): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(91): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(92): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(92): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(92): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(93): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(93): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(93): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(94): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(94): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(95): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(95): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(80): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(150): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(150): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(151): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(151): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(151): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(152): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(152): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(152): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(153): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(153): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(154): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(154): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(154): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(155): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(155): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(155): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(156): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(156): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(156): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(157): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(157): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(158): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(158): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(158): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(159): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(159): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(159): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(160): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(160): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(160): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(161): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(161): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(161): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(162): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(162): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(162): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(163): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(163): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(149): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(163): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(168): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar.h(168): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(6): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(6): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(7): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(7): error C2086: 'const float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(6): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(9): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(9): error C2086: 'float *restrict': redefinition
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(9): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(10): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(10): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(11): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(11): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(12): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(12): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(13): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(13): error C2373: 'restrict': redefinition; different type modifiers
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(8): note: see declaration of 'restrict'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(13): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(14): error C2143: syntax error: missing ',' before 'const'
c:\users\omen\appdata\local\temp\pip-install-h9i1pg1n\deepwave\deepwave\scalar\scalar_device.h(14): fatal error C1003: error count exceeds 100; stopping compilation
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
----------------------------------------
Command ""c:\program files\python37\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\OMEN\AppData\Local\Temp\pip-install-h9i1pg1n\deepwave\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\OMEN\AppData\Local\Temp\pip-record-ibq1rxt_\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\OMEN\AppData\Local\Temp\pip-install-h9i1pg1n\deepwave\
PLease help me that install deepwave
Greetings
from deepwave.
from deepwave.
Related Issues (20)
- GradcheckError with deepwave v0.0.13 on nixpkgs HOT 6
- A question of gradient calculation when backward with CPML HOT 9
- insert nn to scatter_born can not back propagation HOT 31
- import deepwave error HOT 12
- cannot find -lcudart HOT 13
- CUDA out of memory when running Reverse-Time Migration of Marmousi example HOT 2
- ModuleNotFoundError: No module named 'deepwave' HOT 4
- optimizer selection question HOT 3
- TypeError: 'module' object is not callable HOT 9
- Asking for Propagator function in the newest version of Deepwave HOT 3
- Error in executing deepwave in MAC HOT 17
- How to calculate RTM using deepwave HOT 11
- Try the first-order acoustic equation propagation HOT 2
- scalar_born memory issue HOT 4
- 3D forward modelling HOT 5
- Incorrect output from DistributedDataParallel HOT 6
- It seams the scalar function cannot generate the ground roll when setting the free surface HOT 4
- Calculated Hessian for the elastic example. It gives zero values HOT 2
- I was unable to complete compilation HOT 5
- Apply deepwave to ultrasound HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepwave.