YellProgram / Yell

Yell is a program for diffuse scattering interpretation using the 3D-∆PDF refinement.
Other
12 stars 3 forks source link

Segmentation fault on computational cluster #47

Open k-eks opened 6 years ago

k-eks commented 6 years ago

For some reason, I always get a segmentation fault whenever I run a model on the computational cluster when the number of refinable variables equals 2.

model.txt

aglie commented 6 years ago

Oh, that is bizarre.

Do you think I could reproduce it somewhere in order to have a chance to run a debugger?

k-eks commented 6 years ago

Unlikely, to be honest, as it runs effectively on a different machine on the cluster and no normal user has direct access to it as as all jobs are handled by a load distributer program. The only thing that I think is possible is using output messages.

Side note: In my particular case, this bug is handy because of my code definitions on doing the block refinement, models with two parameters are "empty" and would only refine the already known background. This bug gets rid of them without me having to do something more sophisticated with my code (yeah, I know that this is a really lazy solution...)

aglie commented 6 years ago

Oh well, I am happy it works for you. That is so strange though, I will keep an eye on what could go wrong.