I have a Fortran program I wrote using Fotran 2003 and compiled using
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 12.1.2.273 Build 20111128
after running my program for a long run ( it's a physical computation ) I have the out read:
Insufficient memory to allocate Fortran RTL message buffer, message
I guessed it has to do with memory leak in my program How can I find out where is the leak occurring and how to fix it?
As the first answer indicates, your question is very general and not so amendable to a specific answer. Are you using pointers? Pointers are less safe than allocatables --- switch to allocatables if they will do the job.
A suggestion for debugging options for ifort: -O2 -stand f03 -assume realloc_lhs -check all -traceback -warn all -fstack-protector -assume protect_parens -implicitnone