How To Install mmc on Fedora 34

mmc is A GPU-based mesh-based Monte Carlo (MMC) photon simulator

Introduction

In this tutorial we learn how to install mmc on Fedora 34.

What is mmc

Mesh-based Monte Carlo (MMC) is a 3D Monte Carlo (MC) simulation software for photon transport in complex turbid media. MMC combines the strengths of the MC-based technique and the finite-element (FE) method one hand, it can handle general media, including low-scattering ones, as in the MC method; on the other hand, it can use an FE-like tetrahedral mesh to represent curved boundaries and complex structures, making it even more accurate, flexible, and memory efficient. MMC uses the state-of-the-art ray-tracing techniques to simulate photon propagation in a mesh space. It has been extensively optimized for excellent computational efficiency and portability. MMC currently supports both multi-threaded parallel computing and GPU to maximize performance on modern processors.

We can use yum or dnf to install mmc on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mmc.

Install mmc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mmc using dnf by running the following command:

sudo dnf -y install mmc

Install mmc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mmc using yum by running the following command:

sudo yum -y install mmc

How To Uninstall mmc on Fedora 34

To uninstall only the mmc package we can use the following command:

sudo dnf remove mmc

mmc Package Contents on Fedora 34

/usr/bin/mmc
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/9fdb869d32b79ba03a458d1bb2b131439d1979
/usr/share/doc/mmc
/usr/share/doc/mmc/AUTHORS.txt
/usr/share/doc/mmc/README.txt
/usr/share/licenses/mmc
/usr/share/licenses/mmc/LICENSE.txt

References

Summary

In this tutorial we learn how to install mmc on Fedora 34 using yum and dnf.