Thanks a lot. Now I know what I need to do now. 2009/1/31 Micha Feigin <mi...@post.tau.ac.il>: > On Sat, 31 Jan 2009 12:44:58 -0600 > zhang zhengquan <zhang.zhengq...@gmail.com> wrote: > >> Thank you, basically, I don't have access to IRIX machines and I >> wonder if there are counterparts or similar headers in linux that I >> can use for parallel programming. >> > > The problem is not the headers, you can include them per system using an > ifdef. > The problem is that linux doesn't have the same functions as far as I can > tell. > > The current linux standard is pthreads. There is also fork/vfork (create a > child process) and there used to be light weight threads years ago, can't for > the life of me remember the exact name and reference. I think it came from > sysv > but not sure. Maybe someone else has a better memory than me. > > In hpc (high performance computing), OpenMP and MPI are more prevalent as > they are designed for mathematical parallel processing and takes care of a > lot of the overhead specific to these aims, but they are probably what you are > looking for at the moment. > > >> 2009/1/31 Micha Feigin <mi...@post.tau.ac.il>: >> > On Sat, 31 Jan 2009 08:03:43 -0800 >> > ow...@netptc.net wrote: >> > >> >> > >> >> > >> >> > >> >> >---- Original Message ---- >> >> >From: ron.l.john...@cox.net >> >> >To: debian-user@lists.debian.org >> >> >Subject: Re: parallel programming on debian >> >> >Date: Fri, 30 Jan 2009 23:08:15 -0600 >> >> > >> >> >>On 01/30/2009 10:01 PM, zhang zhengquan wrote: >> >> >>> Dear all debian users: >> >> >>> >> >> >>> I am taking a course on parallel programming and I wonder if >> >> >anyone >> >> >>> has encountered the same library problem, >> >> >>> >> >> >>> the code example the instructor provides has >> >> >>> >> >> >>> #include <ulocks.h> >> >> >>> #include <task.h> >> >> >>> >> >> >>> and obviously the header files are not available in any packages >> >> >for >> >> >>> debian sid. >> >> >>> >> >> >>> Is there any way to get over this problem? >> >> >> >> >> >>Ask the teacher where to get the headers. >> >> >> >> >> >>-- >> >> >>Ron Johnson, Jr. >> >> >>Jefferson LA USA >> >> >> >> >> >>"I am not surprised, for we live long and are celebrated poopers." >> >> >> >> >> The brackets around the header files usually indicate to the compiler >> >> that the files are part of the 'standard' libraries. Normally for >> >> non-standard header files you remove the braces and place the header >> >> files in some known location (e.g. in the same directory as your >> >> source code). >> >> Larry >> > >> > It means that they are installed in standard places, doesn't mean that they >> > are standard headers, or otherwise it would also work if you pass -I. to >> > the >> > compiler. >> > >> > Trying to look for them together though it turns out that they are sgi/irix >> > multi processing routines. Couldn't find linux exact equivalents >> > >> > http://nixdoc.net/man-pages/IRIX/m_fork.3p.html >> > >> >> >> >> >> >>-- >> >> >>To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> >> >>with a subject of "unsubscribe". Trouble? Contact listmas...@lists.d >> >> >ebian.org >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > >> > -- >> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> > with a subject of "unsubscribe". Trouble? Contact >> > listmas...@lists.debian.org >> > >> > >> >> > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > >
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org