- TRANSP related libraries, like uflib, ureadsub, pspline etc., utilities, like RPLOT, UGRAF* and scripts, like tek6up.pro are available via "module load ntcc".
- libraries are in $NTCCHOME/lib
- Fortran 90 Use files are in $NTCCHOME/mod
- utilities are in $NTCCHOME/bin
- scripts are in $TRANSP_LOCATION
For details see:
Note: As of May 16, 2018, portal is running CentOS6.
Do not load pathscale - we don't support it.
You should add the following to your .bash_profile or .login
- On portal:
Be sure you have loaded a compiler first
e.g.
- module load intel/2015.u1
-or-
- module load gcc/6.1.0
- If you are a NSTX user:
- module load nstx
- module load netcdf
- module load perl
- module load ntcc/tshare
- If you only want TRANSP tools:
- module load netcdf
- module load mdsplus/v5.2_srv
- module load perl
- module load ntcc/tshare
- If you are going to use 'nubeam_comp_exec' standalone program please load
- module load openmpi/1.10.3
If you would like to ran trdat then you should unsetenv $CONFIGDIR.
You can use $TRANSP_LOCATION/.bash_profile_sample or $TRANSP_LOCATION/.login_sample as a Template.
(Note: TRANSP_LOCATION is defined in module ntcc; currently: /p/xshare/NTCC/etc)
tcsh users:
The .cshrc (or .tcshrc) file is executed every time a new C shell is started. The .login is executed after the .cshrc file only when you initially log in. Generally, environment variables should be set in the .login file, and alias and set commands should be in the .cshrc file.
bash users:
.bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
- e.g. to link pspline library:
-L${NTCCHOME}/lib -lpspline -lportlib
if you make calls to ezpspline:
-L${NTCCHOME}/lib -lpspline -lezcdf -lportlib
compile with -I${NTCCHOME}/mod
- 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 -lhdf_dummy \
-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
e.g. to link xplasma library:
-L${NTCCHOME}/lib -lold_xplasma -lxplasma2 -lgeqdsk_mds
you probably also need:
-lmdstransp -lnscrunch -lfluxav -lr8bloa \
-lcomput -lvaxonly -lpspline -lezcdf \
-llsode -llsode_linpack -lportlib
compile with -I${NTCCHOME}/mod
If you don't need the netcdf or hdf library add:
-lcdf_dummy -lhdf_dummy
- For a list of compiler / loader options type: $TRANSP_LOCATION/show_makeflags
- See $TRANSP_LOCATION/Make_sample as a template for a simple Makefile.
- See $TRANSP_LOCATION/Make.flags for compilation/link flags on various platforms.
- xtc
- copy $TRANSP_LOCATION/Xtc to your $HOME/
- To setup Xtc,
- use $TRANSP_LOCATION/.xtcrc{_csh} as template
- or -
- source $TRANSP_LOCATION/.xtcrc{_csh}
- xtranspin
- copy $TRANSP_LOCATION/XTranspin to your $HOME/
- setup
- part of ntcc module
- or -
- source $TRANSP_LOCATION/.xtranspinrc{_csh}
- Read Introduction, etc. under the xtranspin Help Pulldown Menu.
- Problems with your xterm on a MAC?
Top
Home