Re: [ROOT] CERNLIB routines from the interpreter

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Wed Nov 22 2000 - 17:02:05 MET


Hello, Jacek

 I think in long term it would be better to "move" CERNLIB under ROOT
like we did 

http://root.cern.ch/root/htmldoc/TCL.html

for 

http://wwwinfo.cern.ch/asdoc/shortwrupsdir/f110/top.html
http://wwwinfo.cern.ch/asdoc/shortwrupsdir/f112/top.html

It takes more effort since one has to provide the test suite as well (micky program)
but it worth to try. 

On one hand it is still the same well-known and well-documented CERNLIB "interface" and
CERNLIB algorithm.

On another hand it is the regular C++ class already. It opens the door to some OO development
and  it is the platform independent. It is not case for direct Fortran call. One needs to take
in account many different Fortran compilers / platforms in account Have a look inside of cfortran.h
to see what I am speaking about).
  My proposal if you have time to add new CERNLBI wrappe may be you can add the extra methods
  to TCL class instead. 
  I have C++ version of the "micky" test suite. That can be expanded to test new entries.
 
              Valery


> Hi,
> I was asked to help someone to get cernlib routines visible in root.
> The http://root.cern.ch/root/HowtoCERNLIB.html requires me to manually
> write prototypes of all these functions and the appropriate LinkDef file.
> Is there somewhere such a ready to be used file available ?
> (I especially need some routines from gen.h and kernlib.h as can be found
> in the cernlib cfortran package.)
> Thanks in advance,
> Jacek.
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET