I've recently installed Syrthes 4.3 on a linux computer, and I got a segmentation fault error when running a function who worked perfectly with 4.1 version.
When I use the user_rescon (from user_cond.c)function to program a variable thermal contact resistance, the sequential calculation run.
But when I try the same calculation with parallel processing, I got the following error :
Code: Select all
*** Process received signal ***
Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
Failing at address: 0x5585736d9790
[ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f6d30e93f20]
[ 1] ./syrthes(+0x50f8)[0x55881be690f8]
[ 2] ./syrthes(+0x3eba)[0x55881be67eba]
[ 3] ./syrthes(+0x78341)[0x55881bedc341]
[ 4] ./syrthes(+0x25119)[0x55881be89119]
[ 5] ./syrthes(+0x39f1)[0x55881be679f1]
[ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f6d30e76b97]
[ 7] ./syrthes(+0x3c2a)[0x55881be67c2a]
*** End of error message ***
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 5760 on node serveur1-Precision-7820-Tower exited on signal 11 (Segmentation fault).
Code: Select all
prepare_paires_rc(maillnodes,rescon,t,tcor,sdparall);
Here are the listing and the user_rescon function from the test case I tried (which is a simplification to debug user_rescon on my computer).
Can the error come from my installation?
Another question : at line 297 from the attached user_cond.c, I replaced
Code: Select all
nr=maillnodeus.nrefe[i]
Code: Select all
nr=maillnodeus.nrefe[ne]
or nr=maillnodeus.nrefe[rescon.numf[i]]
Thanks for your help!
Fanny