Dear Professors,
thanks for your reply, but I could not fix the problem. Incidentally, I noticed that the program flow was affected by some write(*,*) statements. I thought that this could be a symptom of wrong array indexing, so I run the input with gdb and the -fbounds-check option, with the following result:
At line 193 of file umesh1.f
Fortran runtime error: Index '2583587' of dimension 1 of array 'hr' above upper bound of 1024
Error termination. Backtrace:
#0 0x7fb930e8cd21 in ???
#1 0x7fb930e8d869 in ???
#2 0x7fb930e8dee6 in ???
#3 0x55e82bc5fab1 in umesh1_
at /home/jacopo/FEAP/ver86/MUSAM_user/umesh1.f:193
#4 0x55e82bae1a26 in umshlib_
at /home/jacopo/FEAP/ver86/program/umshlib.f:34
#5 0x55e82bd3a3ae in pmesh_
at /home/jacopo/FEAP/ver86/program/pmesh.f:1866
#6 0x55e82bcad099 in pnewprob_
at /home/jacopo/FEAP/ver86/program/pnewprob.f:780
#7 0x55e82bab9a73 in pcontr_
at /home/jacopo/FEAP/ver86/program/pcontr.f:956
#8 0x55e82bab398b in feap
at /home/jacopo/FEAP/ver86/main/feap86.f:166
#9 0x55e82bab39ce in main
at /home/jacopo/FEAP/ver86/main/feap86.f:172
Do you have any suggestions in merit?
Thanks again for your time and help,
Jacopo