For certain machines, we provide also binary distributions of ADAPTOR so that the installation becomes simpler.
The environment variable to set up is PHOME. The PHOME environment variable references the home directory of your ADAPTPR installation. Set PHOME environment variable to the directory into which you will install it.
export PHOME=/home/user/adaptor
The $PHOME/bin directory has the compiler driver and the source-to-source translation. Add $PHOME/bin to your PATH.
export PATH=$PHOME/bin:$PATH
To confirm that your PATH is correctly set up, check that the commands fadapt and adaptor work correctly.
adaptor -help adaptor -settings fadapt -help fadapt -settings
Here is an overview of the files that should be available on your machine:
$ ls $PHOME bin ! directory contains executables dalib ! directory contains ADAPTOR runtime system README ! some information test_examples ! directory containing example and test programs .adaptorrc ! configuration file for adaptor .fadaptrc ! configuration file for fadapt
These are the provided binaries:
$ ls $PHOME/bin adapt.clean ! skript for removing ADAPTOR temporary files adaptor ! compiler driver fadapt ! source to source translation
These are the provided libraries (see Section 6.2):
$ ls $PHOME/bin libadp_dm_mpi.a libadp_dm_null.a libadp_hpf.a libadp_hpf_null.a libadp_sm_null.a libadp_sm_omp.a libadp_sm_pthreads.a libadp_pm_null.a libadp_pm_papi.a libadp_pm_pcl.a libadp_pm_perfctr.a libadp_trace_null.a libadp_trace_vt.a libadp_trace_vtsample.a libadp_trace_vtsp.a
The most important issue is to set some entries correctly in the configuration file .adaptorrc of the ADAPTOR compiler driver: