DRKsdISSIdsKRd Mac OS

From MdsWiki

Jump to: navigation, search

MDSplus now supports the Macintosh platform. After installing a few prerequisite packages on your Macintosh operating system you should be able to install an MDSplus package downloaded from this page. Go back to downloads page.

  • 4Performing the installation
  • 5Post Installation Configuration

A collection of those pesky SDK folders: MacOSX10.1.5.sdk thru MacOSX11.1.sdk - phracker/MacOSX-SDKs. Active investors with short-term time frames may want to consider using MACD, to evaluate the market. Learn what it's saying about stocks right now, here. Apple Mac Mini Desktop PC MC270LL/A 2.40GHz Intel Core 2 Duo 4GB DDR3 320GB HDD Mac OS X v10.12 Sierra (Mid-2010) Form Factor: Ultra Small Optical Drive Type: Slot-loading DVD SuperMulti Drive with Double-layer support Graphics: NVIDIA GeForce 320M Type: Student / Home Office Model #: MC270LL/A B-TG Return Policy: View Return Policy $279.00 –. Yes, OS X Mavericks, like other versions of OS X, is only available from the App Store. However InstallESD.dmg is the bulk of the download. The whole OS is downloaded to /Applications/Install OS X Mavericks.app. As of today 17 October 2013 this file corresponded to the posted MD5 checksum on my system. – John Sonderson Nov 17 '13.

[edit]
DRKsdISSIdsKRdDRKsdISSIdsKRd Mac OS

Release Levels

There are currently 3 different release levels of MDSplus:

Release Level Description
Stable Updates occur less frequently.
New features added only after significant testing by sites running alpha versions.
Bug fixes applied as needed.
Alpha Updates occur whenever a change to an MDSplus source module.
Reflects the CVS head in the repository.

MDSplus Packaging

Currently there is one all encompassing MDSplus package which installs all the supported functions provided in the MDSplus software.

[edit]

Prerequisites

Prior to installing MDSplus you will need to install a few additional packages required for MDSplus to operate. Even if you do not intend to use all of the MDSplus applications, some of the MDSplus internals may be linked to libraries in these prerequisite packages which would prevent them from loading if those packages were not installed. The following table lists the packages required and provides links to download sites where you can find them. Should these links become stale you can either search the web for these packages or post a note to the MDSplus mailing list and the developers will attempt to update the information on this page.

Name Location Directions
OpenMotifOpenMotif Downloads Download the dmg file from the 2nd link, and run the installer package from the disk image.
Note: the 10.5 package appears to work for 10.6.


Note on 10.8 you must set the system preference to allow applications from unknown vendors. Open system preferences and then open the 'security and privacy' panel. Allow applications from all sources is on the general tab.

XCode Command Line Tools Mac OS-X 10.6-Xcode 3.2.2
Mac OS-X 10.7+ Get Xcode 4.x from App Store
OS X 10.6 - download and install xcode 3.2.2
OS X 10.7+ nstall Xcode 4.x from the Mac App Store. Start Xcode and from File->Preferences downloads tab install the command line tools.


OS X 10.8 starting Xcode will prompt for you to install jre, which is also needed later.

FreeTDSFreeTDS Home Page Download the tarball from the 'stable release' link on the upper right.
Use finder to navigate to the downloaded file, and double click it to expand it to a folder.
With a terminal, cd to the expanded directory (~/Downloads/freetds-X.YY). Configure by typing ./configure.
Build by typing make. Install by typing sudo make install.
Note: you will have to provide your password for the sudo commmand.
Xquartz - OS-X 10.8Xquartz installation on Mac OS-X 10.8 Mountain Lion, an X-11 server is not included. In order to run the X-Windows based MDSplus applications (traverser, dwscope, dwscope-remote) you will need to install XQuartz.
Java run time environment On OS-X 10.8 Mountain Lion, the first time a java application is run (jScope, jTraverser) the system will prompt to install the Java SE runtime environment. This is required to run these applications.

Xcode version 5 no longer ships with cvs. if you need cvs get it from: [1], You will have to download, and make. make install will not work (it is looking for /tmp/cvs/Debug) which does not exist. Copy the executable from /tmp/cvs/Build/src to /usr/local bin.

Performing the installation

Choose the type of installation you want to perform and select the pkg file from one of the three tables below. Click on the pkg to download it on your Macintosh and your browser should bring up the installer application to complete the installation. If your browser does not automatically activate the installer application you can either find the pkg file with the Finder and click on it or use a terminal window and type the following command to install it:

[edit]

Latest Stable Packages


Latest Alpha Packages

The last alpha installer built on OSX Mountain Lion can be found here:MDSplus-alpha-7-12-1.osx.pkg

Releases higher than MDSplus-alpha-7-12-1 are now being built on OSX Sierra and may not be downward compatible with earlier OSX versions.


[edit]

Post Installation Configuration

Establish MDSplus Data Service for remote access to local MDSplus data

MDSplus provides a TCP based network interface which lets you serve your data to remote MDSplus users. To control access there is a file called /etc/mdsip.hosts which contains information which specifies the mapping of remote connection requests to local user accounts. Note this is an absolute path, and that the MDS installer does not create these files and that you should copy it from /usr/local/mdsplus/etc/mdsip.hosts. This file should contain lines of the format:

