mkgeo_ugrid command not found

In this troubleshooting guide we learn how to fix mkgeo_ugrid command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mkgeo_ugrid: command not found

or when using sudo you get the following error message

sudo: mkgeo_ugrid: command not found

Solutions to mkgeo_ugrid: command not found

How To Fix mkgeo_ugrid: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mkgeo_ugrid is provided by rheolef package.

rheolef is:

Rheolef is a computer environment that serves as a convenient laboratory for computations in applied mathematics involving finite element-like methods. It provides a set of commands and C++ algorithms and containers.

Most basically, containers cover the classic graph data structure for sparse matrix formats and finite element meshes. At a higher level of abstraction, they can handle approximate finite element spaces, discrete fields. Flexible and powerful expressions are used to specify bilinear forms.

Current applications include:

  • massively distributed memory finite element environment, based on MPI;
  • elasticity, Stokes and Navier-Stokes problems in 2D and 3D;
  • complex fluids applications: viscoplasticity, viscoelasticity, wall slip;
  • nonlinear problems with fixed-point, Newton and continuation methods;
  • high order polynomials, mixed elements and discontinuous Galerkin methods;
  • auto-adaptive mesh approaches;
  • axisymmetric problems;
  • multi-regions and variable coefficient problems.

This package provides the rheolef commands. These support input and output in various file formats for mesh-generators and numerical data visualization systems such as paraview, and gnuplot.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rheolef

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rheolef.

sudo apt -y install rheolef

Or if you have aptitude installed you can use the following command.

sudo aptitude install rheolef

Summary

In this tutorial we learn how to fix mkgeo_ugrid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.