Archive for March, 2014

Tuesday, March 25th, 2014

Licensing scientific code

Jake Vanderplas, writing on AstroBetter, discusses the licensing of scientific code, providing the following suggestions: Always license your code. Unlicensed code is closed code, so any open license is better than none (but see #2). Always use a GPL-compatible license. GPL-compatible licenses ensure broad compatibility for your code, and include GPL, new BSD, MIT, and […]

No Comments » - Posted in IDL by

Tuesday, March 18th, 2014

Pygments support for IDL

As part of the process of getting IDL recognized by GitHub, I had to add IDL support to Pygments, a popular syntax highlighter supporting many languages. This allows generating syntax highlighting of IDL code. Use pip to install Pygments: $ pip install Pygments Then use pygmentize to generate output: $ pygmentize -O full,style=colorful -f html […]

No Comments » - Posted in IDL by

Tuesday, March 11th, 2014

mpiDL example

mpiDL is a set of IDL bindings for the Message Passing Interface (MPI). It is used for tasks where communication between processes is required, as opposed to the independent behavior of TaskDL workers. It can make use of the multiple cores of a single computer and/or multiple nodes of a cluster. mpiDL is supported on […]

No Comments » - Posted in HPC,IDL by

Tuesday, March 4th, 2014

IDL modes for text editors

There are IDL-specific editing modes for many of the more popular text editors: IDLwave This is the oldest and most complete mode for editing IDL code. JD Smith has been maintaining this for years. JD was looking for a new maintainer a while ago and moved IDLwave from its own website to GitHub, but everything […]

No Comments » - Posted in IDL by