Failed to Compile Serial C Code with -liomp5 for armhf
Hi,
I'm using Raspberry Pi 3 Model B with Ubuntu MATE 16.04 installed.
I tried to run a C code (with OpenMP API) serially (without -fopenmp) with the command below:
$ gcc t.c -liomp5 && ./a.out
However, I got error as such:
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
FYI, the version of libiomp-dev is 3.7.0-3
And, the version of gcc is 5.4.0
With the same command, I can compile & run the same code on PC which has Intel processor.
Below is the code:
#include <stdio.h>
#include <omp.h>
int main () {
#pragma omp parallel {
printf("This is thread %d\n", omp_get_
}
return 0;
}
For benchmarking purpose, I need OpenMP function, such as "omp_get_
Do let me know if you need more info.
Thank you.
Best Regards,
Claudia
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: