next up previous contents index
Next: B. Appendix: The adaptor Up: ADAPTOR Users Guide Previous: Bibliography   Contents   Index

A. Appendix: The fadapt Command

Table 1 shows a summary of all command line options of the source-to-source translator fadapt related to the input and output source file.


Table 1: Command line options for fadapt (1).
<list_of_filenames> list of input source files
-o <filename> name of output source file
-od <directory> name of output directory
-on:<DIR> enable compiler directives starting with <DIR>,
  e.g. OMP, HPF, ADP
-off:<DIR> disable compiler directives starting with <DIR>
-on: enable conditional compilation,
  accept lines starting with !$
-off: disable conditional compilation
-I<include_dir> specify additional include directory
-fix <n> number of relevant columns in input file
-fix 0 free source format for input file
-nostrict no check of arguments
-sp or -dp REAL is single / double precision
-F77 target language = FORTRAN 77
-F90 target language = Fortran 90
-F95 target language = Fortran 95
-strip <n> number of relevant columns in output file
-strip 0 free source format for output file
-keep=none keep nothing of input source
-keep=comments keep comments of input source
-keep=yes keep unchanged lines of input source
-keep=all keep all of input source
-keep=debug keep all + debug info of input source
-incl=never include never files
-incl=modified include modified files
-incl=always include always files
-incl=new include new files
-incl=newmod include new modified files
-extend extended source format for input/output file
-free free source format for input/output file


Important hints:

Table 2 shows a summary of all command line options of the source-to-source translator fadapt related to the translation.


Table 2: Command line options for fadapt (2).
-fortran Fortran translation
-hpf HPF translation
-omp OpenMP translation
-update skip phases of HPF/OpenMP translation
-interface Generate Interface Specification
-call Generate Call Graph
-[no]prof=SUB switch on or off profiling of subprograms
-[no]prof=PAR switch on or off profiling of parallel regions
-O optimization
-noopt no optimizations
-auto enables automatic loop parallelization
-noauto disables automatic loop parallelization
-dsp=no generate descriptors = no
-dsp=auto generate descriptors = auto
-dsp=array generate descriptors = yes
-dsp=all generate descriptors = yes + scalar
-args=single do not pass descriptors in subroutines
-args=double pass descriptors (double arguments)
-pseudo=no pseudo dynamic array = no
-pseudo=auto pseudo dynamic array = auto
-pseudo=all pseudo dynamic array = all
-v verbose
-debug generate intermediate files xxx_unparse.f
-list keep protocol files adaptor.xxx
-version print current version of fadapt
-w suppresses warning messages
-noinfo suppresses info messages


Table 3 shows a summary of all command line options of the source-to-source translator fadapt related to the OpenMP translation.


Table 3: Command line options for fadapt: OpenMP translation.
-sm enables shared memory (thread) parallelism
-cb enables emulation of threads (cache blocking)
-sm -cb parallelism can be combined


Table 4 shows a summary of all command line options of the source-to-source translator fadapt related to the HPF translation.


Table 4: Command line options for fadapt: HPF translation.
-dm enables distributed memory parallelism
-sm enables shared memory parallelism
-cb enables cache blocking
-dm -sm -cb parallelism can be combined
-shared distributed arrays without any replication are shared
-global all arrays get a global layout
-ddr default distribution = replicated
-ddb default distribution = block distr
-d <n> maximal number of distributed dimensions
-safety <n> run time checking (n=0, 1 or 2)


Table 5 summarizes the options of the configuration files for the source-to-source translator fadapt.


Table 5: Configuration file options for fadapt.
supported_integer_n compiler/runtime support for INTEGER*<n> available
supported_logical_n compiler/runtime support for LOGICAL*<n> available
supported_real_n compiler/runtime support for REAL*<n> available
default_int_size sizeof(int) in C for target platform
default_real_size sizeof(float) in C for target platform
default_addr_size sizeof(void *) in C for target platform
input_int_size = n, INTEGER in input source is INTEGER*n
input_real_size = n, REAL in input source is REAL*n
output_int_size = n, INTEGER in output source is INTEGER*n
output_real_size = n, REAL in output source is REAL*n
IOSTAT_EOF IOSTAT value for end of file (native Fortran compiler)
extend_length value for relevant columns in input source with option -extend
target_language FORTRAN_77 or FORTRAN_90 (native Fortran compiler)
-G -v -debug -list, give all infos
-HPF -on:ADP -on:HPF -off:TRA -off:OMP -off: -hpf
  HPF translastion ignoring other directives
-OMP -on:OMP -off:TRA -off:HPF -omp
  OpenMP translation ignoring other directives
-INSTR -update -prof:SUB -prof:PAR -dsp=no -args=single
  Instrumenation for profiling
-DINSTR -instr -prof:DATA -dsp=array -pseudo=no -args=single
  Instrumenation for data profiling



next up previous contents index
Next: B. Appendix: The adaptor Up: ADAPTOR Users Guide Previous: Bibliography   Contents   Index
Thomas Brandes 2004-03-19