INCF / MUSIC

MUSIC, the MUltiSimulation Coordinator
GNU General Public License v3.0
37 stars 37 forks source link

Starting MUSIC with undefined application causes segmentation fault #44

Open jakobj opened 6 years ago

jakobj commented 6 years ago

If an application has not config entry, as in the following:

stoptime=1.             
rtf=1.                  
[sender]                
  binary=./sender.py    
  np=1                  
sender.out->receiver.in 

music crashes with a segmentation fault:

Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node jordan exited on signal 11 (Segmentation fault).

It would be more helpful for the user to detect the broken config file and raise an exception in which the cause for the error is explained.