Environnement
Athapascan-tr is installed as a subdirectory "trace" of the Athapascan-0
directory. By default, this subdirectory will be /usr/local/ath0/trace, which
must be stored in the shell environment variable A0HOMEDIR. A trace specific
script a0setup.csh, contained in the trace/bin subdirectory, sets all the shell environment variables needed to compile, link and run programs to be traced.
Making Athapascan-tr
The systems currently supported by Athapascan-tr are:
- ibm.aix4: IBM SP/2 running AIX 4.x,
with AIX POSIX threads and IBM MPI.
- lam.sol2: A network of workstations
(Intel) running Solaris 2.5, with
Solaris POSIX threads and LAM/MPI.
Let Compil-dir/ath0 be the directory created by the tar file. To install
Athaspascan-tr, first follow the Athapascan-0 installation procedure:
- cd Compil-dir/ath0 : go in the compile directory
- ./configure : select machine dependent threads and MPI libraries
- make;make install : compile and install (do not clean before installing Athapascan-tr)
Then compile Athapascan-tr :
- cd Compil-dir/ath0/trace : go in the trace subdirectory
- make; make install : compile and install
- make clean : optional cleanup procedure
- cd ..; make clean
Note: you must run make install to compile the tools implementing global clock by software.
Compiling Athapascan-0 programs for tracing
Setup your environment variables for tracing, then compile and link as usual:
prompt% source /usr/local/ath0/trace/bin/a0setup.csh
prompt% a0cc -o my_prog my_prog.c
|