ReFRACtor/ABSCO

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

Opened this issue · 3 comments

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

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

thanks

I am using gfortran v11

@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