simple code crashes on Nehalem

Discussion created by afeiguin on Dec 5, 2009
Latest reply on Feb 9, 2010 by chipf
acml on Nehalem

I just installed acml-4-3-0-ifort-64bit-int64.tgz on my new nahelem system. In understand that acml works on intel systems, so I don't understand the source of my problem.

This code below runs perfectly with lapack and mkl, and crashed with a core dump when I link to acml. I am am using g++-4.4.2 on Fedora 12.

Any help will he enormously appreciated.



extern "C" void dcopy_(const int &,
            const double *, const int &,
            double *, const int &;

int main()
    double in[100],out[100];
    dcopy_(100, in, 1, out, 1);