Hi everybody! I'm using Intel Fortran Compiler for Linux, Ubuntu 10.10 64 bits. I have a problem with a subroutine, I get the following message:
Comenzamos a calcular los desplazamientos. Ten paciencia Tiempo de calculo = 0.0199999999999996 segundos. SALI DE LAS ECUACIONES DE MINDLIN forrtl: severe (174): SIGSEGV, segmentation fault occurred Image PC Routine Line Source
Stack trace terminated abnormally.
In the execute of the subroutine EcuacionesMindlinEmpotradoTodo.f90, the subroutine call to SPARSE, SPARSE using mkl_dss,when the main program ends appears the bug. Could someone explain where I have the bug? Thanks.
Your program requires more stack space than the default. Lookup "ulimit" for how to allocate stack limits. You will also need to use the "-traceback" compiler option to help with debugging your program. Other useful information is provided in this link:
First, Mecej4 very thanks for your help. But, I have a question, how change the option ulimit? In the link talks of change bash, but, I don't know if It is change the file bashrc or write in the terminal.
Putting in the ulimit stack option in .bashrc makes the option apply to every Bash session; running the command in a shell makes it apply only to that session. Take your pick.
You may want to consider two changes: (i) Do not use automatic allocation on the stack for very large arrays; (ii) remove or comment out the Gnuplot calls and messages until your program is working correctly.