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

Issue with running ./build_models.py -c gfortran -i ABSCO_config.ini #18

Open
dheligman opened this issue Dec 7, 2022 · 3 comments
Open
Assignees

Comments

@dheligman
Copy link

Hi,

I am currently running through the Quick start approach of installation. Everything seems to run smoothly until I reach step number 4. I get set of errors shown below. Not sure how to fix this.

Best,
Daniel

Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).
../src/lnfl.f:563:29:

563 | CALL CPSTOR_160 (molcpl,npl)
| 1
Error: Actual argument contains too few elements for dummy argument ‘molcpl’ (38/47) at (1)
../src/lnfl.f:566:29:

566 | CALL CPSTOR_100 (molcpl,npl)
| 1
Error: Actual argument contains too few elements for dummy argument ‘molcpl’ (38/47) at (1)
../src/lnfl.f:755:26:

755 | CALL BUFOUT (LINFIL,HID(1),NWDLIN) LN04740
| 1
......
1195 | CALL BUFOUT (LINMRG,RCDHDR(1),LRC) LN09740
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(8)/REAL(4)).
../src/lnfl.f:757:29:

757 | CALL BUFOUT (LINFIL,n_negepp(1),NWDLIN2)
| 1
......
1195 | CALL BUFOUT (LINMRG,RCDHDR(1),LRC) LN09740
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
../src/lnfl.f:783:33:

780 | CALL BUFIN (LINMRG,IEOF,RCDHDR(1),LRC) LN04780
| 2
......
783 | CALL BUFIN (LINMRG,IEOF,VNU3(1),ILNGTH) LN04810
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).
../src/lnfl.f:827:29:

827 | CALL BUFOUT (LINFIL,VNU3(1),ILNADD)
| 1
......
1195 | CALL BUFOUT (LINMRG,RCDHDR(1),LRC) LN09740
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).
make[1]: *** [makefile.common:404: lnfl.o] Error 1
make: *** [makefile.common:213: linuxGNUsgl] Error 2
LNFL not built

@pernak18 pernak18 self-assigned this Dec 7, 2022
@pernak18
Copy link
Collaborator

pernak18 commented Dec 7, 2022

@dheligman what compiler are you using, and what version of it?

thanks

@dheligman
Copy link
Author

I am using gfortran v11

@pernak18
Copy link
Collaborator

pernak18 commented Dec 8, 2022

@dheligman could you try the workaround described in AER-RC/LBLRTM#9 (comment) and try running step 4 again? you will have to use the workaround in makefile.common for both LNFL and LBL

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