- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello sir,
I want to run my code using command line.
I am using pardiso solver.
I am getting stack overflow error when i am running the code.
I was getting the same error when i was running it on VS2008.
It was solved when i changed the
stackreserve size to 210000000 at solution/properties/linker/system/stack reserve size.
Now please tell me how to change this using command line.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i guess this is the same problem which discussed here:
http://software.intel.com/en-us/forums/showthread.php?t=72449&o=d&s=lr
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i dont find any stack overflow problem in that page.
I am running the code on windows only using command prompt
ifort model3d.for mkl_solver_ilp64.lib mkl_intel_ilp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib -Qopenmp
i got the model3d.exe as the output
when iam compiling the model3d.exe i am getting the following error
F:\comprompt2>model3d.exe
forrtl: severe (170): Program Exception - stack overflow
Image PC Routine Line Source
model3d.exe 0000000140097D57 Unknown Unknown Unknown
model3d.exe 0000000140001016 Unknown Unknown Unknown
model3d.exe 0000000140091C1C Unknown Unknown Unknown
model3d.exe 00000001400774EF Unknown Unknown Unknown
kernel32.dll 0000000077D596AC Unknown Unknown Unknown
For the same problem when i was running on the visual studio 2008
i got the same problem of stack overflowwhich was solved by changing the stack
reserve size on solution/properties/linker/system/stack reserve size.
now please tell me how to to solve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please provide your code?
I believe the problem may be withhuge temporary arrays.
Thanks,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sir
i saw the information to increase the stack size
on the site
Windows: On Windows, the stack space to reserved for the program is set using the /Fn compiler option, where n is the number of bytes. Additionally, the stack reserve size can be specified through the Visual Studio IDE which adds the Microsoft Linker option /STACK: to the linker command line. To set this, go to Property Pages>Configuration Properties>Linker>System>Stack Reserve Size. There you can specify the stack size in bytes in either decimal or C-language notation. If not specified, the default stack size is 1MB.
how to increase Stack Reserve Sizeusing command line
/Fn compiler option ---what does this mean
How to link quickwin libraries using command line
please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahmed, for command line it will looks like:
ifort /Fn:1000000 test.f /Fe_1.exe -I$(MKL_INCL)$(MKL_LIB)\mkl_intel_thread.lib ......
but werecommendto use dynamic allocation as we recommend you earlier.
--Gennady

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page