RE: [ROOT] Pythia6 business.

From: Valeri Fine (fine@bnl.gov)
Date: Wed Jul 23 2003 - 00:46:40 MEST


 
> Valeri,
> 
> OK, it is an old compiler (7 years old).
> I do not understand why this compiler is part of the CERN/XP bundle.
> I was told that the DEC Fortran compiler is not available under .NET.
> Are you using .NET or the old Windows/2000/NT ??
> Is somebody using the DEC compiler under XP with .NET ?
> 

  Wait, to avoid the mess let's separate things.

  Let's separate:
   1. OS : Dos/95/98/me/nt/w2k/xp
   2. Visual Studio. The last version is called  "Visual.NET"
   3. Fortran and C compilers (that can be used with NO studio)

The point 3 is easiest. Any Fortran compiler (as well as any C++
compiler) are the normal WIN32 applications and can be used under any
WIN32 OS (see list from the point 1)

What does the point 2 stand for?

It stands for multi-language IDE environment that allows creating and
maintaining the multi-languages software projects as well as the nice
multi-languages debugger.

I wonder if the statement "DEC Fortran is not available for .NET" means
(at most) one can not use the .NET debugger to debug the code created by
DEC Fortran or something like this.  That doesn't mean one can not run
the code.

My guess the real problem is the license price. The abandoned Ms Fortran
is just free (look up your native language slang dictionary for the
precise translation for other free stuff like: "free lunch", "free
cheese" "mouse trap" etc :-)

> Is somebody using the DEC compiler under XP with .NET ?

I am using this compiler and many people around (at BNL) do use it under
XP.
For example to compile the custom GEANT code and link it against of
CERNLIB binaries downloaded from CERN. However they do not use Visual
C++ at all.

This means it is not " XP with .NET".

 On other hand ROOT team don't use MS Studio, ROOT team uses the Cygwin
GNU make instead. This means the ROOT capability to compile and
integrate Pythia should not be affected.
The only issue to check is the "run-time library compatibility".
I did not check whether DEC Fortran run-time library is compatible with
.NET VC++ library but we do know the .NET run-time is compatible with
the
previous VC++ libraries. My guess it should work with the Fortran also.


  Valeri
  

> Rene  Brun
> 
> On
> Tue, 22 Jul 2003, Valeri Fine
> wrote:
> 
> >
> > > Hi Valeri,
> > >
> > > Dec Fortran is apparently not supported anymore under XP/.NET.
> > > I am using the Fortran compiler bundled with the standard CERN
> > > XP/Professionnal distribution:
> > >
> > > (pcbrun2) [134] fl32
> > > Microsoft (R) Fortran PowerStation  Version 4.00
> > > Copyright (C) Microsoft Corp 1982-1995. All rights reserved.
> >
> >    Ooooo !!! But this is an ancient (1982-1995) and buggy one !!!
> >    It is that MS dropped 10 (!!!) years ago.
> >    I think one needs no further investigation at this point
> >
> > (mean time I have successfully completed the compilation of
pythia62win
> > with
> >  my DEC Fortran and with no change of your "tar" file,
> >
> >    Valeri
> >
> >
> >
> > >
> > > Rene Brun
> > >
> > > On Tue, 22
> > > Jul 2003, Valeri Fine wrote:
> > >
> > > > Hello Rene
> > > > Can you say which compiler you are using at present?
> > > > You mentioned MS Fortran compiler. That was dropped by MS about
5
> > years
> > > > ago
> > > > in favor of the Digital Fortran compiler (later known as Compaq
> > Fortran
> > > > Compiler.
> > > >
> > > > Are you sure
> > > > ftp://root.tar.gz/root/pythia62win.tar.gz is a valid address
> > > >
> > > >
> > > > It is a typo. It should be:
> > > >
> > > > ftp://root.cern.ch/root/pythia62win.tar.gz
> > > > Valeri
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: owner-roottalk@pcroot.cern.ch
> > > > [mailto:owner-roottalk@pcroot.cern.ch]
> > > > > On Behalf Of Rene Brun
> > > > > Sent: Tuesday, July 22, 2003 5:27 PM
> > > > > To: Nick van Eijndhoven
> > > > > Cc: Rene Brun; ROOT discussion group
> > > > > Subject: Re: [ROOT] Pythia6 business.
> > > > >
> > > > > Hi Nick,
> > > > >
> > > > > Concerning Pythia6 on windows: if you or a Windows guru
> > > > > have time to investigate why pythia62 does not compile
> > > > > under Xp with the .NET environment, you can take
> > > > >   ftp://root.tar.gz/root/pythia62win.tar.gz
> > > > > and try to build the dll/lib using setpythia.bat.
> > > > > This used to work under Windows/NT with the previous MS
> > > > > Fortran compiler.
> > > > > If somebody send me the necessary changes to make this dll,
> > > > > I will be happy to include it in the next release.
> > > > >
> > > > > Rene Brun
> > > > >
> > > > > On Tue, 22 Jul
> > > > > 2003, Nick van Eijndhoven wrote:
> > > > >
> > > > > > Hi Rene,
> > > > > > I get your point, but I don't think it's pure accident that
> > > > > > my stuff works under win98.
> > > > > > The windows release of ROOT 3.05/06 doesn't have any
TPythia6
> > > > > > stuff in; what I did was that I saved all the TPythia6 stuff
> > > > > > (i.e. all .lib, .dll and corresponding header files like
e.g.
> > > > > > TPythia6Calls.h, TMCParticle.h etc...) from a previous
version
> > > > > > 3.04. So as far as I can see, the TPythia6 stuff I have is
> > > > intrinsically
> > > > > > consistent. This might be the reason that it works
correctly.
> > > > > >
> > > > > > Of course it would be better if the CERNLIB guys brushed up
> > their
> > > > > > code such that it compiles also with VC++7.NET so you can
again
> > > > > > include the pythia stuff in the ROOT binary release as you
did
> > > > > > upto now for windows.
> > > > > >
> > > > > > Really, this "built-in pythia generator" in ROOT is a very
> > versatile
> > > > > > tool; not only for physics investigations, but also to
quickly
> > > > > > test and optimise event data structures for large events
(like
> > > > > > LHC Pb+Pb collisions or cosmic ray interations).
> > > > > >
> > > > > >                                                  Cheers,
> > > > > >                                                   Nick.
> > > > > >
> > > > > > Rene Brun wrote:
> > > > > > > Hi Nick,
> > > > > > >
> > > > > > > The Pythia libs distributed with ROOT 3.05 CANNOT WORK
with
> > Pythia
> > > > > 6.1.
> > > > > > > You must use Pythia 6.2. In Pythia 6.2 the length of
/PyDat3/
> > has
> > > > been
> > > > > > > changed from 4000 to 8000 particles. ROOT 3.05 is
consistent
> > with
> > > > > > > this dimension. See $ROOTSYS/pythia6/inc/TPythia6Calls.h
> > > > > > >
> > > > > > > The fact that it works with you under Windows98 is purely
an
> > > > accident,
> > > > > > > because Windows prevent communication between common
blocks
> > > > defined
> > > > > > > in separate DLLs. Your program may work if you do not use
the
> > > > elements
> > > > > > > in PyDat3, but even in this case, I would not trust the
> > results.
> > > > > > >
> > > > > > > Rene Brun
> > > > > > >
> > > > > > > Nick van Eijndhoven wrote:
> > > > > > >
> > > > > > >>Dear all,
> > > > > > >>Some days ago I saw a mail from somebody who had problems
in
> > > > setting
> > > > > > >>pi0's stable in the TPythia6 generator using one of the
recent
> > > > ROOT
> > > > > > >>releases.
> > > > > > >>If I remember well, there was an answer that one can't use
> > > > Pythia6.1
> > > > > > >>anymore with Root 3.05.
> > > > > > >>Obviously I got a bit nervous about such messages, so I
took
> > the
> > > > > latest
> > > > > > >>Root 3.05/06 binaries (gdk version for windows) from the
web
> > and
> > > > run
> > > > > > >>some test on my win98 machine.
> > > > > > >>Attached you will find the little script aap.cc and the
> > produced
> > > > > output
> > > > > > >>aap.log, which shows that everything runs correctly.
> > > > > > >>I think the particle code argument to SetMDCY() was wrong
in
> > email
> > > > > > >>mentioning the problem. It should not be 111, but the
'pythia
> > > > > equivalent
> > > > > > >>code'.
> > > > > > >>The only thing one should do (at least for the windows
> > version) is
> > > > > taking
> > > > > > >>the TPythia related header files and libs and include them
at
> > the
> > > > > > >>corresponding locations in your root directory, since they
are
> > not
> > > > > part
> > > > > > >>(for the time being) of the binary Root release.
> > > > > > >>However, the ones of the Root 3.04 release work pretty
fine.
> > > > > > >>In case you want all the TPythia stuff 'ready to copy'
into
> > the
> > > > root
> > > > > > >>directory, you can pickup the TPythia.zip file of my
homepage-
> > > > > >Download.
> > > > > > >>
> > > > > > >>
Cheers,
> > > > > > >>
Nick.
> > > > > > >>
> > > > > > >>--
> > > > > > >>Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl
> > > > > http://www.phys.uu.nl/~nick
> > > > > >
> > > >
> >
>>----------------------------------------------------------------------
> > > > > ----
> > > > > > >>Org.:    Utrecht University, Faculty of Physics and
Astronomy
> > > > > > >>Address: Princetonplein 5, NL-3584 CC Utrecht, The
Netherlands
> > > > > > >>Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)
Fax:
> > > > +31-30-
> > > > > 2518689
> > > > > > >>CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)
Fax:
> > > > +41-22-
> > > > > 7679480
> > > > > > >>Offices: Buys Ballot laboratory Room 710 (Utrecht)   B23
1-020
> > > > (CERN)
> > > > > >
> > > >
> >
>>----------------------------------------------------------------------
> > > > > ----
> > > > > >
> > > >
> >



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET