Skip to content
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

LNFL build failed #12

Open
zhgis opened this issue Sep 6, 2023 · 1 comment
Open

LNFL build failed #12

zhgis opened this issue Sep 6, 2023 · 1 comment

Comments

@zhgis
Copy link

zhgis commented Sep 6, 2023

I build LNFL but it failed, the folder named lnfl_v3.2_linux_gnu_sgl.obj hsa been created but is empty. I use gfortan on linux, take make -f make_lnfl linuxGNUsgl.
The gcc and gfortran version is 11 at first, it failed, I changed it to 9 both, it occured like this:

Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
../src/lnfl.f:580:30:

579 | DO 10 I = 1, mol_max LN03130
| 2
580 | MINDC(I) = MOLCPL(I)
| 1
Warning: Array reference at (1) out of bounds (47 > 38) in loop beginning at (2)

make[1]: *** [makefile.common:404: lnfl.o] Error 1
make[1]: Leaving directory '/home/zhang/LBLRTM/LNFL/build'
make: *** [makefile.common:213: linuxGNUsgl] Error 2

@pernak18
Copy link
Member

pernak18 commented Sep 6, 2023

@zhangguapi you have the right idea -- our current releases do not support newer versions of the gfortran compiler. i believe even GCC 8 builds fail. see the solution in #4 and let us know if that addresses the issue.

please and thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants