next up previous
Next: 10 Some Typical Problems Up: ADAPTOR Installation Guide Previous: 8 Binary Distribution

Subsections


9 Testing the Installation

9.1 Setting the Environment

You should include the bin subdirectory of the ADAPTOR installation directory in your environment variable PATH and the man subdirectory in your MANPATH:

   setenv PHOME ...
   setenv PATH $PHOME/bin:$PATH
   setenv MANPATH $PHOME/man:$MANPATH

or in the following way:

   set PHOME=...
   set path  ($PHOME/bin $path)          export PATH=$PHOME/bin:$PATH
   set manpath ($PHOME/man $manpath)     export MANPATH=$PHOME/man:$MANPATH


9.2 Testing the Compilation

It is recommended to start with a small example program, e.g. with the following Fortran program 'small.f':

       program TEST
       print *, 'Hello World'
       end

The following compilation commands should work correctly:

       adaptor -hpf_1 small.f
       adaptor -openmp small.f
       adaptor -hpf_dm small.f

In case of problems, try the compilations with the flag -v or -dryrun to fix the problem.


9.3 ADAPTOR HPF Test Suite

We provide now a ADAPTOR test suite that can be used to prove the ADAPTOR installation in detail. The test suite is included in the ADAPTOR package.

9.3.1 Serial HPF Test Programs

The subdirectory HPF_1 contains example programs that will be executed on a single processor, no MPI or PThread parallelism is utilized. These programs verify mainly the correct behavior of the transformation tool fadapt and the correct installation of the runtime system.

    cd test_examples/HPF_1
    make
    run

9.3.2 Parallel HPF Test Programs

The subdirectory HPF_MPI contains example programs that verify the correct implementation of the runtime system using message passing parallelism via MPI.

    cd test_examples/HPF_MPI
    make
    run

9.3.3 Parallel OpenMP Test Programs

The subdirectory OMP contains examples programs that verify the correct implementation of the runtime system using thread parallelism.

    cd test_examples/OMP
    make
    run


next up previous
Next: 10 Some Typical Problems Up: ADAPTOR Installation Guide Previous: 8 Binary Distribution
Thomas Brandes 2004-03-19