Open The-Fonz opened 4 years ago
Hi @The-Fonz, I'm having the same problem when trying to run it (not in docker though). I get
ImportError: /pycles/Radiation.so: undefined symbol: _ZGVbN2v_exp
Were you able to find any solution to this?
@lsterzinger I haven't found a solution, still stuck in the same place! Was hoping one of the authors/maintainers would answer at some point!
@pressel any thought on this?
It might be related to the gfortran version when compiling pycles, I used the latest gfrotran compiler and found a similar problem, but not in Docker. Then I changed the gfortran version to 8.4 and the problem solved. @The-Fonz @lsterzinger
Hi, @huzizhan
I tried compiling with gfortran version 8.4, and python 3.9.12 on a Debian Linux system but still getting the error below:
Traceback (most recent call last):
File "/nlsasfs/home/fdmod/kaditya/pycles/main.py", line 33, in
python version might also be the reason, you can try python 3.8.13(currently running in my arch linux) for testing @adityakalaga
I'm trying to run PyCLES to just play around with it, a.k.a. "my first LES", and have come so far as to be able to compile RRTMG and PyCLES, but when running it something goes wrong in the linking I believe. I am not very experienced with compiling/linking, and am currently a bit stuck, but it is probably something very small.
I'm using a Docker image for this purpose, I'll make a pull request with a working version if this is solved, might be nice for others as a starting point.
I am using these parameters in
setup.py
, as the if-else sequence there seems to be for specific computers, as discussed in this issue.I build this with
docker build -t pycles .
which takes a while due to RRTMG but finishes without errors, and run withdocker run -it pycles
. Then I dopython generate_namelist.py StableBubble
andpython main.py StableBubble.in
, but get this:I had different errors before (with missing MPI functions) but apparently solved those, however now I'm a bit stuck. Would appreciate any help!