Child pages
  • Hyak text editor

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page shows how to use the totalview graphical debugger on hyak via X11 forwarding
This page assumes that you know how to use a debugger on your desktop. (Replace abc with your userid.)

ssh -X abc@hyak.washington.edu

qsub -I -V

module load totalview_2016

To use the totalview debugger, with the gcc, g+, gfortran, ifort, icpc and icc compilers, compile your code with the -g option. For example for g+:

g++ -g -o myprogram myprogram.cpp

totalview myprogram

More details are at

http://docs.roguewave.com/totalview/2016.01/pdfs/TotalView_for_HPC_Getting_Started_Guide.pdf

http://docs.roguewave.com/totalview/2016.01/pdfs/TotalView_for_HPC_User_Guide.pdfThe standard UNIX text editors such as vi and emacs are available on hyak.

If you are new to linux, a more friendly text editor is nano and it is also available on Hyak.

Many modern GUI text editors on a desktop or laptop can edit files on remote machines . Below are two example of such text editors. The Hyak team does not endorse or support any of the software listed below. The information is provided only for the convenience of Mac and Windows users.

Mac

You can use TextWrangler on your Mac machine to edit files on Hyak.

Select "Open from FTP/SFTP Server" in the File menu item.
The program's FTP browser window will appear.
Enter hyak.washington.edu for the remote computer.
Check the SFTP option.
Enter username and password.
Click the Connect button.
A pop-up window will appear asking for the PRN number.
Enter the PRN number from your e-token.

Windows

You can use MobaXterm on your windows machine to edit files on Hyak.

HTML Comment

Linux

This works for lolo only since emacs cannot handle the e-token number which is required for hyak:

emacs /ssh:abc@lolo.washington.edu:~/temp1