SMOKE compiled with GCC

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 defined as an integer so the error makes sense. I was able to compile by simply substituting with LFIP=0 but I have no clue if this is the intended use.

1 Like