Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • fruit.f90 - fruit source code
  • mod - directory used to store .mod files
  • <your_module>.f90 - your actual module
  • <your_module>_test.f90 - file with unit tests for your module
  • fruit_geneator.rb - script used to generate test driver and basket files
  • Makefile - used to compile and run all tests

Prepare environment

You will need to load module 'ruby' to use auto-generating scripts.

Code Block
module load ruby

Install requirements

 FRUIT source code

...

Code Block
cd <project_dir>/test
make

NOTE: While compiling fruit.f90 an error "Logicals must be compared with .eqv. instead of .eq." may occure. In this case you will need to modify fruit.f90 lines 912 and 913 editing ".eq." to ".eqv.". This step is needed to be done only once, during first run.

...