Dear all,
I am compiling SMOKEv4.7, when I was in the /smoke/subsys/smoke/src directory, and typed make. The error is showed in the picture
However, I am sure there is libemmod.a in the /smoke/subsys/smoke/src directory. I also have a try to copy the libemmod.a to the /smoke/subsys/smoke/src/inc directory, but the error is still appeared.
My Makeinclude file was set as:
* BIN = Linux2_x86_64gfort* * BASEDIR = ${SMK_HOME}/subsys/smoke/src* * INCDIR = ${BASEDIR}/inc* * OBJDIR = ${BASEDIR}/../${BIN}*
IOBASE = ${SMK_HOME}/subsys/ioapi
IODIR = ${IOBASE}/ioapi
IOBIN = ${IOBASE}/${BIN}
IOINC = ${IODIR}/fixed_src
INSTDIR = /${OBJDIR}/${BIN}
## Architecture dependent stuff
include ${IODIR}/Makeinclude.${BIN}
F90 = $(FC)
# IFLAGS = -I${IOINC} -I${INCDIR} -I${IOBIN} # Intel, Absoft, Pathscale, UNIX Fortran
IFLAGS = -I${IOINC} -I${INCDIR} -I${IOBIN} # GNU Fortran
# IFLAGS = -I${IOINC} -I${INCDIR} -M${IOBIN} # Sun Fortran
# IFLAGS = -I${IOINC} -I${INCDIR} -module ${OBJDIR} -module ${IOBIN} # PGI Fortran: order *important*
# EFLAG = -extend-source 132 -zero # Intel Fortran
EFLAG = -ffixed-line-length-132 -fno-backslash # GNU Fortran
# EFLAG = -Mextend -Mbackslash # PGI Fortran
# EFLAG = -e # Sun Fortran
# EFLAG = -W132 # Absoft Fortran
FFLAGS = ${IFLAGS} ${EFLAG} ${DEFINEFLAGS} ${PARFLAGS} ${FOPTFLAGS} ${ARCHFLAGS}
LDFLAGS = ${IFLAGS} ${DEFINEFLAGS} ${ARCHFLAGS}
ARFLAGS = rv
SMKLIB = -L${OBJDIR} -lsmoke
######## netCDF-4 needs "-lnetcdff -lnetcdf":
# IOLIB = -L$(IOBIN) -lioapi -lnetcdff -lnetcdf ${PVMLIBS}
IOLIB = -L$(IOBIN) -lioapi -lnetcdff -lnetcdf
######## Note that we must resolve the %^&$*! circular dependency
######## between libfileset and libsmoke:
LIBS = -L${OBJDIR} -lfileset -lsmoke -lemmod -lfileset -lsmoke \
${IOLIB} $(OMPLIBS) $(ARCHLIB) $(ARCHLIBS)
VPATH = ${OBJDIR}
Thank you very much.
Best regards,
Chang