- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
installed intel C++ 8.0 on Fedora Core 1 and 2.
finished compiling a very sample code as below with no problem:
//+++++++++++++++++++++++++++++++++++++++++++++++
#include
#include
#include
#include
using namespace std;
int main()
{
cout "staring ..." endl;
int i;
const int n = 100;
omp_set_dynamic(0);
omp_set_num_threads(64);
#pragma omp parallel for
for (i=1; i
cout "i = " i endl;
usleep(5000);
}
#pragma omp barrier
return 0;
}
//+++++++++++++++++++++++++++++++++++++++++++++
on Fedora core 1 with kernel 2.4, run it and get results;
on Fedora core 2 with kernel 2.6, run it and got error message: "segement fault" even not output "starting....".
Any suggestions or solutions?
Many thanks.
finished compiling a very sample code as below with no problem:
//+++++++++++++++++++++++++++++++++++++++++++++++
#include
#include
#include
#include
using namespace std;
int main()
{
cout "staring ..." endl;
int i;
const int n = 100;
omp_set_dynamic(0);
omp_set_num_threads(64);
#pragma omp parallel for
for (i=1; i
cout "i = " i endl;
usleep(5000);
}
#pragma omp barrier
return 0;
}
//+++++++++++++++++++++++++++++++++++++++++++++
on Fedora core 1 with kernel 2.4, run it and get results;
on Fedora core 2 with kernel 2.6, run it and got error message: "segement fault" even not output "starting....".
Any suggestions or solutions?
Many thanks.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page