ktev and linux

yocum@sapphire.fnal.gov
Wed, 23 Sep 1998 10:51:23 -0500

------- Forwarded Message

Return-Path: linux-users-error@fnal.gov
Return-Path: <linux-users-error@fnal.gov>
Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id PAA19336
for <yocum@sapphire.fnal.gov>; Fri, 11 Sep 1998 15:25:05 -0500
Received: from fndapo ("port 1059"@fndapo.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998) id <01J1OO52KTTC000YH9@FNAL.FNAL.GOV>
(original mail from carmenita@fnal.gov) for yocum@sapphire.fnal.gov; Fri,
11 Sep 1998 15:25:03 -0500 CST
Received: from fndapo ("port 1059"@fndapo.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998)
with SMTP id <01J1OO519HY4000OCF@FNAL.FNAL.GOV> for
linux-users-expand@reprocess.FNAL.FNAL.GOV; Fri, 11 Sep 1998 15:23:19 -0500
Date: Fri, 11 Sep 1998 15:18:25 -0500
From: Carmenita Moore <carmenita@fnal.gov>
Subject: FW: ktev and linux (fwd)
To: "Dart-Support@Fndaub. Fnal. Gov" <dart-support@fndaub.fnal.gov>,
"Linux-Users@Fnal. Gov" <linux-users@fnal.gov>
Errors-to: linux-users-error@fnal.gov
Message-id: <001001bdddc1$54b6e1a0$5c51e183@fndapo.fnal.gov>
MIME-version: 1.0
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
Content-type: text/plain; charset="iso-8859-1"
Content-transfer-encoding: 7bit
Importance: Normal
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
X-Priority: 3 (Normal)

Anyone with input on this item related to daft, fortran, and linux ?

Thanks,

-Carmenita-

- -----Original Message-----
From: Sara Anne Rubin [mailto:sarubin@hep.uchicago.edu]
Sent: Thursday, September 10, 1998 5:10 PM
To: carmenita@fnal.gov
Cc: Ed Blucher
Subject: FW: ktev and linux (fwd)

Hi, Carmenita.

I've been working on getting KTeV offline code working on a Linux system.
(See below for details.) You mentioned to Ed that we should be able to
compile DAFT ourselves, but I've been having some trouble with it.

It seemed that I had a working library, but as soon as I tried to link to
the code, I got errors of the form

undefined reference to 'daft_discard_record_f__'.

Someone suggested that perhaps there's a problem with the way my FORTRAN
compiler is handling the underscores at the end of the function names, but
I have no idea how to fix this.

Also, I have no idea if I have put together DAFT completely correctly.

Do you have any recomendations?

What is the best way for me to put DAFT together (starting from scratch),
i.e. where should I get the .c files, etc?

I've tried using both the options

- -DDAFT_UNDERSCORE
- -DDAFT_NO_UNDERSCORE

when I create the library, but both make no difference.

Thanks!

- - Sara

- ---------- Forwarded message ----------
Date: Fri, 28 Aug 1998 18:14:38 -0500
From: Ed Blucher <blucher@hep.uchicago.edu>
To: Sara Anne Rubin <sarubin@hep.uchicago.edu>
Subject: FW: ktev and linux (fwd)

- ---------- Forwarded message ----------
Date: Fri, 28 Aug 1998 14:40:36 -0500
From: Carmenita Moore <carmenita@fnal.gov>
To: blucher@hep.UCHICAGO.EDU
Subject: FW: ktev and linux

Hi Ed,

I had the wrong email address first go around.

-Carmenita-

- -----Original Message-----
From: Carmenita Moore [mailto:carmenita@fnal.gov]
Sent: Friday, August 28, 1998 2:35 PM
To: bluchler@hep.UCHICAGO.EDU; Margaret Votava; dart-support@fnal.gov;
Don Holmgren
Subject: RE: ktev and linux

Hi Ed,

regarding daft and linux, daft is built on ftt. You should be able to
compile it yourselves for linux.

At present, none of the DART components are built for use on linux. Do you
have a need for other DART components under
linux ? Is Sara Rubin or someone else prepared to do it if needed ?

Look forward to hearing from you.

Thanks,

-Carmenita-

- -----Original Message-----
From: Margaret Votava [mailto:votava@fndaut.fnal.gov]
Sent: Thursday, August 27, 1998 11:14 AM
To: dart-support@fnal.gov
Subject: Re: ktev and linux

- ----- Begin Included Message -----

>From djholm@fndaub.fnal.gov Thu Aug 27 11:10:25 1998
Date: Thu, 27 Aug 1998 11:10:19 -0500 (CDT)
From: djholm@fndaub.fnal.gov (Don Holmgren)
Subject: Re: ktev and linux
To: blucher@hep.UCHICAGO.EDU (Ed Blucher)
Cc: djholm@fnal.gov (Don Holmgren), votava@fnal.gov
MIME-version: 1.0
Content-transfer-encoding: 7bit

Hi Ed -

ftt has been ported to Linux. It should be available from the KITS
area (Generic UNIX, I think). If you have troubles finding it, let
me know and I'll get a tar file for you.

As to daft, I don't think there's been a port done by the DART
folks. But, you'd have to check with them. Probably Margaret
Votava is a good person to start with (votava@fnal.gov). If daft
relies on ftt, the port may be very simple, just requiring a new
build against the new ftt.

Most of the local work has used GNU g77 with the various VAX
extensions edited-out. Compilers from Absoft and the Portland
Compiler Group are supposed to handle VAX-isms well; we have
an Absoft compiler on the PCFARMS cluster, though it's a bit
old. If you'd like to try to compile some of your FORTRAN, I'll
give you an account.

The canonical source for Linux FORTRAN info is Jeff Templon,
http://studbolt.physast.uga.edu/templon/fortran.html
Also, take a look at
http://hepwww.ph.qmw.ac.uk/HEPpc/
for HEP on Linux info, including FORTRAN advice.

Don Holmgren

>
> Dear Don,
> We are beginning to port KTeV's offline code to a pc running linux
> (I mentioned this plan to you when you gave your talk in Chicago a couple
> of months ago). An undergraduate names Sara Rubin has actually been doing
> the real work on the project. We've installed ups/upd and cernlib
> following the instructions on your web pages -- everything went very
> smoothly. We're now trying to port our experiment's code and have run
> into a couple of questions. First, we use both daft and ftt, but we
> haven't been able to find linux versions of these products. Second, so
> far we've been working with the gnu fortran compiler that came with
> redhat. Unfortunately, our code uses lots of extensions that are not
> supported by this compiler. I remember that you discussed different
> compilers in your talk. I assume it would be best for us to use the same
> compiler that FNAL has chosen for linux.
> We would appreciate any suggestions. Thanks a lot.
> Ed Blucher
>

- ----- End Included Message -----

------- End of Forwarded Message