messiask9
(usa Ubuntu)
Enviado em 31/10/2011 - 21:48h
Boa noite
Estou com problemas com a instalação do polyrate9.7 etapa 2 do manual configurando makefile tenho todos compiladores , mas o manual recomenda g77 ou f77 quando dou comando executavél ./Makefile aparece para mim o seguinte .
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 $<'
Eu não vejo o erro desse makefile , mas vou mostrar o makefile.
esse é meu make
F77C = /usr/bin/g77 -O -fno-automatic
VERSION = 9.7
VPATH = .. / po
That Can Be # executables 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 acespoly.o main.o \
polyhl.o fromblas.o intbsv2.o poly31.o polymq
$ (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: .. / po / clhbr.f
$ (F77C)-c .. / po / clhbr.f
cmc.o: .. / po / cmc.f
$ (F77C)-c .. / po / cmc.f
coord3.o: ../poten/coord3.f
$ (F77C)-c ../poten/coord3.f
coord4.o: ../poten/coord4.f
$ (F77C)-c ../poten/coord4.f
cwmc.o: .. / po / cwmc.f
$ (F77C)-c .. / po / cwmc.f
dumpot.o: .. / po / dumpot.f
$ (F77C)-c .. / po / dumpot.f
h2ni.o: ../poten/h2ni.f
$ (F77C)-c ../poten/h2ni.f
h3.o: ../poten/h3.f
$ (F77C)-c ../poten/h3.f
hni.o: .. / po / hni.f
$ (F77C)-c .. / po / 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: .. / po / ohcl.f
$ (F77C)-c .. / po / 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 # add line sep potential here to build file. Start second line with the 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:
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
Gente se alguem conseguir ver esse erro por favor me ajudem preciso compilar ele obrigado.