Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Taroon 64bit, update 2, openmp, system error!

Taroon 64bit, update 2, openmp, system error!

2004-11-21       - By hx w

 Back


when i using openmp to parallel my program ,

icc -openmp tect.c

, and run the program: ./a.out
i got the following erros:

system error(22): __kmp_create_monitor: pthread_create
Invalid argument
abort: fatal problem

My source code:
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
#include <stdio.h >
#include "omp.h "

int main()
{
int nthreads, tid;
   int nprocs;

   char buf[32];

#pragma omp parallel private(nthreads, tid)
   {
      tid = omp_get_thread_num();
      printf( "omp thread %d\n ", tid);

      if (0==tid) {
         nthreads = omp_get_num_threads();
         printf( "total %d\n ", nthreads);
      }
   }
}
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----

I know the compiler is icc, not gcc. But ,i think the
problem is not about the compiler or my souce, I don 't
know clearly if it is just becauce of my operation
system--- RHEL3 64bit, update 2, and how can i do to
resolve the problem.

I installed all the softwares on the 4 RHEL CDs.

Does anyone meet the same problem as me?Any advices
are welcome~~

Thanks!


__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____
Do You Yahoo!?
150?��?��MP3����?????????��????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
?????��??????????????�(�?????????????��??
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G????1000?��??????????��??��??????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list