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

Fun with very large numbers from R. Baillie

I have found a link to an interesting paper in a one social network. Robert Baille shows a few tricks with «almost» true functions: they can be true in the huge interval of their arguments, but fail for the other their values. And numerical methods will fail for direct check. Link…

Continue reading