SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Maurizio Martinelli <[log in to unmask]>
Reply To:
Maurizio Martinelli <[log in to unmask]>
Date:
Tue, 12 Dec 2006 02:23:37 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
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

ATOM RSS1 RSS2