Skip to content.

The Cactus Code

Sections
Personal tools
You are here: Home » Documentation » Arrangements » CactusTest

CactusTest Overview

Thorns to test different aspects of the Cactus infrastructure.
Test Arrays
Purpose of the thorn:
TestComplex
Purpose of the thorn:
TestCoordinates
Test the Cactus coordinate infrastructure.
TestFpointerNULL
This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument when called from a C function. The code should not crash as long as the NULL pointer argument isn't dereferenced.
Currently this mechanism is used by the Cactus scheduler bindings C functions which pass unallocated grid variables as NULL pointers to a scheduled Fortran routine. Cactus makes the assumption here that those NULL pointers are legal function arguments.
Once we find out that this basic assumption is no longer true we have a problem. So always run this thorn's testsuite on a new platform / with a new fortran compiler !
TestFreeF90
Test automatic line breaks in free-form Fortran 90 code.
This thorn contains no test parameter files, the test is whether or not it compiles.
TestInclude1
Purpose of the thorn:
TestInclude2
Purpose of the thorn:
TestReduce
Purpose of the thorn:
TestStrings
Test use of strings in Cactus. At the moment:
1) Calling C routines from Fortran with 1, 2 and 3 strings in the argument list.
TestTimers
This thorn demonstrates and tests the use of Timers in thorns.
Created by swhite
Last modified 2005-08-04 09:03 PM
 

Powered by Plone

This site conforms to the following standards: