Scripts and Modules used by
JETtransp

28-Mar-2015


Name

Function

Err.pl Popup  box for error messages
JET_data Steering for 'data' step
JET_ll Runs in batch, reads arguments file, then runs the command
JET_runtr Runs in batch, manages directory locks, status return
JETsum One line summary of all transp runs found below a directory
JETtidy Script to tidy TWD when run is complete
JETtr_exe Wrapper for TrExe
JETtransp Main script
MPI_wrapper Sets up MPI processes
PerlIx Writes this documentation

The JETtransp code is divided into several modules, for ease of maintenance. Modules prefixed Tr contain transp specific code, others are more general :-

Name

Function

Err.pm Display and formatting of error messages
File.pm Interface to jac file system
html.pm Read & write html
MPI_run.pm Job submission (for MPI jobs); generates the scripts to submit to batch system
Result.pm Manage $RESULTDIR ( for reqco)
Runpr.pm Process initiation; runs commands (in Xwindow, as batch job, etc)
Step.pm Step scheduling; Creates the steps data structure from $SR/Transp.Steps
TrArg.pm Interprets and stores argument list
TrDat.pm Interface to manipulate Transp Namelist
TrDbase Interface to Transp database
TrDir.pm Manages Transp directories (TWD, TDD, SDD )
TrEnv.pm Interface to environment - variables, LoadLeveller etc ( potentially machine or OS dependent stuff)
TrExe.pm Wrappers for all Transp executables
TrExp.pm Exports data to TSD (Transp server directory)
TrMDS.pm Interface to MDSplus
TrLock.pm Directory Locking, Status returns. The lock files both indicate that a step is executing, and are used to return the step condition code on completion
TrPPF.pm Interface to PPF system
TrStat.pm Manages run status file, which records all step information for a run
TrUtil.pm Utility functions; TrUtil::Name defines (nearly) all file names used
Ufile.pm Manipulates Ufiles
Util.pm More Utility functions - requests to user
Whouse.pm Data warehouse operations

Other Utilities

xtail.pl
Utility to open many log files, in conjunction with find ( eg to examine mpi runs )
FtnStmt.pm
Module to support trsearch, source code search utility