Hello everyone,
I am new to fortran and have been trying to work with g95 on my macbook (snowleopard). I got a code from a trusted website to calculate the rate of photolysis for several chemical species. The manual on the website is very simple and I did everything it said. I think the code is written in f77 but I assumed that g95 should not give many errors. I get the following when I make it:
g95 numer.o functs.o orbit.o TUV.o grids.o rdinp.o rdetfl.o rdxs.o swphys.o swbiol.o swchem.o rxn.o qys.o wshift.o vpair.o vptmp.o vpo3.o odrl.o odo3.o setaer.o setalb.o setcld.o setsnw.o setno2.o seto2.o setso2.o sphers.o la_srb.o rtrans.o savout.o -o tuv
Undefined symbols:
"_plkavg_", referenced from:
_U96.2303 in rtrans.o
"_ftrim_", referenced from:
_U378.3672 in savout.o
ld: symbol(s) not found
make: *** [tuv] Error 1
I don't understand why I get this error. Any help would be useful.
Anoop
I am new to fortran and have been trying to work with g95 on my macbook (snowleopard). I got a code from a trusted website to calculate the rate of photolysis for several chemical species. The manual on the website is very simple and I did everything it said. I think the code is written in f77 but I assumed that g95 should not give many errors. I get the following when I make it:
g95 numer.o functs.o orbit.o TUV.o grids.o rdinp.o rdetfl.o rdxs.o swphys.o swbiol.o swchem.o rxn.o qys.o wshift.o vpair.o vptmp.o vpo3.o odrl.o odo3.o setaer.o setalb.o setcld.o setsnw.o setno2.o seto2.o setso2.o sphers.o la_srb.o rtrans.o savout.o -o tuv
Undefined symbols:
"_plkavg_", referenced from:
_U96.2303 in rtrans.o
"_ftrim_", referenced from:
_U378.3672 in savout.o
ld: symbol(s) not found
make: *** [tuv] Error 1
I don't understand why I get this error. Any help would be useful.
Anoop