Comments (1)
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.
AbortedCan someone provide some help?
Thanks!
Xiaokang
—
Reply to this email directly or view it on GitHub
#31.
from clang.
Related Issues (20)
- Help linking omp to clang-omp HOT 4
- Cannot re-make with --enable-optimized HOT 10
- OS X homebrew tap HOT 7
- missing type information in IR for internal structures HOT 1
- Revert to default Clang HOT 1
- parallel for check HOT 5
- Clang-omp building issue HOT 1
- xcode instructions are slightly wrong HOT 1
- Clang/LLVM build issue HOT 3
- Simple hello world, different output Clang/GCC HOT 8
- segmentation fault on OS X (10.10.3) HOT 1
- Assertion `oldBlock->capturesCXXThis() == blockScope->isCXXThisCaptured()' failed. HOT 3
- Cannot pass CUDA clang version check HOT 1
- segfault on hello.c example HOT 1
- Library not found for -liomp5 on Xcode 7.0.1 osx el Capitan
- clang-omp++ crashes when compiling program HOT 1
- Ask for more help on the clang-omp with Xcode 7.3 HOT 1
- CUDA plus OpenMP HOT 1
- Instructions for using clang-omp with XCode 9 HOT 2
- Problem with schedule(dynamic)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clang.