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:
"Bly, MJ (Martin)" <[log in to unmask]>
Reply To:
Bly, MJ (Martin)
Date:
Tue, 12 Dec 2006 08:39:44 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (72 lines)
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
> 

ATOM RSS1 RSS2