Skip to content
The MDSplus data management system
Branch: alpha
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
3rd-party-apis @ 2bb3b45
LabView fix: exec-prefix must be set to ${prefix} if NONE Mar 1, 2019
actions Build: added pngs; moved pngs to related package; added actmon desktop Mar 13, 2019
camshr Fix: free(NULL) ok on multiline Mar 11, 2019
ccl
conf Tests: suppress memory leak in loadLib Mar 7, 2019
d3dshr
deploy
desktop
device_support Gm ni6683 device (#1469) Nov 27, 2018
devscripts Remove obsolete files May 13, 2015
docs fix: exec-prefix must be set to ${prefix} if NONE Mar 1, 2019
dwscope
epics
examples/demoadc Fix: Add MIT license to source files (#1045) Sep 26, 2017
hdf5 Fix: free(NULL) ok on multiline Mar 11, 2019
icons
idl
idlmdsevent Fix: free(NULL) is a nop and valid in std c Mar 11, 2019
idlmdswidgets Feature: Add Fedora Core 28 support Jun 19, 2018
include
javaclient
javadevices
javadispatcher
javamds
javascope fix: exec-prefix must be set to ${prefix} if NONE Mar 1, 2019
javatraverser fix: exec-prefix must be set to ${prefix} if NONE Mar 1, 2019
javatraverser2 Build: we should avoid bash code in Makefiles Mar 13, 2019
kbsidevices
m4 Tests: added memcheck and helgrind short for manual testing Mar 4, 2019
macosx
manpages
math
matlab
mdsdcl
mdslib
mdslibidl
mdsmisc Fix: free(NULL) is a nop and valid in std c Mar 11, 2019
mdsobjects
mdsshr Fix: free(NULL) ok on multiline Mar 11, 2019
mdssql Build: use autogenerated def files Jan 28, 2019
mdstcpip Fix: free(NULL) ok on multiline Mar 11, 2019
mdsvb
mdsvme
mitdevices Fix: free(NULL) ok on multiline Mar 11, 2019
nodejs Feature : Node.js restful API Jun 4, 2018
php
pixmaps Build: added pngs; moved pngs to related package; added actmon desktop Mar 13, 2019
pydevices Fix: coeffs and offsets must be write_shot Mar 5, 2019
remcam
roam Fix: free(NULL) ok on multiline Mar 11, 2019
rpm
scripts fix: exec-prefix must be set to ${prefix} if NONE Mar 1, 2019
servershr Fix: clobered in ServerConnect Mar 11, 2019
setevent
tcl
tdi
tdic Build: add icons to actlog.ext, tditest.exe, tdic.exe, and tcl_comman… Mar 13, 2019
tdishr Fix: free(NULL) ok on multiline Mar 11, 2019
tditest
testing
traverser
trees
treeshr Fix: trim_last_segment must check for tmp==NULL Mar 20, 2019
wfevent
xmdsshr
xml Feature: Add device information tools (#1415) Oct 4, 2018
xtreeshr
.gitattributes
.gitignore Build: cleanup windows python files Mar 7, 2019
.gitmodules
ChangeLog Build: Enable one java jar build to be used by all os builds Jun 9, 2017
MDSplus-License.rtf
MDSplus-License.txt
Makefile.in
Makefile.inc.in
README.INSTALL Change lost to www.mdsplus.org Jun 13, 2002
README.md Docs: Add deploy/build.sh intro (#1159) Dec 7, 2017
bootstrap
build_debs_mdsplus
configure Build: try uil if uil32 not found Mar 18, 2019
configure.ac Build: try uil if uil32 not found Mar 18, 2019
envsyms.in
mdsplus.jpg
mdsplus_logo.jpg Fix format for linux Jun 20, 2002
ntwdblib.dll
ntwdblib.lib Fix binary copy Aug 24, 2009
parse_headers.py
rt.jar Use more recent rt.jar from matlab Dec 2, 2014
setJDK_DIR.bat fix and change to updater Sep 1, 2015
setup.csh Clean up mdsplus_dir logic, unify between csh and sh scripts Apr 27, 2014
setup.sh remove double equals in setup.py since dash on ubuntu won't parse it Mar 12, 2015
sites.csv

README.md

To build and install MDSplus on unix systems, you will need to obtain the MDSplus distribution from github either as a git repository or as a compressed tar file.

To clone the repositiory:

git clone https://github.com/MDSplus/mdsplus.git

This will create a directory mdsplus under your current default.

To download the tarball wget https://github.com/MDSplus/mdsplus/tarball/alpha

And then untar it (The exact filename will depend on the release version):

tar -xzf MDSplus-mdsplus-alpha_release-6-3-423-5-gca7f90d.tar.gz

To build the software do the following (See special notes below):

# mkdir build
# cd build
# <mdsplus-src-dir>/configure
# make

However this requires having all the needed libraries and packages installed and there are many different options to configure for building MDSplus. When MDSplus is built to generate releases for public distribution a deploy script is used which uses Docker to pull specially configured Docker images from https://hub.docker.com/r/mdsplus/docker/

You can build MDSplus for any of the linux and windows operatings systems without needing to install any special compilers or libraries. If you have the mdsplus source code and Docker installed on your linux system and your account has privileges to run docker then you can build MDSplus using a simple command:

# cd build
# <mdsplus-src-dir>/deploy/build.sh --os=fc25 --branch=<branch> \
--release=<version i.e. 7.99.100>

The above command will build the installer packages using the sources in <mdsplus-src-dir>/... for the operating system selected. The packages will be named based on the branch and version specified. Note the branch option is only used for naming the packages. It does not checkout or create a git branch. There are many more options to the build.sh script which you can see by typing:

# <mdsplus-src-dir>/deploy/build --help

You can find the available operating systems that you could specify for the --os= by doing a directory as follows:

# ls <mdsplus-src-dir>/deploy/os/*.opts

Who Uses MDSplus This map shows world fusion sites with MDSplus users marked in Blue. To update edit the file sites.csv and put in a pull request.

A Full screen Map of MDSplus sites. Use the 'back' button to return to this page.

Special Notes

For D3D sites that want to build the MDSplus/d3d ptdata interface you must first define an envionment variable D3DLIB_PATH set to the directory containing the d3 access library, libd3. Then invoke configure as follows:

./configure --enable-d3d

You can build the Motif applications using the static libraries so that the binaries can be used on systems where Motif is not installed. To enable the use of static Motif libraries use the --enable-staticmotif flag:

./configure --enable-staticmotif

Certain optional packages installed on system may be incompatible with some or all of the MDSplus package. We will try to keep a list of potential problems found in this document along with possible workarounds.

F77 compiler problems:

If configure cannot locate an appropriate F77 compiler it will abort. If you have an F77 compiler then define the environment variable F77 to the binary for the compiler. If you don't have an F77 compiler, define environment variable NOF77 to yes and it will allow the configure to continue. You can build most of MDSplus without an f77 compiler.

LessTif conflicts:

  1. If the LessTif package is installed then configure will find it before it finds the real Motif package. LessTif is a marginal implementation of Motif and the MDSplus X applications will not build or run using LessTif package.

To build on a system with LessTif installed do the following:

setenv LD_LIBRARY_PATH [motif-lib-directory]:$LD_LIBRARY_PATH setenv UILPATH [motif-bin-directory-where-uil-image-is] ./configure --x-libraries=[motif-library-directory]
--x-includes=[motif-include-directory]

replacing the text inside the brackets (and the brackets) with the location of the real Motif files.

SYBASE Open/CLient - IDL database connection Sites with IDL, SYBASE Open/CLient libraries and Microsoft SQLSERVER databases can use idlsql library for database connectivity. The idl procedure in idl/Logbook/dbinfo.pro should be edited to reflect the site specific database connectivity and security policies. The default version assumes that the environment variable SYBASE_HOST contains the name of the host from the sybase interfaces file. It looks for a file $HOME/xxx.sybase_login, where xxx is the name of the sybase host, if it finds it and can read it, it sends the first line as the username and the second for the password, if not it sends $USER and a default password. NOTE - the environment variable SYBASE must point at the sybase distribution in order for their libraries to function. NOTE - if the sybase distribution is not /usr/local/sybase, configure will not find the distribution unless you first set the environment variable SYBASE to point the the distribution directory.

You can’t perform that action at this time.