Page 1 of 1

LINKING LAPACK FORTRAN 90 + MAKEFILE

PostPosted: Thu Aug 13, 2015 5:22 am
by le_fou
Makefile_test2_in.txt
(1.74 KiB) Downloaded 211 times
Hi

I am using gfortran and the fortran 90 on a linux machine, and I have already installed the lapack package, but I am having a problem in the linking part. I use a makefile, I attach it. What's happening is the following :
when I type make pkr_test, I get the following error :

make[1]: *** No rule to make target '/usr/BEN/models/common/src/fitting.o'. Stop.
make[1]: Leaving directory '/usr/BEN/models/common/src'
Makefile:20: recipe for target '/usr/BEN/models/common/src/fitting.o' failed
make: *** [/usr/BEN/models/common/src/fitting.o] Error 2

I attached both files makefile.in and makefile, maybe it will be easier to help me.

thank you