SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Go in the OpenScientist/<version>/OpenScientist/<version>/build directory.

From this directory, you run the build script (build.bat on Windows) to build at once the default packages with their default drivers.

build (build.bat) will first construct CMT and then go in the Lab/<version>/cmt directory to "cmt broadcast" a "cmt config" and a "make" (nmake on Windows) for all packages.

Then, on UNIXes :
( UNIX> chmod a+x build )
UNIX> ./build
or on Windows :

DOS> call build.bat

By default, on UNIXes, the build script broadcasts also a "make Xt" to build the Motif GUI drivers. On Windows, build.bat broadcasts a "makw Win". If you have Qt, gtk installed you broadcast the reconstruction for these GUIs by doing (for example for gtk) :

UNIX> cd <some path>/Lab/<version>/cmt UNIX> cmt broadcast -global make gtk or on Windows :

     DOS> cd <some path>\Lab\<version>\cmt
     DOS> cmt broadcast -global nmake /f nmake gtk

See build page under http://www.lal.in2p3.fr/OpenScientist for more.

If the upper build scripts fails at some point, do not reexecute it (since it reconstruct and setup CMT). Go in the package that poses problem and do (for example on UNIX) :

csh> source <some path>/CMT/<version>/mgr/setup.csh ( sh> . <some path>/CMT/<version>/mgr/setup.sh) UNIX> cd <some path>/<package>/<version>/cmt UNIX> cmt config
UNIX> make (or gmake)
Try to fix problem, then go in Lab/<version>/cmt and try again a global "cmt broadcast" over "make" :

UNIX> cd Lab/<version>/cmt
UNIX> cmt broadcast -global make
or on Windows :

     DOS> call <some path>\CMT\<version>\mgr\setup.bat
     DOS> cd <some path>\Lab\<version>\cmt
     DOS> cmt broadcast -global nmake /f nmake

Run some programs :

If all is ok, then you can run aida-config, Lab_analysis batch example, onx over Lab or opaw with :

UNIX> cd <some path>/Lab/<version>/cmt csh> source setup.csh
( sh> . ./setup.sh )
UNIX> aida-config
UNIX> ../<platform>/Lab_analysis.exe UNIX> onx
UNIX> opaw
To run opaw examples :
UNIX> cd ../examples/PAW
UNIX> opaw pawex<number>
or :
UNIX> opaw
PAW> exec pawex<number>

On Windows, you do the same with :

DOS> cd <some path>\Lab\<version>\cmt DOS> call setup.bat
DOS> aida-config
DOS> ..\VisualC\Lab_analysis.exe
DOS> onx
DOS> opaw
To run opaw examples :
DOS> cd ..\examples\PAW
DOS> opaw pawex<number>
or :
DOS> opaw
PAW> exec pawex<number>

If building one of the batch kit (then without interactivity) onx and opaw are not availabe (you can try aida-config and Lab_analysis).


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.