Tracking Git commits info in LaTeX docs

Last time we wrote how to use Git + TeXStudio (especially with Overleaf) bundle to collaborate on papers and track changes. During the work it may be useful to show information about current commit/author/(time of change) directly in the document. We found a few ways to do it. The simplest…

Continue reading

How to Use Git with TexStudio

TexStudio is our favorite TeX editor. It works with only SVN version system. Nevertheless, using macroses one can teach it to work with Git also. To do it, one needs to create three new scripts Macros -> Add/Change in the file menu. Get from server %SCRIPT buildManager.runCommand(“git pull “, editor.fileName())

Continue reading

Git

A few useful links about Git: http://rogerdudler.github.io/git-guide/ a very simple guide with all needed commands https://www.atlassian.com/git/tutorials/ http://www.alexkras.com/19-git-tips-for-everyday-use/ http://www.toptal.com/git/git-workflows-for-pros-a-good-git-guide “How to” and “why” explanations https://tproger.ru/translations/most-common-git-screwupsquestions-and-solutions/ (rus)

Continue reading

How to save intermediate result of calculations in Mathematica

Sometimes, one needs to make long-time pleriminary calculations in Mathematica to obtain expressions for further work. It is not convenien to make them every time when notebook opens again. An easy (but may be machine-dependent) way is to use DumpSave function. How it works. For example, we have a few…

Continue reading

Nmag console commands in a nutshell

Nmag is a python-based micromagnetic simulator for finite elements mesh. First we add the path and one alias for a comfort work to our bashrc from <nsim>/bin directory: echo "export PATH=\$PATH:`pwd`" >> ~/.bashrc echo "alias nmeshimportg='`pwd`/nmesimport –gmsh'" >> ~/.bashrc Convert the mesh in Version ASCII v2.x format to Version 1:…

Continue reading

Some tips for MPI and cluster usage

Note, that all information below may not be suitable for every computing cluster due to many differences in operation systems and local settings for user management and parallelization software. Available modules. Command $ module avail gives the list of available modules, such as mpi/openmpi/1.3.2/intel for example. Command «module load <modulename>», where <modulename>…

Continue reading

Multithreading OOMMF in Linux

Today I want to say some few words about the multithreading OOMMF in Linux. As I know in Windows the last versions of OOMMF, like 12a4 and later (OOMMF), are basically could keep more than 1 thread and accelerate the simulations by paralleling calculations, but you may use for this multithreading Tcl/Tk.  In the…

Continue reading

The results of scientific workshop: Spin-polarized current and spin-transfer torque

According to the results of the scientific workshop I want to publish final presentation and put it to the free access, you can find it by the link: Download

Continue reading