Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7435551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:05:35+00:00 2026-05-29T10:05:35+00:00

I have some simple test code which I am trying to generate AVX optimized

  • 0

I have some simple test code which I am trying to generate AVX optimized code for using the icc v12.1 on linux Redhat 5.6. The code looks like this:

int main() {
    double sum = 0.0;
    for (unsigned int i = 0; i < 1024; i++) {
        sum += static_cast<double>(i);
    }

    std::cout << "Sum: "<< sum << std::endl;
    return 0;
}

And I compile it with (and the vector report says that the loop was vectorized):

icc -xavx -vec-report1  main.cpp

When I run the code I get the following error:

Fatal Error: This program was not built to run in your system.
Please verify that both the operating system and the processor support Intel(R) AVX.

I am certain that the processor is AVX-capable, but does anyone else have problem with AVX on Redhat 5.6?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:05:36+00:00Added an answer on May 29, 2026 at 10:05 am

    The Red Hat Enterprise Linux 5.x series uses a base Linux kernel version of 2.6.18. On top of that, Red Hat backports selected patches and new functionality from later kernel versions
    as it sees fit over the course of a release family’s lifetime. So, while the kernel is based on 2.6.18, you might see some additional features that only appeared in later mainline kernel versions.

    With that said, the Linux kernel didn’t support AVX until version 2.6.30 (reference), so it appears that this was not one of the features that Red Hat backported to the 5.x series. According to this post on the Portland Group (a compiler maker) forums, full support didn’t appear until version 6.2 (CentOS is essentially equivalent to RHEL).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some very simple code to generate an assembly and invoke a method
i have some code like below, i am trying to connect a server which
I'm trying to test-drive some Scala code using Specs2 and Mockito. I'm relatively new
I have a simple little test app written in Flex 3 (MXML and some
I have some VERY simple code to return the title for a section header:
I have created some simple app in Java, and 'deployed' it using Java Web
I am trying some code around object equality in java. As I have read
I am trying to specialize some utility code on const member functions, but have
I'm trying to create a simple flex4 project which involves some timers that trigger
I've been trying to figure out how to achieve some simple maths using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.