SMOKE v4.81 installtion issue: make: *** [rdemspd.o] Error 1

Hello @bbaek @cjcoats
Using GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) compiler, I successfully installed and compiled Netcdf4.7.4 and IOPAI3.2.

But when I tried to install SMOKEv4.81, I am getting following error:

AUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -DIOAPI_NCF4=1 -c /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rddatantifr.f
cd /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/…/Linux2_x86_64gfort; gfortran -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/ioapi/fixed_src -I/home/Iqbal/Documents/SMOKE481/subsys/smoke/src/inc -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -DIOAPI_NCF4=1 -c /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rddatantimb.f
cd /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/…/Linux2_x86_64gfort; gfortran -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/ioapi/fixed_src -I/home/Iqbal/Documents/SMOKE481/subsys/smoke/src/inc -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -DIOAPI_NCF4=1 -c /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rddatantinp.f
cd /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/…/Linux2_x86_64gfort; gfortran -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/ioapi/fixed_src -I/home/Iqbal/Documents/SMOKE481/subsys/smoke/src/inc -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -DIOAPI_NCF4=1 -c /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rddatantipt.f
cd /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/…/Linux2_x86_64gfort; gfortran -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/ioapi/fixed_src -I/home/Iqbal/Documents/SMOKE481/subsys/smoke/src/inc -I/home/Iqbal/Documents/SMOKE481/subsys/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -DIOAPI_NCF4=1 -c /home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rdemspd.f
/home/Iqbal/Documents/SMOKE481/subsys/smoke/src/smkinven/rdemspd.f:304.15:

    LFIP = ''                                                              
           1

Error: Can’t convert CHARACTER(1) to INTEGER(4) at (1)
make: *** [rdemspd.o] Error 1

Would you please help me? I don’t understand what changes to make in rdemspd.f file. I can see three LFIP occurance.

Thanks in advance

Note: I did install v4.7 using the same setting last year.

Thank you so much. It works

Hellp @bbaek

I encounter a weird problem. I can not find “install_diffs.txt” file. So, after successful installation, I checked all the files in $LOGS directory which shows “Normal Completion”.

Then I run the QA script . The output shows " Differences between your installation and correct answers exist! Please refer to file $SMKROOT/doc/install_diffs.txt for details.".

[Iqbal@ADEQPlanning SMOKE481]$ cd LOGS [Iqbal@ADEQPlanning logs] grep ERROR *
smkinven.area.nctox.log: Value for SMK_MAXERROR: 100
smkinven.nonroad.nctox.log: Value for SMK_MAXERROR: 100
smkinven.point.nctox.log: Value for SMK_MAXERROR: 100
smkinven.rateperdistance.nctox.log: Value for SMK_MAXERROR: 900000
smkinven.rateperhour.nctox.log: Value for SMK_MAXERROR: 900000
smkinven.rateperprofile.nctox.log: Value for SMK_MAXERROR: 900000
smkinven.ratepervehicle.nctox.log: Value for SMK_MAXERROR: 900000
spcmat.area.nctox.cmaq_cb05_soa.log: Value for SMK_MAXERROR: 100
spcmat.area.nctox.cmaq_cb05_soa.log: Value for DEFAULT_CONV_FAC_ERROR not defined;returning default: FALSE
spcmat.nonroad.nctox.cmaq_cb05_soa.log: Value for SMK_MAXERROR: 100
spcmat.nonroad.nctox.cmaq_cb05_soa.log: Value for DEFAULT_CONV_FAC_ERROR not defined;returning default: FALSE
spcmat.nonroad.nctox.cmaq_cb05_soa.log: Value for SMK_MAXERROR: 100
spcmat.point.nctox.cmaq_cb05_soa.log: Value for SMK_MAXERROR: 100
spcmat.point.nctox.cmaq_cb05_soa.log: Value for DEFAULT_CONV_FAC_ERROR not defined;returning default: FALSE
temporal.area.nctox.20050710.log: Value for SMK_MAXERROR: 100
temporal.nonroad.nctox.20050710.log: Value for SMK_MAXERROR: 100
temporal.point.nctox.20050710.log: Value for SMK_MAXERROR: 100
temporal.rateperdistance.nctox.20050710.us12-nc.log: Value for SMK_MAXERROR: 900000
temporal.rateperhour.nctox.20050710.us12-nc.log: Value for SMK_MAXERROR: 900000
[Iqbal@ADEQPlanning logs]$ cd SCRIPTS/install [Iqbal@ADEQPlanning install] ./check_smk_install

Differences between your installation and correct answers exist!
Please refer to file $SMKROOT/doc/install_diffs.txt for details.

[Iqbal@ADEQPlanning install]$ cd $SMKROOT/doc
/home/Iqbal/Documents/SMOKE481/subsys/smoke/doc: No such file or directory.

When I use following command:

[root@ADEQPlanning smoke]# sudo find / -type f -name “install_diffs.txt”

I get the location of the file:
/home/Iqbal/Documents/SMOKE481/subsys/smoke/scripts/install/install_diffs.txt

But I can not find out $SMKROOT/doc directory. Is it because my installation not complete?. Is it going to be an issue?