Subject: | |
From: | |
Reply To: | Bly, MJ (Martin) |
Date: | Tue, 12 Dec 2006 08:39:44 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Maurizio,
Your link is looking for the libshift.a or libshift.so libraries, which
are found in the Castor suite: on our systems, libshift.so is forun in
castor-lib-2.1.1-4 and libshift.a is in castor-devel-2.1.1-4. These
aren't in the base SL but is available from CERN.
Martin.
> -----Original Message-----
> From: [log in to unmask]
> [mailto:[log in to unmask]] On
> Behalf Of Maurizio Martinelli
> Sent: 12 December 2006 08:24
> To: [log in to unmask]
> Subject: makefile & fortran
>
> 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
>
|
|
|