Building with OpenMP Support


To build from source with OpenMP support, you may need to modify the configuration file (by default installed as something like /home/armnlib/ssm/infrastructure_1.0_linux24-x86-64/share/armnlib/include/Linux_x86-64_pgi611/Compiler_rules - modify this to suit your platform) to include the OpenMP directives explicitly for C-source compilation. To do this, modify the OPENMPCC line to include something that looks like: OPENMPCC="${OPENMP} ...".

  1. Add OpenMP support during dynamics build: perl -pi -e 's/(PHY\s*=.*)/$1\nOMP = -openmp ON/' /home/armnlib/ssm_gem_3.2.2/all/share/modeles/GEMDM/v_3.2.2/RCS_DYN/.recettes