Downloads - MdsWiki
Navigation
Personal tools

From MdsWiki

Jump to: navigation, search

MDSplus packages are available for a number of computing platforms. Additional platforms can usually be supported by downloading the MDSplus sources and building directly on the computer where you want to run MDSplus.

Contents

MDSplus for different OS's

MDSplus Sources

Stable: Tarball Zipfile
Alpha: Tarball Tarball

If you want to download sources for specific releases you can do so by accessing URL's constructed as follows:

https://github.com/MDSplus/mdsplus/archive/stable_release-6-1-84.tar.gz

where you can choose stable or alpha and replace the 6-1-84 with the version number desired. If a zip file is desired just replace the tar.gz with zip.

MDSplus Build System

MDSplus distributions are now being built using a build system called Jenkins. On a regular basis (currently nightly), MDSplus installation kits are being built for several computing platforms. Kits for each of three release levels; stable and alpha are updated as needed. These release levels correspond to the stable branch and alpha branch (HEAD) of the MDSplus git repository. Once the alpha branch has been tested and is relatively stable, that branch will be promoted to the next release level of the stable branch. When a branch is promoted, both the source branch and the destination branch will receive new version values (first and second fields of the kit version). For example, if a kit has a version of 4.1.2, the 4 is the major version number, the 1 is the minor version number, and the 2 is the release number. When major functional changes occur then the major version number will be incremented and the minor version and release numbers will be set to 0. When minor functional changes occur the minor release number is incremented and the release number is set to 0. When minor bug fixes are made to any of the branches, the release number will be incremented. This versioning is similar to the numbering used for most linux distributions.

Extra files

Extra files and bugfix downloads.

  1. Visual Basic
    1. MDSplus VB 2005
    2. MDSplus VB .NET
    3. MDSplus VB example
    4. MDSplus VB 2015

Known issues/manual setup

How to use MDSplus with MATLAB

With newer versions of MATLAB you have the option to use the more powerful python API. You should setup MDSplus for python first and add $MDSPLUS_DIR/matlab to you MATLAB path.

addpath(fullfile(getenv('MDSPLUS_DIR'),'matlab')); savepath;

Then either execute

mdsUsePython(1);

at the beginning of the session or add the command to you startup script. If you have trouble to setup the java API check here for information on how to set up mdsobjects.jar.

How to fix install issues with mdsplus[-alpha]-python

In case you post-installer fails it might be that your default python version is pyhton3 and you are missing the 'python3-distutils' package.

  • Install the missing package and try again. (You may have to remove mdsplus[-alpha]-python first.)
apt -y remove mdsplus*-python
apt -y install python3-distutils
apt -y install mdsplus*-python

In case you face issues importing MDSplus because pyhton cannot load MdsShr you might be missing libreadline.so.6

  • link libreadline.so.6 to libreadline.so.7 for compatibility.
libreadline7=$(find /usr/lib -name libreadline.so.7)
libreadline6=${libreadline7/.so.7/.so.6}
sudo ln -sfT ./librealine.so.7 $libreadline6