Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Subject: VirtualAlloc failed To: cygwin AT cygwin DOT com X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: From: Tony_LELIEVRE AT pechiney DOT com Date: Mon, 26 Feb 2001 18:09:18 +0100 X-MIMETrack: Serialize by Router on PE01PIVOT/PECHINEY(Release 5.0.4a |July 24, 2000) at 26/02/2001 18:11:02 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hello ! I have just installed CygWin on NT 4.0. I don't know which version of Cygwin it is since I have downloaded it from http://www.cs.utah.edu/classes/cs1000/gcc/ I have a finite element program in c++ which works on SGI. I want it to work on NT. I compiled this program with cygwin, using the bash : everything went OK. When I run small programs (number of nodes < 1000) everything is OK. But when I run bigger problems, I have this error, I did not encountered under SGI : [main] C:\Mistral\src\Mistral\TestCuve\v.exe 1492 (0) commit_and_inc: VirtualAlloc failed This error always occured at the same moment, during the execution of the program. The execution requires about 450 Mo on SGI, and the PC has 768 Mo RAM. I don't understand why it needs virtual memory. Should I change things in my program in order to make it work under NT ? I hope you have an idea of the problem... Thanks a lot, Tony LELIEVRE. This is my cygcheck -r -s -v Cygnus Win95/NT Configuration Diagnostics Current System Time: Mon Feb 26 10:56:22 2001 WinNT Ver 4.0 build 1381 Service Pack 6 Path: /cygnus/CYGWIN~1/H-I586~1/bin /dmi/win32/bin /WINNT/system32 /WINNT /cygnus/cygwin~1/h-i586~1/bin . SysDir: C:\WINNT\System32 WinDir: C:\WINNT Here's some environment variables that may affect cygwin: MAKE_MODE = `UNIX' PWD = `/Mistral/src/Mistral/TestCuve' Here's the rest of your environment variables: !C: = `C:\WINNT\Profiles\Administrateur\Bureau' ANSYS56_DIR = `C:\ANSYS56' ANSYS_SYSDIR = `Intel' COMPUTERNAME = `WSNT1' COMSPEC = `C:\WINNT\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\' HOSTNAME = `WSNT1' HOSTTYPE = `i586' LOGONSERVER = `\\WSNT1' MACHTYPE = `i586-pc-cygwin32' NUMBER_OF_PROCESSORS = `2' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' OSTYPE = `cygwin32' PATHEXT = `.COM;.EXE;.BAT;.CMD' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0803' PROMPT = `$P$G' P_SCHEMA = `C:\ANSYS56\ac4\schema' SHELL = `/bin/sh' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `C:\TEMP' TERM = `cygwin' TMP = `C:\TEMP' USERDOMAIN = `WSNT1' USERNAME = `Administrateur' USERPROFILE = `C:\WINNT\Profiles\Administrateur' WIN32DMIPATH = `c:\dmi\win32' WINDIR = `C:\WINNT' _ = `/cygnus/CYGWIN~1/H-I586~1/bin/cygcheck' Scanning registry for keys with `Cygnus' in them... HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1 (default) = `c:\cygnus\cygwin-b20' HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20 (default) = `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu' DisplayName = `Cygwin B20' Listing available drives... Drv Type Size Free Flags Name a:\ fd N/A N/A c:\ hd NTFS 8032Mb 48% CP CS UN PA FC d:\ cd N/A N/A fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share CP=Case Preserving, CS=Case Sensitive, UN=Unicode PA=Persistent ACLS, FC=File Compression, VC=Volume Compression Mount entries: these map POSIX directories to your NT drives. -NT- -POSIX- -Type- -Flags- C: / native text!=binary Looking to see where common programs can be found, if at all... Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe Not Found: cpp (good!) Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe Looking for various Cygnus DLLs... (-v gives version info) 371k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=1998/12/1 9:25 5k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=1998/12/1 9:25 600k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=1998/12/1 9:28 446k 1998/12/03 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=1998/12/4 5:39 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple