Release 2001 ^^^^^^^^^^^^^^ Last update: 28 June 2001 For details: http://cern.ch/cernlib/news/cernlib.news2001.html ---------------------------------------------------------------------- Installation Notes ---------------------------------------------------------------------- The installation has been made using Windows NT 4.0 and compilers f77: Digital Visual Fortran V5.0-594-3382R C: Microsoft Visual C/C++ v.5.0 - 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86 The version info was obtained by : f77: fl32 /what and cl /what This is Update C of DIGITAL Visual Fortran Standard Edition V5.0 and full details can be found at the Digital Fortran WEB site at the URL http://www.digital.com/fortran/dvf There are also links to distribution, pricing, run-time library downloads and other details. In particular, you can download Fortran and C Dll's to enable you to run PAW and your own applications without installing the compilers you don't need otherwise. These can be obtained from http://www5.compaq.com/fortran/visual/redist.html and select the download VFRUN???.exe for X86 systems, where ??? may change with time. PAW usage --------- pawNT.exe works on NT/95/98/2000. pawmd.exe has the multithread Castor software, so only for NT (at CERN?). To make PAW refresh the screen one has to issue the PAW command (or put in your pawlogon.kumac) as follows: PAW > IGSET 2buf 11 On Windows 95/98 the HOME environment variable has to be set by issuing the command (or putting it in your autoexec.bat file) - set HOME=c:\tmp Multithread libraries with Castor (rfio) ---------------------------------------- Although the Cernlib libraries are not threadsafe, multithread versions are provided for linking with other products which are, e.g. Objectivity. The multithread names follow the DVF convention xxxxmd.lib with gX11md.lib for grafX11.lib. Applications linking with these libraries must have the /MD option, e.g. "DF /MD your.f packmd.lib shiftmd.lib". To date, only the basic libraries are there, but others will be added when required. Also, packmd and kernmd are now the Castor versions and must be linked with shiftmd.lib, which needs the additional Windows library ws2_32.lib. The corresponding PAW version is pawmd.exe. Almost certainly, these products will not work on Windows 95 (or 98), but, despite its name, pawNT.exe will. NO tar files until it becomes the "pro" version. ----------------------------------------------------------------- Downloading and Installing the tar files on your machine ----------------------------------------------------------------- The tar files are Unix tar files compressed with gzip. Using ftp, "get" the files in binary mode into a temporary directory. Use Winzip to unpack the files, which will keep the directory structure. Geant users who want to use the big data file xsneut.dat should copy it from the source file into the lib directory. If you only require PAW, just take pawNT.tar.gz, but if you do not have DIGITAL Visual Fortran installed you will need to download its runtime libraries from their WEB site (see above). Compiler options ---------------- f77: fl32 -c /Ox -G5 /MD /Zd /nologo /4Nportlib -Fofile.obj -Tffile.for cpp: cl -nologo /C -EP -D_X86_=1 -I\include\file\directory -DCERNLIB_WINNT -DCERNLIB_UNIX -DCERNLIB_QFMSOFT -DCERNLIB_MSSTDCALL -Tcfile.F >file.for cl -c -nologo -G5 /O1 /MD /Zd -D_X86_=1 -I\include\file\directory -DVISUAL_CPLUSPLUS -W2 -DWIN32 -D_WIN32 -D_X86_=1 -DCERNLIB_WINNT -DCERNLIB_UNIX -DCERNLIB_QFMSOFT -DCERNLIB_MSSTDCALL -Fofile.obj file.c Link Options ------------ fl32 -Ox -G5 /Zd /nologo /4Nportlib -- for singlethread libs fl32 /MD -- for multithread libs Notes ===== For the command rlogin to work the following lines have to be present in the file %SystemRoot%\system32\drivers\etc\SERVICES: pawserv 345/tcp # Perf Analysis Workbench pawserv 345/udp # Perf Analysis Workbench zserv 346/tcp # Zebra Server zserv 346/udp # Zebra Server fatserv 347/tcp # Fatmen Server fatserv 347/udp # Fatmen Server Problems still under investigation ---------------------------------- C compiler optimization gave problems with kuip, paw and the kernlib routine cfstati.c so they are deoptimised. Some Zebra tests using Fortran direct access I/O failed. The tests of the Complex parts of F010 and F011 failed. The mathlib routines g/vvi*.F were deoptimised.