1 # /*---------------------------------------------------------------------------*\
3 # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 # \\ / A nd | Copyright held by original author
7 # -------------------------------------------------------------------------------
9 # This file is part of OpenFOAM.
11 # OpenFOAM is free software; you can redistribute it and/or modify it
12 # under the terms of the GNU General Public License as published by the
13 # Free Software Foundation; either version 2 of the License, or (at your
14 # option) any later version.
16 # OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 # You should have received a copy of the GNU General Public License
22 # along with OpenFOAM; if not, write to the Free Software Foundation,
23 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 # README file for the CMake/CTest/CDash test harness for
27 # the TurboMachinery OSIG
30 # Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
31 # \*---------------------------------------------------------------------------*/
34 Warning #1: Make sure your OpenFOAM environment is properly initialized before
35 running the test harness.
37 Warning #2: Make sure to create an environment variable called $BREEDER_15_DIR
38 This environment variable must point to the Breeder_1.5 directory
39 of your local working copy of the openfoam-extend Subversion repository
41 Something like: export BREEDER_15_DIR=/someAbsolutePath/Breeder_1.5
43 Warning #3: It is recommended to use cmake version 2.8.0 or newer for
44 running the test harness.
48 1: Instructions for starting a local test harness on your machine:
49 ------------------------------------------------------------------
51 a) You can set your local system identifier using the environment variable
52 $CDASH_SUBMIT_LOCAL_HOST_ID. Please try using a unique identifier like
53 your machine's hostname. Otherwise, the fully qualified name of your system
57 b) Install the CMakeLists.txt and CTestConfig.cmake files by executing the following commands:
59 cp ./CMakeFiles/CMakeLists.txt $BREEDER_15_DIR/OSIG/TurboMachinery/CMakeLists.txt
60 cp ./CMakeFiles/CTestConfig.cmake.openfoam-extend $BREEDER_15_DIR/OSIG/TurboMachinery/CTestConfig.cmake
63 c) Run the test harness and push your results on the CDash server on openfoam-extend
65 cd ./runDir; ./Allrun_Experimental
67 cd ./runDir; ./Allrun_Nightly
70 2: Instructions for restarting your setup from scratch:
71 -------------------------------------------------------
72 cd ./runDir; ./Allclean
75 3: About submitting your results
76 --------------------------------
78 Both Allrun_Experimental and Allrun_Nightly scripts will submit their results
79 to the CDash server of your choice, as specified by the file
80 $BREEDER_15_DIR/OSIG/TurboMachinery/CTestConfig.cmake
82 To submit your results to the CDash server on openfoam-extend, just use
83 the file CTestConfig.cmake.openfoam-extend.
85 If submitted to the CDash server on openfoam-extend, your results will be displayed here:
86 http://openfoam-extend.sourceforge.net/CDash/index.php?project=Turbomachinery-1.5-dev