You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I upgraded to ubuntu 21 and had to reinstall everything.
All was fine, except I can't install pyglow. On installation step "python3 setup.py install --user" got the following error
gfortran:f77: src/pyglow/models/dl_models/iri16/cosd_sind.for
gfortran:f77: src/pyglow/models/dl_models/iri16/iritec.for
gfortran:f77: src/pyglow/models/dl_models/iri16/irisub.for
gfortran:f77: src/pyglow/models/dl_models/iri16/iriflip_modified.for
extra f77 options: '-std=legacy -w -O2 -fbacktrace -fno-automatic -fPIC'
gfortran:f77: build/src.linux-x86_64-3.9/src/pyglow/models/dl_models/iri16/iri16py-f2pywrappers.f
src/pyglow/models/dl_models/iri16/irisub.for:1758:14:
1758 | type*,xf2,nmes,nmes-xf2,xe3_1(hlow),nmes-xe3_1(hlow)
| 1
Error: Invalid character in name at (1)
src/pyglow/models/dl_models/iri16/irifun.for:438:11:
438 | if(F1REG) H2BAR=HMF1*(1.0-((HMF1-HAHA)/HMF1)**(1.0+C1))
| 1
Error: IF clause at (1) requires a scalar LOGICAL expression
error: Command "/usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -Ibuild/src.linux-x86_64-3.9/build/src.linux-x86_64-3.9/src/pyglow/models/dl_models/iri16 -I/home/bzossi/.local/lib/python3.9/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c -c src/pyglow/models/dl_models/iri16/irisub.for -o build/temp.linux-x86_64-3.9/src/pyglow/models/dl_models/iri16/irisub.o -std=legacy -w -O2 -fbacktrace -fno-automatic -fPIC" failed with exit status 1
Installation goes through all other models but stops at IRI16, my current version is gfortran 11.
When I try to import numpy on python3 get the error:
ImportError: cannot import name 'iri_sub' from 'iri16py' (/home/bzossi/.local/lib/python3.8/site-packages/iri16py.cpython-38-x86_64-linux-gnu.so).
The text was updated successfully, but these errors were encountered:
Well, Second error apparently solved by adding "LOGICAL :: F1REG" before line 438 in irifun.for.
But:
ImportError: cannot import name 'iri_sub' from 'iri16py' keeps popping up.
Hi there. I upgraded to ubuntu 21 and had to reinstall everything.
All was fine, except I can't install pyglow. On installation step "python3 setup.py install --user" got the following error
Installation goes through all other models but stops at IRI16, my current version is gfortran 11.
When I try to import numpy on python3 get the error:
ImportError: cannot import name 'iri_sub' from 'iri16py' (/home/bzossi/.local/lib/python3.8/site-packages/iri16py.cpython-38-x86_64-linux-gnu.so).
The text was updated successfully, but these errors were encountered: