ReFRACtor / ABSCO

Software that can generate a set of ABSoprtion COefficient tables that span the thermal IR to UV spectral range
Other
9 stars 4 forks source link

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

Open dheligman opened 1 year ago

dheligman commented 1 year ago

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 commented 1 year ago

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

thanks

dheligman commented 1 year ago

I am using gfortran v11

pernak18 commented 1 year ago

@dheligman could you try the workaround described in https://github.com/AER-RC/LBLRTM/issues/9#issue-786461684 and try running step 4 again? you will have to use the workaround in makefile.common for both LNFL and LBL