-
Notifications
You must be signed in to change notification settings - Fork 127
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
Recipe rainfarm no longer working #1180
Comments
This seems to be a bug in a specific Julia package (RCall) which is used in turn by the JuliaCall R library which we use. I found a description here JuliaInterop/RCall.jl#313 and here JuliaInterop/RCall.jl#30
There does not seem to be anything which we can really do from ESMValTool for now. |
do not install
softlinking Julia to the |
also note a possible issue that I am encountering on Jasmin (and not on my machine): JuliaLang/julia#30640 In my case, elegantly solved by stuffing Julia's face with the registries: since I am behind an odd firewall on Jasmin that allows me to |
I am actually gonna make a separate issue for this since we need to edit the documentation as well.. |
with the new sort of installing Julia, now I get this from
Any clues? |
fairly sure it's coz of |
bah no, I was severly wrong on that, I found what the issue is - it's solely related to RainFARM/read_netcdf2d:
but that exact loading method works fine with, say, a normal OBS file -> more importantly it works fine with the original CMIP5 file before being preprocessed:
interestingly enough, a pure julia load of the file works fine too
so it's not a Julia error, it's something to do with the communication between Julia and R... |
I'll leave it to you @jhardenberg to see what's going on, but I think @bouweandela 's original issue is sorted out by a correct installation of Julia with JuliaCall since that's working now 🍺 |
I was not able to reproduce the error, since I actually run into a different issue. |
adopt #1242 by me, if it works fine and we need one less dependency, a win-win. The only question I can think of is if there are users that code in R only to call Julia from within their R environment (seems like a major pain in the arse to me but hey)
dies it load the library and modules?
|
the call to setup and loading the RainFARM library work for me with:
|
Actually not. Opening R and calling those two commands crashes while doing In any case it may not be so important to investigate this further, since calling julia directly (instead of passing through R) should be preferrable, as implemented in #1242 |
Totally with you on this one, Jost 🍺
Dr Valeriu Predoi.
Computational scientist
NCAS-CMS
University of Reading
Department of Meteorology
Reading RG6 6BB
United Kingdom
…On Thu, 22 Aug 2019, 17:17 Jost von Hardenberg, ***@***.***> wrote:
dies it load the library and modules?
library(JuliaCall)
julia_setup()
Actually not. Opening R and calling those two commands crashes while doing
julia_setup()
The versions of my packages are identical to yours. A mistery ...
Enclosed is a log of what I get .... strangely it seems to be using
/usr/lib/R/lib/libR.so at the beginning even if later it uses the version
from my environment
/home/jost/miniconda3/envs/esmvaltool3/lib/R/bin/exec/../../lib/libR.so
juliacall_crash.log
<https://github.com/ESMValGroup/ESMValTool/files/3530997/juliacall_crash.log>
In any case it may not be so important to investigate this further, since
calling julia directly (instead of passing through R) should be
preferrable, as implemented in #1242
<#1242>
In #1240 <#1240> I also
prepared an example template diagnostic in pure julia to be used for future
development in julia.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1180?email_source=notifications&email_token=AG5EFI5QNZF4SX26CJWODCTQF23X3A5CNFSM4H4ENDN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45TQOY#issuecomment-523974715>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG5EFI7OIJ56BOADQ2MBRADQF23X3ANCNFSM4H4ENDNQ>
.
|
I managed to solve my problems with JuliaCall (an issue with my environment, related to julia using the wrong R when compiling the RCall package .... ) In any case I can now confirm that using the #1254 julia installation method for me also the standard R-based rainfarm recipe works again, I do not encounter the problems documented by @valeriupredoi above. So we could close this issue. As said above, if #1242 is adopted all this will become irrelevant anyway. |
This is also not working for me at DKRZ, where I'm installing julia following the standard instructions in The following error is returned:
This is the logfile from the diag script: log.txt. |
Sorry, I didn't notice there is already a PR on this. Testing now... |
When I try to run
recipe_rainfarm.yml
, the diagnostic script crashes with the following error message:It looks like
Formula
was removed in version 0.6.0 of theStatsModels
package, because installing version 0.5.0 solves the problem.The text was updated successfully, but these errors were encountered: