Skip to content

Assertion Failure: "ubound(ff, dim = 1) == mesh%np .or. ubound(ff, dim = 1) == mesh%np_part" in grid/mesh_function_inc.F90

Dear All, I encountered while running an Octopus simulation. The program terminated unexpectedly with an assertion failure. Below are the details of the issue: **************************** FATAL ERROR ***************************** *** Fatal Error (description follows) *--------------------------------------------------------------------

  • From node = 0 *--------------------------------------------------------------------
  • Node 0:
  • Assertion "ubound(ff, dim = 1) == mesh%np .or. ubound(ff, dim = 1) == mesh%np_part"
  • failed in line 39 of file "grid/mesh_function_inc.F90".
  • This should not happen and is likely a bug in the code.
  • Please contact the developers and report how this occurred.
  • You can open an issue on gitlab as described in Contributing.md.


MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD Proc: [[17558,1],0] Errorcode: 999

Essential information:

  • OS name: Ubuntu 22.04.5 LTS

  • OS type: 64-bit

  • Compiler version: C compiler: gcc (Ubuntu 11.4.0-1ubuntu122.04) 11.4.0 Fortran compiler: gfortran (Ubuntu 11.4.0-1ubuntu122.04) 11.4.0

  • Configure settings: autotools

output.log

inp

The origin of this problem seems to be from the "current_kpt" option in the output!

Edited by Erfan Heydari