Subject: | |
From: | |
Reply To: | |
Date: | Tue, 12 Dec 2006 02:23:37 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi, I'm pretty new on Linux, but I decided to start with Scientific
Linux because I thought it could fit better my needs on Physics data
analysis.
I have a problem with compiling a Fortran file using this Makefile:
________________
FC=f77 -i
LIB=/cern/2005/lib
FCOPTS=+ppu -K +T -O2
.o:
$(FC) -c $(FCOPTS) $*
ddbar.exe: ddbar.o $(FC) ddbar.o \
`cernlib geant321 graflib grafX11 mathlib packlib phtools kernlib` \
-o ddbar.exe
__________________
The file ddbar.f is a little program to generate a MonteCarlo simulation
of D0 D0 production.
The output in console is:
__________________
f77 -i ddbar.o \
`cernlib geant321 graflib grafX11 mathlib packlib phtools kernlib` \
-o ddbar.exe
/usr/bin/ld: cannot find -lshift
collect2: ld returned 1 exit status
make: *** [ddbar.exe] Error 1
______________
I used this Makefile in a Sun machine at university, it was created by
my teacher of Data Analysis. I also used it on a MacOSX 10.4 on which I
installed CERNLIB and complilers.
It seems incredible to me that it doesn't work on Linux!
I use Scientific Linux 4.4 with CERNLIB2005 on Intel i386.
If you cannot give me help, please suggest me where to find it.
Thank You
Maurizio
|
|
|