-
Notifications
You must be signed in to change notification settings - Fork 42
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
beat sample Laquila error #58
Comments
Here is the full message: models - INFO Analysing problem ... geodetic - INFO Number of geodetic datasets: 2 models - INFO Optimization for 3 hyperparameters in total! You can find the C code in this temporary file: /var/folders/5c/g4x7qt9s26gc2x5yj1dtynmh0000gp/T/theano_compilation_error_ybz83ftz |
I never had that issue before. |
Hi @hvasbath, yes it appears so:
It also seems that Theano works properly:
|
There were also some directory paths in the config_geometry.yaml file that I was unsure of. For example, where should
point? I cannot find any files named Laquila_dscxn/ascxn. Should those already exist? |
They are stored in the pickle file in the data geodetic_data.pkl. See https://hvasbath.github.io/beat/getting_started/import_data.html#insar. To me this does not some like a beat issue but a installation issue on your side. |
So gcc seems to be working fine and theano also compiles the simple example. What theano version are you using?
|
Can you also please try to clear your theano cache with |
My theano version is 1.0.4 |
hm I dont know- you will need to do some digging yourself in the theano forum and issues on github. I think its a compiler issue and goes in line with all these other compiler issues you reported ... |
Okay, thanks for your assistance looking into this @hvasbath. I'll let you know what I find out. |
Here is an issue another person had, but already during import. Nevertheless you might be able to find some hints. Also there is this theano google group you could search for similar issues: |
Thanks, Hannes. I'll take a look! |
Hi @rzinke - I was just wondering whether you found the solution to this issue, as I get the exact same compilation error when trying to run Example 3 of BEAT on Mac OS 12.0.1 Monterey? I installed BEAT through the Anaconda package manager following the website instructions, and everything else seems to work ok Looks like it is something to do with Theano and not BEAT directly, but I cannot work out what it might be. |
Hi @samwimpenny , does your gcc compiler work? Proposed solutions:
For others creating symbolic links to the correct library helped: |
My gcc compiler seems to work fine:
I first tried installing theano through pip. To remove theano from the conda environment I first just tried I then ran
Then trying to run I also tried the solutions from https://stackoverflow.com/questions/58278260/cant-compile-a-c-program-on-a-mac-after-upgrading-to-catalina-10-15/58349403#58349403 after removing and reinstalling beat from scratch through Anaconda. Sym-linking the C header library to Not sure what else to do, but I'll keep looking. |
I have a colleague who successfully installed it on anaconda with MAC I will ask him ... |
Hi @samwimpenny unfortunately I didnt hear back from my colleague yet. Next week I will have a zoom call with him- I hope to ask him then. Do you have any update on that issue? |
No problem. I haven't made any progress yet, as I've been away for a couple of weeks. I'll be sure to let you know if I can get a workaround going. |
We have been looking into that in more detail. Apparently, it has to do with newer MACs and clang as the default C compiler. We did not succeed getting it running. Likely theano is getting to old. The solution is to update BEAT to use pymc4. However, thats a major endeavour, but is needed for also other features that are planned. So eventually its going to happen at some point in time ... stay tuned. |
One user @JJaraG managed to install it on M1 using:
[global] cxx=/opt/homebrew/bin/g++ |
BEAT version 2 should be now easy and straightforward to be installed and executed. Theano dependency was dropped. |
Hello,
I am trying to complete Example 3[https://hvasbath.github.io/beat/examples/Rectangular.html] from the tutorial.
I have completed part of the tutorial, however, when I attempt to run
beat sample Laquila
I get an error message that I have trouble interpreting. The message is quite long, and in addition to pasting it below, I have attached it in a text file if that is easier to read.I have also included my config_geometry.yaml file if that helps.
I am using a Mac running Mojave 10.14.6.
Please let me know where to start fixing this, and how I can help troubleshoot!
beat sample Laquila Error.txt
config_geometry.txt
The text was updated successfully, but these errors were encountered: