Re: Win32 error in C program using openmp and fork()

2013-07-24 Thread Daniel Brown
Works perfectly! Been running my code since yesterday and no issues so far. Thanks for the quick fix, Daniel On 23/07/2013 15:39, Corinna Vinschen wrote: On Jul 23 16:18, Corinna Vinschen wrote: On Jul 23 15:08, Corinna Vinschen wrote: On Jul 23 13:28, Daniel Brown wrote: and that still had

Re: Win32 error in C program using openmp and fork()

2013-07-24 Thread Corinna Vinschen
On Jul 24 13:52, Daniel Brown wrote: Works perfectly! Been running my code since yesterday and no issues so far. Thanks for the quick fix, Daniel http://cygwin.com/acronyms/#TOFU, but other than that, thanks for your feedback. Corinna -- Corinna Vinschen Please, send

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Daniel Brown
I've wiped my old version of Cygwin and installed it fresh on my computer and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win 7 x86 virtual machine and it worked, on a Win 8 x86 virtual machine though I see the same error. Therefore I guess it is a Windows 8 issue unless you

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Ken Brown
On 7/23/2013 8:28 AM, Daniel Brown wrote: I've wiped my old version of Cygwin and installed it fresh on my computer and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win 7 x86 virtual machine and it worked, on a Win 8 x86 virtual machine though I see the same error. Therefore I

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Corinna Vinschen
On Jul 23 13:28, Daniel Brown wrote: I've wiped my old version of Cygwin and installed it fresh on my computer and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win 7 x86 virtual machine and it worked, on a Win 8 x86 virtual machine though I see the same error. Therefore I

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Daniel Brown
I've wiped my old version of Cygwin and installed it fresh on my computer and 1.7.21 doesn't work for me, either 32 or 64 bit. I have tried a Win 7 x86 virtual machine and it worked, on a Win 8 x86 virtual machine though I see the same error. Therefore I guess it is a Windows 8 issue unless you

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Corinna Vinschen
On Jul 23 15:08, Corinna Vinschen wrote: On Jul 23 13:28, Daniel Brown wrote: and that still had the fork error. I have also tried running in safe mode and stopping all my anti-virus software just incase that was interfering somehow. So I get as an output now... Daniel@XPS15z ~ $

Re: Win32 error in C program using openmp and fork()

2013-07-23 Thread Corinna Vinschen
On Jul 23 16:18, Corinna Vinschen wrote: On Jul 23 15:08, Corinna Vinschen wrote: On Jul 23 13:28, Daniel Brown wrote: and that still had the fork error. I have also tried running in safe mode and stopping all my anti-virus software just incase that was interfering somehow. So I

Re: Win32 error in C program using openmp and fork()

2013-07-22 Thread Corinna Vinschen
On Jul 20 19:30, Daniel Brown wrote: Hi, So I have some code I am trying to port to Cygwin but I am getting the error: fatal error in forked process - failed to create new win32 semaphore, Win32 error 87 when calling fork() in a C program when openmp code has been used beforehand.

Re: Win32 error in C program using openmp and fork()

2013-07-21 Thread Daniel Brown
Hi Larry, Ah I attached it as a text file to the last email but that didn't work apparently, here it is... Cygwin Configuration Diagnostics Current System Time: Sat Jul 20 18:05:14 2013 Windows 8 Professional N Ver 6.2 Build 9200 Running under WOW64 on AMD64 Path: C:\Program

Win32 error in C program using openmp and fork()

2013-07-20 Thread Daniel Brown
Hi, So I have some code I am trying to port to Cygwin but I am getting the error: fatal error in forked process - failed to create new win32 semaphore, Win32 error 87 when calling fork() in a C program when openmp code has been used beforehand. I've got the following test code which reduces the

Re: Win32 error in C program using openmp and fork()

2013-07-20 Thread Larry Hall (Cygwin)
On 7/20/2013 3:30 PM, Daniel Brown wrote: Hi, So I have some code I am trying to port to Cygwin but I am getting the error: fatal error in forked process - failed to create new win32 semaphore, Win32 error 87 when calling fork() in a C program when openmp code has been used beforehand. I've