|
|
Up |
|
|
  |
Author: Andrew ChenAndrew Chen Date: Jan 27, 2008 21:40
Gerry,
>
> Question 1) Where "should" I install it?
It can be at any directory.
Just unzip the file.
The directory structure is:
fruit
|-- src : FORTRAN fruit modules
|-- test : tests for fruit
|-- sample : samples
|-- bin : script to call code generater, if you don't want to
use gems
|-- fruit-processor-gem : gem for fruit processor
Please check this document for installation.
http://fortranxunit.wiki.sourceforge.net/Installation+Guide
It seems like you need to install ruby, gem, and rake first.
Also, please note that the development of Fruit was on Linux. The
ruby part has not been tested on Windows. (The FORTRAN part has been
tested on Windows though).
|
| Show full article (0.81Kb) |
|
| | 7 Comments |
|
  |
Author: Paul van DelstPaul van Delst Date: Jan 28, 2008 06:23
Andrew Chen wrote:
> Gerry,
>
>> Question 1) Where "should" I install it?
>
> It can be at any directory.
> Just unzip the file.
>
> The directory structure is:
> fruit
> |-- src : FORTRAN fruit modules
> |-- test : tests for fruit
> |-- sample : samples
> |-- bin : script to call code generater, if you don't want to
> use gems
> |-- fruit-processor-gem : gem for fruit processor
>
> Please check this document for installation.
> http://fortranxunit.wiki.sourceforge.net/Installation+Guide
> ...
|
| Show full article (1.76Kb) |
|
| | no comments |
|
  |
Author: Andrew ChenAndrew Chen Date: Jan 28, 2008 15:51
Paulv,
"to get ruby and rake officially installed on
> the supercomputers is mind boggling (gem wouldn't work anyway since there is no outside
> link to them available to peons such as myself)"
You can compile ruby source in your own directory, and install gem on
a local repository by setting up
GEM_HOME environment variable.
Ruby scripts are helping generate fruit_basket (FORTRAN module with
collection of all tests), and friut_driver (FORTRAN program). You can
do those manually.
Rake is to build the libraries. You can use Make as well.
Cheers!
~Andrew Chen
|
| |
| no comments |
|
  |
Author: Gerry FordGerry Ford Date: Jan 29, 2008 05:07
> Gerry,
>
>>
>> Question 1) Where "should" I install it?
>
> It can be at any directory.
> Just unzip the file.
>
> The directory structure is:
> fruit
> |-- src : FORTRAN fruit modules
> |-- test : tests for fruit
> |-- sample : samples
> |-- bin : script to call code generater, if you don't want to
> use gems
> |-- fruit-processor-gem : gem for fruit processor
>
> Please check this document for installation. ...
|
| Show full article (4.11Kb) |
| no comments |
|
  |
Author: Gerry FordGerry Ford Date: Jan 31, 2008 17:09
> Gerry,
>
> Yes, you have ruby, rubygem, and rake.
>
> Please try to do this:
> cd fruit\fruit_processor_gem\pkg
> gem install fruit_processor_*.gem (or your specific file gem
> filename)
>
>
> I understand the need to use the library on Windows. I don't have a
> Windows box to test the Windows installation yet.
> Base ruby and rake should run on Windows as well.
>
> Here are what I did:
>
> 1. I added misc.rb in the fruit_processor gem.
> There is one method is_windows? to test is the OS is Windows or not. ...
|
| Show full article (2.56Kb) |
| no comments |
|
  |
Author: Andrew ChenAndrew Chen Date: Jan 31, 2008 18:38
Gerry,
Sorry for all the installation hassle it caused. First time
installation of Ruby is tough, especially you compile it from source
for the first time.
"> Can you elaborate somewhat on what fruit does for one's fortran
> capabilities? "
|
| |
| no comments |
|
  |
Author: Gerry FordGerry Ford Date: Feb 1, 2008 15:48
> Gerry,
>
> Sorry for all the installation hassle it caused. First time
> installation of Ruby is tough, especially you compile it from source
> for the first time.
>
> "> Can you elaborate somewhat on what fruit does for one's fortran
>> capabilities? "
>
> FRUIT is a FORTRAN unit testing framework. All it can do is to help
> you verify result in the form of "assert_true (expected_value,
> actual_value) ". It provides assert capability in your test code. It
> makes sure your code works the way it intended to be.
>
>
> You can ignore all other installation and ruby and rake stuff, and
> only copy those 2 FORTRAN files in your directory. You are done.
> ...
|
| Show full article (2.82Kb) |
| no comments |
|
  |
|
|
  |
Author: Gerry FordGerry Ford Date: Feb 2, 2008 11:31
> Gerry,
>
> Yes, you have ruby, rubygem, and rake.
>
> Please try to do this:
> cd fruit\fruit_processor_gem\pkg
> gem install fruit_processor_*.gem (or your specific file gem
> filename)
>
>
> I understand the need to use the library on Windows. I don't have a
> Windows box to test the Windows installation yet.
> Base ruby and rake should run on Windows as well.
>
> Here are what I did:
>
> 1. I added misc.rb in the fruit_processor gem.
> There is one method is_windows? to test is the OS is Windows or not. ...
|
| Show full article (1.86Kb) |
| no comments |
|
|