Skip to content

besnardjb/mpi-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPI Snippets

This repository contains vim snippets for MPI and their meta-description. These definitions are to be used with a VIM snippet implementations such as ultisnips or through a bundle such as vim-snippets.

Install

Considering that you use UltiSnips. Then add the following to your ~/.vimrc to load the project with Vundle plugin:

Plugin 'besnardjb/mpi-snippets'

Use

Once installed you may try to type MPI_Send and then use your completion key (most of the time TAB) to trigger the Snippet. MPI snippers are done such as all parametters are successively highlighted to be replaced, acting as both a snipped and a cheatcheat of what is where.

The following nonMPI-function-ish snipets are defined:

CW -> MPI_COMM_WORLD CS -> MPI_COMM_SELF

mpimain -> A main with INIT and FINALIZE

Demo

See a small demo here : https://www.youtube.com/watch?v=oo4NmVQ69Qk

Licence

This code is CeCILL-C a fully LGPL compatible licence.

About

vim snippets for the MPI Interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published