Re: ROOT_EGPYTHIA.DLL

Valery Fine (fine@bnl.gov)
Tue, 14 Jul 1998 10:28:49 -0500


Dear Victor

On 14 Jul 98 at 11:19, you wrote:

> How I can remake ROOT_EGPytia.dll? When I try to use it I have
> "illegal operation". Where I could find codes and makefile for this
> program? I am using WIN95.

First of all you should check whether you did start a RIGHT version
of root. There two ROOT executables for Windows provided, namely,

root.exe
root4for.exe

The only difference between them is the Fortran I/O library linked
with the second "root4for.exe" file only. The second form of the ROOT
should be applied if it is going to call some Fortran subroutine from
within ROOT (it is very case for ROOT_EGPytia.dll). The Digital
Visual Fortran run-time DLL "dformd.dll" must be provided on the
seach path too

(see:http://root.cern.ch/root/Version200.html )

Very likely this will solve your problems with no extra effort.

Anyway if you still want to recreate ROOT DLL's for NT / 95 please
take in account:

ROOT team doesn't use any make and makefile's to develop and
maintain ROOT but CMZ instead (http://www.codeme.com). Several
makefiles for some platforms were supplied by ROOT users and provided
"as is" (see:http://root.cern.ch/root/Version200.html ) . Nobody
sends us the Makefile for Windows NT / Windows 95 yet.

There is only source for all supported platforms (there is
no separate specail source for Windows NT and 95 ).

To re-install the whole ROOT (that ROOT_EGPytia.dll included) one
needs :

1. Prepare the Pythia object module library:

setpythia.bat:
set PYTHIA=E:\users\root\pythia
del *.obj
del *.lib
fl32 /c /MD /G5 /Ox jetset74.f pythia5707.f
lib /out:pythia.lib jetset74.obj pythia5707.obj

2. Apply the CMZ utility "install" command with
"cmzlogon.kumac" as follows:

SET \tmp\cmedt.edt.$pid -E
SET cmexec$pid.bat -XACL
*
set *.txt -f text
set C++ -lan
tabs -C
FILE root.cmz
exec setup WinNT g -
sel RootIcon GL
sel VENUS PYTHIA
sel UTILS
RETURN

Please take in account one needs the Digital Visual Fortran to
compile things (the last patch from Digital should be applied too
(see http://www.digital.com/fortran/dvf-update.html )

Hope this helps,
With my best regards,
Valery
=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA

Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su