CSS 240 Fortran Programming



Instructor

Description


account on orca


Beddhu Murali, PhD
This course is designed to introduce the Fortran 95 language to undergraduate students.
Specifically, students will learn about
  • Number and character representation in a computer, which forms the basis of various fundamental datatypes in the language
  • Arithmatic and logical operators
  • Control constructs
  • Input and output
  • Arrays
  • Subroutines and Functions
  • Modules
  • Advanced datatypes
In addition to the concepts students will be exposed to using those concepts via several example code demonstrations. Students will have plenty of programming exercises.
Students must obtain an account on orca in order to use the Fortran 95 compiler, which is available only on orca.
  • Contact iTech in order to get your an account on orca.
  • Orca is a Linux machine and you can use text editors like vi, vim, xemacs or emacs for developing your programs.
  • After you finish writing your program, you need to save it and then compile it. The compiler is called ifc.
  • Suppose you saved your program in a file called myprog.f90 then you would compile it with the command
    • ifc myprog.f90
  • This will produce an executable a.out in your current working directory. In order to run a.out you need to type:
    • ./a.out    (dot slash a.out)
  • This should run your program