111 lines
2.7 KiB
Plaintext
111 lines
2.7 KiB
Plaintext
OPACS as a visualization environment for G4
|
|
-------------------------------------------
|
|
The OPACS html address is :
|
|
|
|
http://www.lal.in2p3.fr/OPACS
|
|
|
|
To have OPACS using G4 :
|
|
|
|
- Install the OPACS v3 by following
|
|
the web installation page.
|
|
For G4 take the group :
|
|
WoXoXm if you have MOTIF
|
|
WoXoXaw if you have Xaw
|
|
For example on a UNIX with MOTIF only :
|
|
UNIX> mkdir OPACS
|
|
UNIX> cd OPACS
|
|
UNIX> ftp ftp.lal.in2p3.fr
|
|
anonymous
|
|
user name
|
|
ftp> cd pub/OPACS/v3
|
|
ftp> bin
|
|
ftp> get WoXoXm.tar.Z
|
|
( ftp> get WoXoXaw.tar.Z )
|
|
ftp> quit
|
|
UNIX> uncompress WoXoXm.tar.Z
|
|
( UNIX> uncompress WoXoXaw.tar.Z )
|
|
UNIX> tar xvf WoXoXm.tar
|
|
( UNIX> tar xvf WoXoXaw.tar )
|
|
UNIX> rm WoXoXm.tar
|
|
( UNIX> rm WoXoXaw.tar )
|
|
UNIX> cd OPACS/v3
|
|
UNIX> chmod u+x conf.sh
|
|
UNIX> ./conf.sh
|
|
csh> source setup.csh
|
|
(sh> . ./setup.sh)
|
|
UNIX> make WoXo
|
|
( UNIX> gmake WoXo )
|
|
At end of installation you should
|
|
be able to build a simple Wo application
|
|
(for exa named Xxx) by doing :
|
|
csh> mkdir tmp
|
|
csh> cd tmp
|
|
with MOTIF :
|
|
csh> onew Xxx
|
|
or with Xaw :
|
|
csh> onew Xxx $WOROOT/usr/template/Xaw/
|
|
then :
|
|
csh> gmake `uname`
|
|
csh> ./Xxx.exe
|
|
The interpreted interface is described
|
|
in Xxx.odb.
|
|
See OPACS doc for more.
|
|
|
|
- Execute OPACS setup script :
|
|
csh> source <OPACS_HOME>/OPACS/v3/setup.csh
|
|
|
|
- Bring G4/prototype and reconstruct G4 libraries.
|
|
|
|
- Bring G4/environments/OPACS.
|
|
|
|
- Reconstruct G4/environments/OPACS :
|
|
UNIX> cd <G4>/environments/OPACS/mgr
|
|
UNIX> <edit setup.csh> to change paths.
|
|
csh> source setup.csh
|
|
(sh> . ./setup.sh)
|
|
UNIX> make <config>
|
|
( UNIX> gmake <config> )
|
|
where <config> is a compilation "configuration".
|
|
For example :
|
|
UNIX> make OSF1
|
|
UNIX> make HP-UX-aCC
|
|
The compilation "configs" are defined in the file :
|
|
mgr/Config.mk
|
|
If the existing "configs" do not match your environment,
|
|
edit this file. Existing configs are :
|
|
OSF1
|
|
HP-UX
|
|
HP-UX-aCC
|
|
ULTRIX
|
|
Linux
|
|
AIX
|
|
IRIX (not tested yet)
|
|
SunOS (not tested yet)
|
|
insure
|
|
Linux-gxx
|
|
At the end of installation you should
|
|
find in the parallel <config> directory the
|
|
G4o library and some executables :
|
|
EXPO.exe
|
|
TEST.exe
|
|
ATLAS.exe
|
|
Run them by doing :
|
|
UNIX> cd ../usr
|
|
UNIX> ../<config>/<app>.exe
|
|
|
|
As usual, when you have something in an Xo window
|
|
you can manipulate it with :
|
|
Ctrl+button1+move pointer
|
|
on the window. On button3 you have a popup
|
|
menu to do things, like changing "Ctrl" action,
|
|
setting ZBuffer, etc...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|