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 = "Fortran compiler environment variable 'FC' not set.\n\nFor example, if you had the g95 compiler:\n\n sh: export FC=g95\n csh: setenv FC g95\n windows: set FC=C:\\\\Program Files\\\\g95\n COMPILER\n raise error_message unless ENV['FC']\nend\n" |