where the remote-user-connection-string for unencrypted mdsip would be something like remote-username@remote-hostname. This connection string can contain wildcards. For example, one could specify *@*.mydomain.org to match any user connecting from a host in the mydomain.org domain. Each asterisk in the connection string will match zero or more arbitrary characters. A percent character will match any single character. You can use either host names or ipv4 addresses. When a connection is first made, the connection string is checked for a match in the mdsip.hosts file starting from the top. Match checking stops when the first match has been found. There is also a special MAP_TO_LOCAL keyword that can be used instead of a specific local-account name. This will attempted to map the incoming connection to the same account name as the remote user account name. If you place an exclamation mark as the first character in a line, a match on the incoming connection string will result in the connection being denied. Lines beginning with # will be treated as comments and will be ignored.

--TIDBITS REGARDING /etc/mdsip.hosts ----The usual 2 lines in/etc/mdsip.hosts are:

  • MAP_TO_LOCAL
  • nobody

Here is an example that confused us for a while, where '* nobody' failed to allow a remote connection to the server. So make sure the permissions allow read (and write permissions to the shotid.sys file which contains the latest shot number if you want to increment the shot number). Apparently a line like

  • mds_user

works fine, providing mds_user is a user on the server, and mds_user has read and write permissions to the data directory and files in it. The user 'nobody' is a special operating system user that evidently is not good enough for this?

Once you have configured the /etc/mdsip.hosts file you can turn on the MDSplus service by issuing the following command:

[edit]

Configuring the MDSplus environment variables

During the MDSplus installation procedure the /etc/profile and /etc/bash.login scripts were modified to invoke the either the /usr/local/mdsplus/setup.sh script or the /usr/local/mdsplus/setup.csh script. These scripts define environment variables used by MDSplus to tell applications where to find the MDSplus libraries, tdi script files and MDSplus data files (trees). To add your own tree path definitions you can create a file called /usr/local/mdsplus/local/envsyms containing tree path definitions. This file should contain lines such as:

For example if you want to put MDSplus trees called mytree in the directory /mdsplus/trees/mytree you would include a line such as:

If you want to access a mytree tree stored on another system running an mdsip data server you might instead have a line such as:

Once you have configured your environment variables using the /usr/local/mdsplus/local/envsyms file you can make these environment variables accessible from desktop Apps system-wide by issuing the following command:

If you don't want to make system-wide definitions, a user could issue the following command to establish his own App environment definitions:

You may need to reboot for the launchd.conf changes to work

Note that which ever launchd configuration file you decide to create you will need to update that file every time changes are made to the envsyms configuration. The mdsplus_launchconfig script generates setenv commands for the launcher to use when invoking desktop applications. If you rerun the command appending to the launchd configuration file you might want to edit the resulting configuration file and remove duplicate or excess setenv commands.

Configuring Excelis IDL to access MDSplus

The IDL language is a commercial data analysis language, similar to Matlab, Otave and SciLab. In order to use MDSplus with it, first install and license the software.

Note: The MDSplus interface will not work with IDL when IDL is running in unlicensed 'demo' mode.

To use the MDSplus interface the environment variables defined in envsyms by the installation must be 'installed'.

Once you have configured your environment variables using the /usr/local/mdsplus/local/envsyms file you can make these environment variables accessible from desktop Apps system-wide by issuing the following command:

If you don't want to make system-wide definitions, a user could issue the following command to establish his own App environment definitions:

You may need to reboot for the launchd.conf changes to work

Note that which ever launchd configuration file you decide to create you will need to update that file every time changes are made to the envsyms configuration. The mdsplus_launchconfig script generates setenv commands for the launcher to use when invoking desktop applications. If you rerun the command appending to the launchd configuration file you might want to edit the resulting configuration file and remove duplicate or excess setenv commands.


To test fire up idl and try the following commands:

[edit]

Configuring MATLAB to access MDSplus

Matlab is a commercial data analysis language, similar to Excelis IDL , Otave and SciLab. In order to use MDSplus with it, first install and license the software.

To use the MDSplus matlab interface the environment variables defined in envsyms by the MDSplus installation procedure must be 'installed'.

Once you have configured your environment variables using the /usr/local/mdsplus/local/envsyms file you can make these environment variables accessible from desktop Apps system-wide by issuing the following command:

If you don't want to make system-wide definitions, a user could issue the following command to establish his own App environment definitions:

You may need to reboot for the launchd.conf changes to work

Note that which ever launchd configuration file you decide to create you will need to update that file every time changes are made to the envsyms configuration. The mdsplus_launchconfig script generates setenv commands for the launcher to use when invoking desktop applications. If you rerun the command appending to the launchd configuration file you might want to edit the resulting configuration file and remove duplicate or excess setenv commands.

With the correct environment you can setup MATLAB following the general guide.

MATLAB should now have access to the MDSplus java classes (or use the Python bridge). Given a local tree called test with a numeric node 'status' and a text node 'txt'. First import the classes and open the tree:

Drksdissidskrd Mac Os 11

Then get the node 'status', retrieve its data and convert it to a native matlab array:

Next retrieve the node called 'txt' and read its' data:

Finally construct some 2 dimensional data using the matlab magic square function, write it to the status node, read it back, and convert it to a native matlab array.

Drksdissidskrd Mac Os X

Retrieved from 'https://www.mdsplus.org/index.php/Latest_Macintosh_Distributions'