<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-size: 16px; font-family: Courier;">hi all</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">I am using open mpi to run a parallel job. But got the following error.</div><div style="margin: 0px; font-size: 16px; font-family: Courier;"><br></div><div style="margin: 0px; font-size: 16px; font-family: Courier;">bash-3.2$ mpirun -np 1 ./real.exe</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">forrtl: severe (174): SIGSEGV, segmentation fault occurred</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">Image&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Routine&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Line&nbsp; &nbsp; &nbsp; &nbsp; Source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010BAFF001&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010BAFD681&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010BAD8B51&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010BA695BA&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010BA74822&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libsystem_platfor&nbsp; 00007FFF911DF5AA&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi.1.dylib &nbsp; &nbsp; 0000000111A3D55B&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">mca_pml_bfo.so &nbsp; &nbsp; 00000001126420A1&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi.1.dylib &nbsp; &nbsp; 00000001122E0B15&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi.1.dylib &nbsp; &nbsp; 000000011225AF8C&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi.1.dylib &nbsp; &nbsp; 00000001121F6BDB&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi.1.dylib &nbsp; &nbsp; 000000011220F530&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">libmpi_f77.1.dyli&nbsp; 00000001118BDB87&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0000000109E5DB6F&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010A853D79&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 000000010937273D&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">real.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0000000109335786&nbsp; Unknown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unknown&nbsp; Unknown</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">--------------------------------------------------------------------------</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">mpirun has exited due to process rank 0 with PID 52368 on</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">node modis.local exiting improperly. There are two reasons this could occur:</div><div style="margin: 0px; font-size: 16px; font-family: Courier; min-height: 19px;"><br></div><div style="margin: 0px; font-size: 16px; font-family: Courier;">1. this process did not call "init" before exiting, but others in</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">the job did. This can cause a job to hang indefinitely while it waits</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">for all processes to call "init". By rule, if one process calls "init",</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">then ALL processes must call "init" prior to termination.</div><div style="margin: 0px; font-size: 16px; font-family: Courier; min-height: 19px;"><br></div><div style="margin: 0px; font-size: 16px; font-family: Courier;">2. this process called "init", but exited without calling "finalize".</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">By rule, all processes that call "init" MUST call "finalize" prior to</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">exiting or it will be considered an "abnormal termination"</div><div style="margin: 0px; font-size: 16px; font-family: Courier; min-height: 19px;"><br></div><div style="margin: 0px; font-size: 16px; font-family: Courier;">This may have caused other processes in the application to be</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">terminated by signals sent by mpirun (as reported here).</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">—————————————————————————————————————</div><div style="margin: 0px; font-size: 16px; font-family: Courier;">I am not sure which reason caused this error. Is there any suggestions?</div><div style="margin: 0px; font-size: 16px; font-family: Courier;"><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style=" orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Thank you</div><div>Bruce</div></div></div>
</div>
<br></body></html>