TruGolf Hardware: Fix OMP Warning #72 and #71 on Non-Intel Processors

TruGolf Hardware: Fix OMP Warning #72 and #71 on Non-Intel Processors

TruGolf Hardware: Fix OMP Warning #72 and #71 on Non-Intel Processors

Symptoms

Use this procedure when a TruGolf computer displays either of these warnings:

  • OMP Warning #72: KMP_AFFINITY: affinity only supported for Intel processors.

  • OMP Warning #71: KMP_AFFINITY: affinity not supported, using "disable".

These warnings can occur when software attempts to use Intel processor affinity settings on a computer with a non-Intel processor.

Solution: Modify the KMP_AFFINITY Environment Variable

Step 1: Open System Properties

  1. Right-click This PC or My Computer.

  2. Select Properties.

  3. Select Advanced System Settings.

Step 2: Open Environment Variables

  1. In the Advanced System Properties window, select the Advanced tab.

  2. Select Environment Variables.

  3. Locate the System variables section.

Step 3: Locate KMP_AFFINITY

  1. Look through the System variables list for KMP_AFFINITY.

  2. Select KMP_AFFINITY.

  3. Click Edit.

  4. Change the Variable value to:

    disabled

  5. Select OK.

Step 4: Create the Variable if It Does Not Exist

If KMP_AFFINITY does not appear in the System variables list:

  1. Select New under System variables.

  2. Enter the following Variable name:

    KMP_AFFINITY

  3. Enter the following Variable value:

    disable

  4. Select OK.

Step 5: Apply the Changes

  1. Select OK to close the Environment Variables window.

  2. Select OK to close System Properties.

  3. Restart the computer.

  4. Launch the affected TruGolf application again.

Verify the Fix

Confirm that the OMP Warning #71 or #72 message no longer appears when launching the application.