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

**URL:** <https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087>\
**Category:** Run Errors and Warnings\
**Tags:** admin, smoke, smoke-481\
**Created:** [March 8, 2022, 2:46pm UTC](https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087 "2022-03-08T14:46:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 8, 2022, 2:46pm UTC](https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087/1 "2022-03-08T14:46:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [March 9, 2022, 3:24pm UTC](https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087/2 "2022-03-09T15:24:46Z")

</div>

> [@SMOKE compiled with GCC](https://forum.cmascenter.org/t/smoke-compiled-with-gcc/2735/11):
>
> Actually, I ran into an error while compiling: /home/centos/PREPRO/SMOKE/subsys/smoke/src/smkinven/rdemspd.f:304:15: 304 | LFIP = '' | 1 Error: Cannot convert CHARACTER(0) to INTEGER(4) at (1) make: \*\*\* [Makefile:349: rdemspd.o] Error 1 /home/centos/PREPRO/SMOKE/subsys/smoke/src/smkinven/rdorlfr.f:493:15: 493 | LFIP = '' | 1 Error: Cannot convert CHARACTER(0) to INTEGER(4) at (1) make: \*\*\* [Makefile:349: rdorlfr.o] Error 1 LFIP is …

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 9, 2022, 4:07pm UTC](https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087/3 "2022-03-09T16:07:18Z")

</div>

Thank you so much. It works

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 9, 2022, 5:08pm UTC](https://forum.cmascenter.org/t/smoke-v4-81-installtion-issue-make-rdemspd-o-error-1/3087/4 "2022-03-09T17:08:46Z")

</div>

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?
