Messias Rocha Posted December 10, 2011 Report Share Posted December 10, 2011 F77C = /usr/bin/f77 -O -fno-automaticVERSION =9.7VPATH = ../poten# executables that can be built from this makefileDUMSEXE = ../exe/polyrate$(VERSION).dum.serial.exeCH5SEXE = ../exe/polyrate$(VERSION).ch5.serial.exeCLHBRSEXE = ../exe/polyrate$(VERSION).clhbr.serial.exeCH4OSEXE = ../exe/polyrate$(VERSION).ch4o.serial.exeCMCSEXE = ../exe/polyrate$(VERSION).cmc.serial.exeCWMCSEXE = ../exe/polyrate$(VERSION).cwmc.serial.exeNH3SEXE = ../exe/polyrate$(VERSION).nh3.serial.exeH2NISEXE = ../exe/polyrate$(VERSION).h2ni.serial.exeH3SEXE = ../exe/polyrate$(VERSION).h3.serial.exeHNISEXE = ../exe/polyrate$(VERSION).hni.serial.exeOH3SEXE = ../exe/polyrate$(VERSION).oh3.serial.exeOHCLSEXE = ../exe/polyrate$(VERSION).ohcl.serial.exeHO2SEXE = ../exe/polyrate$(VERSION).ho2.serial.exe#User may add new executables here.f.o: $(F77C) -c $<.c.o: cc -c $<OBJ = dattim.o dateclock.o givtst.o intbsv3.o poly40.o \polyrr.o headr.o interface.o polysz.o ef.o \hooks.o ivtstm.o polyag.o rtpjac.o \energetics.o intbsv1.o main.o acespoly.o \polyhl.o fromblas.o intbsv2.o poly31.o polymq.och4o.o: ../poten/ch4o.f $(F77C) -c ../poten/ch4o.fch5.o: ../poten/ch5.f $(F77C) -c ../poten/ch5.fchain3.o: ../poten/chain3.f $(F77C) -c ../poten/chain3.fchain4.o: ../poten/chain4.f $(F77C) -c ../poten/chain4.fclhbr.o: ../poten/clhbr.f $(F77C) -c ../poten/clhbr.fcmc.o: ../poten/cmc.f $(F77C) -c ../poten/cmc.fcoord3.o: ../poten/coord3.f $(F77C) -c ../poten/coord3.fcoord4.o: ../poten/coord4.f $(F77C) -c ../poten/coord4.fcwmc.o: ../poten/cwmc.f $(F77C) -c ../poten/cwmc.fdumpot.o: ../poten/dumpot.f $(F77C) -c ../poten/dumpot.fh2ni.o: ../poten/h2ni.f $(F77C) -c ../poten/h2ni.fh3.o: ../poten/h3.f $(F77C) -c ../poten/h3.fhni.o: ../poten/hni.f $(F77C) -c ../poten/hni.fho2.o: ../poten/ho2.f $(F77C) -c ../poten/ho2.fnh3.o: ../poten/nh3.f $(F77C) -c ../poten/nh3.foh3.o: ../poten/oh3.f $(F77C) -c ../poten/oh3.fohcl.o: ../poten/ohcl.f $(F77C) -c ../poten/ohcl.fsetup3.o: ../poten/setup3.f $(F77C) -c ../poten/setup3.fsetup4.o: ../poten/setup4.f $(F77C) -c ../poten/setup4.fsurf3.o: ../poten/surf3.f $(F77C) -c ../poten/surf3.fsurf4.o: ../poten/surf4.f $(F77C) -c ../poten/surf4.f#User may add line here to compile potential file. Start second line with a tab#User may add lines here to make the executable. Example:#SURFACE:# gmake $(SURFACEEXE)#$(SURFACEEXE):$(OBJ) dummy_mpi.o surface.o# $(F77C) -o $(SURFACEEXE) $(OBJ) dummy_mpi.o surface.oDUMS: gmake -s $(DUMSEXE)$(DUMSEXE):$(OBJ) dummy_mpi.o dumpot.o $(F77C) -o $(DUMSEXE) $(OBJ) dummy_mpi.o dumpot.oCH4OS: gmake -s $(CH4OSEXE)$(CH4OSEXE):$(OBJ) dummy_mpi.o ch4o.o $(F77C) -o $(CH4OSEXE) $(OBJ) dummy_mpi.o ch4o.oCH5S: gmake -s $(CH5SEXE)$(CH5SEXE):$(OBJ) dummy_mpi.o ch5.o $(F77C) -o $(CH5SEXE) $(OBJ) dummy_mpi.o ch5.oCLHBRS: gmake -s $(CLHBRSEXE)$(CLHBRSEXE):$(OBJ) dummy_mpi.o clhbr.o setup3.o surf3.o coord3.o chain3.o $(F77C) -o $(CLHBRSEXE) $(OBJ) dummy_mpi.o clhbr.o setup3.o surf3.o coord3.o chain3.oCMCS: gmake -s $(CMCSEXE)$(CMCSEXE):$(OBJ) dummy_mpi.o cmc.o $(F77C) -o $(CMCSEXE) $(OBJ) dummy_mpi.o cmc.oCWMCS: gmake -s $(CWMCSEXE)$(CWMCSEXE):$(OBJ) dummy_mpi.o cwmc.o $(F77C) -o $(CWMCSEXE) $(OBJ) dummy_mpi.o cwmc.oH2NIS: gmake -s $(H2NISEXE)$(H2NISEXE):$(OBJ) dummy_mpi.o h2ni.o $(F77C) -o $(H2NISEXE) $(OBJ) dummy_mpi.o h2ni.oH3S: gmake -s $(H3SEXE)$(H3SEXE):$(OBJ) dummy_mpi.o h3.o setup3.o surf3.o coord3.o chain3.o $(F77C) -o $(H3SEXE) $(OBJ) dummy_mpi.o h3.o setup3.o surf3.o coord3.o chain3.oHNIS: gmake -s $(HNISEXE)$(HNISEXE):$(OBJ) dummy_mpi.o hni.o $(F77C) -o $(HNISEXE) $(OBJ) dummy_mpi.o hni.oHO2S: gmake -s $(HO2SEXE)$(HO2SEXE):$(OBJ) dummy_mpi.o ho2.o setup3.o surf3.o coord3.o chain3.o $(F77C) -o $(HO2SEXE) $(OBJ) dummy_mpi.o ho2.o setup3.o surf3.o coord3.o chain3.oNH3S: gmake -s $(NH3SEXE)$(NH3SEXE):$(OBJ) dummy_mpi.o nh3.o $(F77C) -o $(NH3SEXE) $(OBJ) dummy_mpi.o nh3.oOH3S: gmake -s $(OH3SEXE)$(OH3SEXE):$(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.o $(F77C) -o $(OH3SEXE) $(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.oOHCLS: gmake -s $(OHCLSEXE)$(OHCLSEXE):$(OBJ) dummy_mpi.o ohcl.o setup3.o surf3.o coord3.o chain3.o $(F77C) -o $(OHCLSEXE) $(OBJ) dummy_mpi.o ohcl.o setup3.o surf3.o coord3.o chain3.oEsse é o Makefile parece erro de comando alguém poderia me ajudar? Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 10, 2011 Report Share Posted December 10, 2011 Vejahttp://dss.ucar.edu/datasets/common/ecmwf/...e_makefile.htmlou http://www.google.com.br/search?q=makefile...;aqi=&aql=1abraço Quote Link to comment Share on other sites More sharing options...
0 Messias Rocha Posted December 10, 2011 Author Report Share Posted December 10, 2011 não é isso eu preciso ver onde ele esta errado. Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 10, 2011 Report Share Posted December 10, 2011 não é mostrado o erro na tela ? se sim, coloque o erro como apareceabraço Quote Link to comment Share on other sites More sharing options...
0 Messias Rocha Posted December 11, 2011 Author Report Share Posted December 11, 2011 não é mostrado o erro na tela ? se sim, coloque o erro como apareceabraço Bom dia .Refiz tudo passo a passo estou mandando o que fiz e o que acontece .[messias@dav001 src]$ chmod 777 Makefile [messias@dav001 src]$ ./Makefile ./Makefile: line 1: F77C: command not found./Makefile: line 2: VERSION: command not found./Makefile: line 3: VPATH: command not found./Makefile: line 6: VERSION: command not found./Makefile: line 6: DUMSEXE: command not found./Makefile: line 8: VERSION: command not found./Makefile: line 8: CH5SEXE: command not found./Makefile: line 9: VERSION: command not found./Makefile: line 9: CLHBRSEXE: command not found./Makefile: line 10: VERSION: command not found./Makefile: line 10: CH4OSEXE: command not found./Makefile: line 11: VERSION: command not found./Makefile: line 11: CMCSEXE: command not found./Makefile: line 12: VERSION: command not found./Makefile: line 12: CWMCSEXE: command not found./Makefile: line 13: VERSION: command not found./Makefile: line 13: NH3SEXE: command not found./Makefile: line 14: VERSION: command not found./Makefile: line 14: H2NISEXE: command not found./Makefile: line 15: VERSION: command not found./Makefile: line 15: H3SEXE: command not found./Makefile: line 16: VERSION: command not found./Makefile: line 16: HNISEXE: command not found./Makefile: line 17: VERSION: command not found./Makefile: line 17: OH3SEXE: command not found./Makefile: line 18: VERSION: command not found./Makefile: line 18: OHCLSEXE: command not found./Makefile: line 19: VERSION: command not found./Makefile: line 19: HO2SEXE: command not found./Makefile: line 22: .f.o:: command not found./Makefile: line 23: syntax error near unexpected token `newline'./Makefile: line 23: ` $(F77C) -c $<' obrigado pela atenção caso queira posso conseguir o progama para você tentar obrigado e bom dia!não é mostrado o erro na tela ? se sim, coloque o erro como apareceabraço Bom dia .Refiz tudo passo a passo estou mandando o que fiz e o que acontece .[messias@dav001 src]$ chmod 777 Makefile [messias@dav001 src]$ ./Makefile ./Makefile: line 1: F77C: command not found./Makefile: line 2: VERSION: command not found./Makefile: line 3: VPATH: command not found./Makefile: line 6: VERSION: command not found./Makefile: line 6: DUMSEXE: command not found./Makefile: line 8: VERSION: command not found./Makefile: line 8: CH5SEXE: command not found./Makefile: line 9: VERSION: command not found./Makefile: line 9: CLHBRSEXE: command not found./Makefile: line 10: VERSION: command not found./Makefile: line 10: CH4OSEXE: command not found./Makefile: line 11: VERSION: command not found./Makefile: line 11: CMCSEXE: command not found./Makefile: line 12: VERSION: command not found./Makefile: line 12: CWMCSEXE: command not found./Makefile: line 13: VERSION: command not found./Makefile: line 13: NH3SEXE: command not found./Makefile: line 14: VERSION: command not found./Makefile: line 14: H2NISEXE: command not found./Makefile: line 15: VERSION: command not found./Makefile: line 15: H3SEXE: command not found./Makefile: line 16: VERSION: command not found./Makefile: line 16: HNISEXE: command not found./Makefile: line 17: VERSION: command not found./Makefile: line 17: OH3SEXE: command not found./Makefile: line 18: VERSION: command not found./Makefile: line 18: OHCLSEXE: command not found./Makefile: line 19: VERSION: command not found./Makefile: line 19: HO2SEXE: command not found./Makefile: line 22: .f.o:: command not found./Makefile: line 23: syntax error near unexpected token `newline'./Makefile: line 23: ` $(F77C) -c $<' obrigado pela atenção caso queira posso conseguir o progama para você tentar obrigado e bom dia!Devo acresentar que a primeira linha do Makefile esta assim F77C = /usr/bin/g77 -O -fno-automatic na postagen anterior eu tinha mudado ate mais . Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 12, 2011 Report Share Posted December 12, 2011 command not foundcomando não encontradosyntax error near unexpected token `newline'erro de sintaxe inesperado símbolo `newline ' ` $(F77C) -c $<'OBS: Comando não encontrado, refere-se a versão do Makefile ou o proprio F77 reveja a sintaxe dos comandos ou veja a versão compativelabraço Quote Link to comment Share on other sites More sharing options...
0 Messias Rocha Posted December 13, 2011 Author Report Share Posted December 13, 2011 command not foundcomando não encontradosyntax error near unexpected token `newline'erro de sintaxe inesperado símbolo `newline ' ` $(F77C) -c $<'OBS: Comando não encontrado, refere-se a versão do Makefile ou o proprio F77 reveja a sintaxe dos comandos ou veja a versão compativelabraçoA maquina é 64bits poderia ser isso ? Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 13, 2011 Report Share Posted December 13, 2011 poderia ser sim .... faça um teste em uma maquina 32 bitsveja um exemplo do makfile para 64 bitshttp://publib.boulder.ibm.com/infocenter/t...Fprogref582.htme outro para o makefile 32 bitshttp://publib.boulder.ibm.com/infocenter/c...01_dmakef32.htmabraço Quote Link to comment Share on other sites More sharing options...
0 Messias Rocha Posted December 14, 2011 Author Report Share Posted December 14, 2011 poderia ser sim .... faça um teste em uma maquina 32 bitsveja um exemplo do makfile para 64 bitshttp://publib.boulder.ibm.com/infocenter/t...Fprogref582.htme outro para o makefile 32 bitshttp://publib.boulder.ibm.com/infocenter/c...01_dmakef32.htmabraçoO que me sugere ? Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted December 15, 2011 Report Share Posted December 15, 2011 ou voce faz um teste em uma maquina 32 bits ou procura na net uma versão do makfile para rodar em 64 bitsabraço Quote Link to comment Share on other sites More sharing options...
Question
Messias Rocha
F77C = /usr/bin/f77 -O -fno-automatic
VERSION =9.7
VPATH = ../poten
# executables that can be built from this makefile
DUMSEXE = ../exe/polyrate$(VERSION).dum.serial.exe
CH5SEXE = ../exe/polyrate$(VERSION).ch5.serial.exe
CLHBRSEXE = ../exe/polyrate$(VERSION).clhbr.serial.exe
CH4OSEXE = ../exe/polyrate$(VERSION).ch4o.serial.exe
CMCSEXE = ../exe/polyrate$(VERSION).cmc.serial.exe
CWMCSEXE = ../exe/polyrate$(VERSION).cwmc.serial.exe
NH3SEXE = ../exe/polyrate$(VERSION).nh3.serial.exe
H2NISEXE = ../exe/polyrate$(VERSION).h2ni.serial.exe
H3SEXE = ../exe/polyrate$(VERSION).h3.serial.exe
HNISEXE = ../exe/polyrate$(VERSION).hni.serial.exe
OH3SEXE = ../exe/polyrate$(VERSION).oh3.serial.exe
OHCLSEXE = ../exe/polyrate$(VERSION).ohcl.serial.exe
HO2SEXE = ../exe/polyrate$(VERSION).ho2.serial.exe
#User may add new executables here
.f.o:
$(F77C) -c $<
.c.o:
cc -c $<
OBJ = dattim.o dateclock.o givtst.o intbsv3.o poly40.o \
polyrr.o headr.o interface.o polysz.o ef.o \
hooks.o ivtstm.o polyag.o rtpjac.o \
energetics.o intbsv1.o main.o acespoly.o \
polyhl.o fromblas.o intbsv2.o poly31.o polymq.o
ch4o.o: ../poten/ch4o.f
$(F77C) -c ../poten/ch4o.f
ch5.o: ../poten/ch5.f
$(F77C) -c ../poten/ch5.f
chain3.o: ../poten/chain3.f
$(F77C) -c ../poten/chain3.f
chain4.o: ../poten/chain4.f
$(F77C) -c ../poten/chain4.f
clhbr.o: ../poten/clhbr.f
$(F77C) -c ../poten/clhbr.f
cmc.o: ../poten/cmc.f
$(F77C) -c ../poten/cmc.f
coord3.o: ../poten/coord3.f
$(F77C) -c ../poten/coord3.f
coord4.o: ../poten/coord4.f
$(F77C) -c ../poten/coord4.f
cwmc.o: ../poten/cwmc.f
$(F77C) -c ../poten/cwmc.f
dumpot.o: ../poten/dumpot.f
$(F77C) -c ../poten/dumpot.f
h2ni.o: ../poten/h2ni.f
$(F77C) -c ../poten/h2ni.f
h3.o: ../poten/h3.f
$(F77C) -c ../poten/h3.f
hni.o: ../poten/hni.f
$(F77C) -c ../poten/hni.f
ho2.o: ../poten/ho2.f
$(F77C) -c ../poten/ho2.f
nh3.o: ../poten/nh3.f
$(F77C) -c ../poten/nh3.f
oh3.o: ../poten/oh3.f
$(F77C) -c ../poten/oh3.f
ohcl.o: ../poten/ohcl.f
$(F77C) -c ../poten/ohcl.f
setup3.o: ../poten/setup3.f
$(F77C) -c ../poten/setup3.f
setup4.o: ../poten/setup4.f
$(F77C) -c ../poten/setup4.f
surf3.o: ../poten/surf3.f
$(F77C) -c ../poten/surf3.f
surf4.o: ../poten/surf4.f
$(F77C) -c ../poten/surf4.f
#User may add line here to compile potential file. Start second line with a tab
#User may add lines here to make the executable. Example:
#SURFACE:
# gmake $(SURFACEEXE)
#$(SURFACEEXE):$(OBJ) dummy_mpi.o surface.o
# $(F77C) -o $(SURFACEEXE) $(OBJ) dummy_mpi.o surface.o
DUMS:
gmake -s $(DUMSEXE)
$(DUMSEXE):$(OBJ) dummy_mpi.o dumpot.o
$(F77C) -o $(DUMSEXE) $(OBJ) dummy_mpi.o dumpot.o
CH4OS:
gmake -s $(CH4OSEXE)
$(CH4OSEXE):$(OBJ) dummy_mpi.o ch4o.o
$(F77C) -o $(CH4OSEXE) $(OBJ) dummy_mpi.o ch4o.o
CH5S:
gmake -s $(CH5SEXE)
$(CH5SEXE):$(OBJ) dummy_mpi.o ch5.o
$(F77C) -o $(CH5SEXE) $(OBJ) dummy_mpi.o ch5.o
CLHBRS:
gmake -s $(CLHBRSEXE)
$(CLHBRSEXE):$(OBJ) dummy_mpi.o clhbr.o setup3.o surf3.o coord3.o chain3.o
$(F77C) -o $(CLHBRSEXE) $(OBJ) dummy_mpi.o clhbr.o setup3.o surf3.o coord3.o chain3.o
CMCS:
gmake -s $(CMCSEXE)
$(CMCSEXE):$(OBJ) dummy_mpi.o cmc.o
$(F77C) -o $(CMCSEXE) $(OBJ) dummy_mpi.o cmc.o
CWMCS:
gmake -s $(CWMCSEXE)
$(CWMCSEXE):$(OBJ) dummy_mpi.o cwmc.o
$(F77C) -o $(CWMCSEXE) $(OBJ) dummy_mpi.o cwmc.o
H2NIS:
gmake -s $(H2NISEXE)
$(H2NISEXE):$(OBJ) dummy_mpi.o h2ni.o
$(F77C) -o $(H2NISEXE) $(OBJ) dummy_mpi.o h2ni.o
H3S:
gmake -s $(H3SEXE)
$(H3SEXE):$(OBJ) dummy_mpi.o h3.o setup3.o surf3.o coord3.o chain3.o
$(F77C) -o $(H3SEXE) $(OBJ) dummy_mpi.o h3.o setup3.o surf3.o coord3.o chain3.o
HNIS:
gmake -s $(HNISEXE)
$(HNISEXE):$(OBJ) dummy_mpi.o hni.o
$(F77C) -o $(HNISEXE) $(OBJ) dummy_mpi.o hni.o
HO2S:
gmake -s $(HO2SEXE)
$(HO2SEXE):$(OBJ) dummy_mpi.o ho2.o setup3.o surf3.o coord3.o chain3.o
$(F77C) -o $(HO2SEXE) $(OBJ) dummy_mpi.o ho2.o setup3.o surf3.o coord3.o chain3.o
NH3S:
gmake -s $(NH3SEXE)
$(NH3SEXE):$(OBJ) dummy_mpi.o nh3.o
$(F77C) -o $(NH3SEXE) $(OBJ) dummy_mpi.o nh3.o
OH3S:
gmake -s $(OH3SEXE)
$(OH3SEXE):$(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.o
$(F77C) -o $(OH3SEXE) $(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.o
OHCLS:
gmake -s $(OHCLSEXE)
$(OHCLSEXE):$(OBJ) dummy_mpi.o ohcl.o setup3.o surf3.o coord3.o chain3.o
$(F77C) -o $(OHCLSEXE) $(OBJ) dummy_mpi.o ohcl.o setup3.o surf3.o coord3.o chain3.o
Esse é o Makefile parece erro de comando alguém poderia me ajudar?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.