How To Edit Files

A few options:

Easy:
  1. Log in as described in From a Mac computer or From a Windows computer
  2. Type "gedit &" (and hit return) … this is a rather simple editor, but it is easy to use. It might be slow if you have a slow network connection, but hopefully will be OK for on campus use
Easy (but without X11):
  1. Log in as described in From a Mac computer or From a Windows computer
  2. type "pico" (and hit return) … this is another simple editor, but this time completely text based. It will be faster than gedit over slow network connections, and doesn't require you to have X11 configured properly.
  3. Note: The caret "^" symbols in pico mean "Control" (e.g., "^X" = Cntrl-X)
Harder:
  1. Log in, as above
  2. Type "emacs -nw filename.f90" This will open a new file named "filename.f90" (of course, you can use whatever name you like)
  3. You will need to learn emacs (it is not too hard to learn the basic commands) Here a few tutorials:

http://hsrl.rutgers.edu/ug/emacs_tutorial.html

http://jeremy.zawodny.com/emacs/emacs.html

http://www.gnu.org/software/emacs/tour/


After you have gotten familiar with one of these methods, the next step is to compile your first "hello world" program using the F90 compiler. [http://h205.wikidot.com/how-to-compile-your-first-fortran90-program]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License