- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I got this error message when I increased my meshes for calculation. I tried the /heap-arrays tip, but it seems doesn't work in the 10.1.021 version. How to expand the stack size? Is it still 1MB by default?
- Marcas:
- Intel® Fortran Compiler
Link copiado
6 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Defaults depend on your Windows version, and possibly on whether you mean thread stack, if you used OpenMP or Qparallel. For OpenMP, you would use KMP_STACKSIZE (environment variable or function call).
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
/heap-arrays should work.
You can increase the stack size by setting the project property Linker > System > Stack reserve size. If you cannot resolve this, please send an example showing the problem to Intel Compiler Support.
You can increase the stack size by setting the project property Linker > System > Stack reserve size. If you cannot resolve this, please send an example showing the problem to Intel Compiler Support.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I increased the stack size and it works! Hooray! But the /heap-arrays doesn't seem to work. I got the linking warning like this: LINK: Warning LNK4044: unrecognized option '/heap-arrays'; ignore. I set it in project property Linker > Command Line > Additional Options. Is that right? Thanks, Steve.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I think it should be added to the Fortran > Command Line > Additional options
Les
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Les is correct, this is a compiler option, not linker. However, you can set it in the IDE directly. Fortran > Optimization > Heap Arrays. Enter 0 in the field.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks, Les and Steve. It's really helpful.
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora