I am working on laser simulation on Silvaco/Atlas. The code I am using is provided by silvaco in the examples (laserex13 ) that implements external cavity. I have changed in the code to make the active region quantum well instead of simple well. The code provides two types of spectrum files, the first one is defined in the LASER statement and I do not have any problem with this file I can see results from these files. the problem is in the second type which is defined in the SAVE statement. When the code reaches this line it can not save the spectrum file properly and this error message appears: ( Process interrupted by signal SEGV). I am not sure whether the problem is within the models and the parameters I have used to simulate the quantum well or there is something else that I do not know. I would like to mention that when I remove the lines that save the spectrum files (in the save statements) the code is fine and no problems appear.