Class: Funit::Compiler
- Inherits:
-
Object
- Object
- Funit::Compiler
- Defined in:
- lib/funit/compiler.rb
Overview
Fortran compiler
Instance Method Summary collapse
-
#initialize ⇒ Compiler
constructor
A new instance of Compiler.
Constructor Details
#initialize ⇒ Compiler
Returns a new instance of Compiler.
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/funit/compiler.rb', line 8 def initialize = <<-COMPILER Fortran compiler environment variable 'FC' not set. For example, if you had the g95 compiler: sh: export FC=g95 csh: setenv FC g95 windows: set FC=C:\\Program Files\\g95 COMPILER raise unless ENV['FC'] end |