3. I looked on internet and perhaps exit code 136 is for floating-point errors. I refined the cell size by half and the case fails at same point of ~0.5 secs. How can we debug this in MFiX?
It would be helpful to know more about your setup - what version of MFiX you are running, what kind of system are you running on, what compiler are you using, how are you compiling the solver, are you using GUI or batch-mode, etc? It looks like the solver is not getting compiled with the correct settings for debugging.
If using the GUI you can select “Submit bug report” from the main menu. Otherwise, attach your project files here.
If you have a core file:
file core.NNNNN will tell you the name of the executable that created the core file. When running from the GUI, the executable is actually Python, since that’s the top-level process that runs everything in GUI mode. In batch mode, the executable will be called mfixsolver. The file core command will tell you the full path to the executable.
Then do:
gdb <path_to_exe> core.NNNNNN
to invoke the GDB debugger, then you can do command like where to get a backtrace, info locals to see local variables, p to print values, etc.
Where is slurm_script coming from? It looks like it is trying to run a command called activate which is not found in the default $PATH. Not sure if this is a fatal error though.
This is definitely a floating-point exception (SIGFPE), I don’t know why the stack trace doesn’t show more useful information. If you send your project file, we’ll run it here and see if we can get a more useful stack trace.
Hello Charles @cgw, thank you for your quick reply. I’m hereby attaching complete setup folder for your perusal.
→ I’m compiling setup on cluster using GUI by clicking spanner button. I’ve attached an image for your reference. These are must and any changes would lead to compilation errors on cluster.
By cluster, I mean, slurm job scheduler and few commands such as sbatch, scancel are used.
→ Slurm log comes when we submit a job using batch and gets into run state. There is a cmd file in the folder which is used to submit the job.
I’m requesting you to compile solver with attached user-defined file on 24 CPUs. Could you please help me here? Thank you. S_38_25_20D.zip (1.6 MB)
3. Also, I sometimes observe that STL files are not read correctly. Could you check following numbers in the run log? ============================================================================
** MESH STATISTICS:** ============================================================================
** NUMBER OF CELLS = 41250**
** NUMBER OF STANDARD CELLS = 12936 ( 31.36 % of Total)**
** NUMBER OF CUT CELLS = 10032 ( 24.32 % of Total)**
** NUMBER OF FLUID CELLS = 22968 ( 55.68 % of Total)**
** NUMBER OF BLOCKED CELLS = 18282 ( 44.32 % of Total)** ============================================================================