Looking for a solution?

Where there's a problem there's a solution

  • mpid: Cannot create shared memory segment of of bytes

  • Problem Description: When running FLUENT on a large number of processors and you are using HPMPI on a Linux cluster the job fails with the following error message 'mpid: Cannot create shared memory segment of bytes' and the job eventually fails dumping the core. HPMPI uses shared memory for communications between processes on the same node and may attempt to allocate a shared-memory segment that is larger than the operating system allows.

    Resolution: To increase the maximum allowed shared memory segment size, enter the following command as root:

    # /sbin/sysctl -w kernel.shmmax=< size in bytes >

    To have changes to the kernel.shmmax setting persist after a reboot, add the line:

    kernel.shmmax=< size in bytes >

    to the /etc/sysctl.conf file



  • Show Form
    No comments yet. Be the first to add a comment!