Archives

Parallel Computing with FEniCS

Parallel computing refers to breaking down a larger problem into independent smaller parts that can be executed simultaneously by multiple processors. The result is generated by combining results from all processors. It saves a lot of time and money compared to serial computing, where only one instruction is executed at any moment of time. In […]

Read More

Parallelizing for loop in python with MPI

Parallel computing is necessary for venturing into the world of high performance computing. Parallel computing as the name suggests allows us to run a program parallelly. The preferred language of choice in our lab is Python and we can achieve parallel computation in python with the help of ‘mpi4py’ module. This comes with the standard […]

Read More

Lammps Installation For Parallel Run in Linux

LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) is a classical molecular dynamics code.“LAMMPS has potentials for soft materials (biomolecules, polymers) and solid-state materials (metals, semiconductors) and coarse-grained or mesoscopic systems. It can be used to model atoms or, more generically, as a parallel particle simulator at the atomic, mesoscale, or continuum scale.” Pre Installation Steps:-These installation […]

Read More

How to set custom colormap in MATLAB

When we create a surface plot based on X, Y and Z matrices in Matlab using the surf function, it sets the colormap based on the Z matrix. If we want custom colormap based on some other matrix we can do that by specifying the CData property of the surface. To create the same results […]

Read More