Giter Club home page Giter Club logo

Comments (1)

alexey-bataev avatar alexey-bataev commented on August 17, 2024

Hi Xiaokang,
It seems there is a trouble with libiomp5 runtime lib. You should ask a
question either here
https://software.intel.com/en-us/forums/intel-open-source-openmp-runtime-library,
or here http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev.

Best regards,

Alexey Bataev

Software Engineer
Intel Compiler Team
Intel Corp.

7 Май 2014 г. 15:14:52, XiaokangFan писал:

Hi

I have successfully cross compiled libiomp5.so for ARM using clang and
arm-linux-gnueabihf toolchain. Then I cross compiled a simple openmp
program with libiomp5.so. But when I tried to run the program on ARM,
I got a problem. The program is:

#include
#include
#include
int main(int argc, char** argv)
{
int i = 0;
#pragma omp parallel for
for(i = 0; i < 10; i++) {
int tid = omp_get_thread_num();
printf("hello from thread %d\n", tid);
}
return 0;
}

The output is:

hello from thread 0
hello from thread 0
hello from thread 2
hello from thread 2
hello from thread 1
hello from thread 1
hello from thread 3
hello from thread 3
hello from thread 4
hello from thread 4
pthread_mutex_lock.c:80: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
Aborted

Can someone provide some help?

Thanks!

Xiaokang


Reply to this email directly or view it on GitHub
#31.

from clang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.