-
TRANSP Unix
- TRANSP related libraries, like uflib, ureadsub. etc are in:
/usr/pppl/ntcc/{lff95,pgf90}/lib.
On Linux:
- Portland compiled libraries are in /usr/pppl/ntcc/pgf90/lib
- LaheyFujitsu compiled libraries are in /usr/pppl/ntcc/lff95/lib
- TRANSP related utilities, like RPLOT, UGRAF*, XTRANSPIN, are in
/usr/pppl/ntcc/bin.
- TRANSP related scripts, like tek6up.pro, are in
/usr/pppl/ntcc/etc.
For details see:
You should add the following to your .bashrc or .cshrc
- On portals
Be sure you have loaded a compiler first
e.g. module load lff95
- If you are a NSTX user:
- module load nstx
- module load netcdf
- module load perl
- module load ntcc
- If you only want TRANSP tools:
- module load netcdf
- module load mdsplus
- module load perl
- module load ntcc
You can use /usr/pppl/ntcc/etc/.bashrc_sample or /usr/pppl/ntcc/etc/.cshrc_sample as a Template.
- On all obsolete nodes
- . /usr/ntcc/etc/.transprc (bash users)
- source /usr/ntcc/etc/.transprc_csh (tcsh users)
- To setup MDSplus and IDL add below line before above line
- . /p/nstxusr1/util/setup/setup_mdsplus.sh (bash users)
- source /p/nstxusr1/util/setup/setup_mdsplus.csh (tcsh users)
- e.g. to link uread library:
-L$NTCCHOME/lib -lureadsub -lsgdummy -lvaxonly -lportlib \
-L$NETCDFHOME/lib -lnetcdf \
-lreadline -lhistory -ltermcap
- e.g. to link ufiles library:
-L $NTCCHOME/lib -luflib -lufhdf -lmdstransp -lsgdummy \
-lcomput -lvaxonly -lportlib \
-L$MDSPLUS_DIR/lib -lMdsLib \
-L$NETCDFHOME/lib -lnetcdf -lreadline -lhistory -ltermcap
- if you need sglib:
use -lsg instead of -lsgdummy
-L$NTCCHOME/lib -lsg -ljc -lportlib
If you don't have the netcdf and hdf libraries add:
-lgeneric_dummy
- For a list of compiler / loader options type: $NTCC_ROOT/etc/show_makeflags
- See $NTCC_ROOT/etc/Make_sample as a template for a simple Makefile.
- See $NTCC_ROOT/etc/Make.flags for compilation/link flags on various platforms.
- xtc
- copy $NTCC_ROOT/etc/Xtc to your $HOME/
- To setup Xtc,
- use $NTCC_ROOT/etc/.xtcrc{_csh} as template
- or -
- source $NTCC_ROOT/etc/.xtcrc{_csh}
- xtranspin
- copy $NTCC_ROOT/etc/XTranspin to your $HOME/
- setup
- part of ntcc module
- or -
- source $NTCC_ROOT/etc/.xtranspinrc{_csh}
- Read Introduction, etc. under the xtranspin Help Pulldown Menu.
Top
Home