NSTX logo FAQ Web Tools UNIX&VMS MDSplus
Overview Programming Diagnostics Applications
software

Running Locus in IDL on the PPPL Linux Cluster

Locus was a very popular command-line oriented database tool used on TFTR. To run:

module load nstx
setenv IDL_PATH "$NSTXUSR/util/locus/:${IDL_PATH}"

   >>> if you are using the bash shell, the above line should be:
   export IDL_PATH="$NSTXUSR/util/locus/:${IDL_PATH}"
  
idl
IDL> locus            ; follow prompts
You can access tables in NSTXLOGS, or other databases hosted by sql2008.pppl.gov, or create your own tables from MDSplus data using fill_db.pro. Here is an example of locus output. See the PDF files for the Locus-filldb Overview, first, and then read the Locus User Guide, and the Filldb User's Guide. Recent upgrades to Locus now allow it to access other SQL databases (e.g., tables from NSTXLOGS) without using fill_db, or needing a "parameter-list" file. (Thanks to Steve Scott, from MIT, for rewriting this application for Linux). If you have additional questions, please send email to idladmin
updated: 30-Mar-2015
by: Bill Davis