I am attempting to run the demo.f90 file on Ubuntu. I am new to Cantera, Fortran, and Linux and running into some issues with compiling. I'm currently getting the following error:
include /usr/include/cantera/Cantera.mak
FC = gfortran
RM = rm -f
FFLAGS = -g -O3 -Wall -Wextra -std=f2008
FMODDIR = $(CANTERA_FORTRAN_MODS)
LDFLAGS =
LDLIBS = $(CANTERA_FORTRAN_LIBS)
#CPPFLAGS = $(CANTERA_INCLUDES) -O3
SRC = demo.f90
OBJ = $(subst .f90, .o, $(SRC))
all: demo
comp : $(OBJ)
$(FC) $(LDFLAGS) -o comp $(OBJ) $(LDLIBS)
%.o: %.f90
$(FC) $(FFLAGS) -o $@ -c $< $(FMODDIR) $(FDFLAGS)
clean:
$(RM) $(OBJ)
dist-clean: clean
$(RM) *~