mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-03 13:21:33 +01:00
The source codes for examples in each chapter are in the sources directory under the corresponding chapter directory: ../SIMD/sources ../affinity/sources ../data_environment/sources ../devices/sources ../directives/sources ../loop_transformations/sources ../memory_model/sources ../ompt_interface/sources ../parallel_execution/sources ../program_control/sources ../synchronization/sources ../tasking/sources This directory contains the eval_codes script that performs a quick compilation test of all example codes (default). The test results are stored in the eval_codes.log file. The script tries to automatically detect a compiler. Set the comp_c, comp_cc and comp_f variables if that doesn't work. *********************************************************************** *** The test script (eval_codes) is for reference purpose only *** and is NOT intended to validate OpenMP compliance of a compiler. *********************************************************************** The "check_tags" script can be used to check the validity of source tags in source codes. The results are recorded in chk_tags.log. July 31 2021 Changes * Automatic compiler determination (no need to specify comp_c, etc.) * Automatic version (DATE/NUMBER) determination * Automatic Backdown (replacement) for deprecation if compiler is not 5.1/5.0 (replacements: masked->master,primary->master, *lock_hint*->*lock_sync*) * Automatic -c compiler flag for "linkable=no" metadata * Utilities file, eval_utils, created for clean coding * Command line now takes file name argument (just file name, not path) * sourceme file: puts eval_codes in PATH, creates tc alias, defines OMP_BASE_DI May 31 2022 Changes * Reworked to use info from the tags "@@operation" and "@@version" * Removed codes related to preprocessing