2013-12-16 14:35:43 +00:00
|
|
|
# /*-------------------------------------------------------------------------*\
|
2010-10-07 03:00:07 +00:00
|
|
|
# ========= |
|
2013-12-11 16:09:41 +00:00
|
|
|
# \\ / F ield | foam-extend: Open Source CFD
|
2010-10-07 03:00:07 +00:00
|
|
|
# \\ / O peration |
|
2013-12-11 16:09:41 +00:00
|
|
|
# \\ / A nd | For copyright notice see file Copyright
|
2010-10-07 03:00:07 +00:00
|
|
|
# \\/ M anipulation |
|
2013-12-16 14:35:43 +00:00
|
|
|
# -----------------------------------------------------------------------------
|
2010-10-07 03:00:07 +00:00
|
|
|
# License
|
2013-12-11 16:09:41 +00:00
|
|
|
# This file is part of foam-extend.
|
2010-10-07 03:00:07 +00:00
|
|
|
#
|
2013-12-11 16:09:41 +00:00
|
|
|
# foam-extend is free software: you can redistribute it and/or modify it
|
2010-10-07 03:00:07 +00:00
|
|
|
# under the terms of the GNU General Public License as published by the
|
2013-12-11 16:09:41 +00:00
|
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
2010-10-07 03:00:07 +00:00
|
|
|
# option) any later version.
|
|
|
|
#
|
2013-12-11 16:09:41 +00:00
|
|
|
# foam-extend is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
2010-10-07 03:00:07 +00:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2013-12-11 16:09:41 +00:00
|
|
|
# along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
|
2010-10-07 03:00:07 +00:00
|
|
|
#
|
|
|
|
# Description:
|
2013-12-16 14:35:43 +00:00
|
|
|
README file for the CMake/CTest/CDash test harness for FOAM.
|
2010-10-07 03:00:07 +00:00
|
|
|
#
|
|
|
|
# Author:
|
2013-12-16 14:35:43 +00:00
|
|
|
# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved.
|
|
|
|
#
|
|
|
|
# \*-------------------------------------------------------------------------*/
|
2010-10-07 03:00:07 +00:00
|
|
|
|
2013-12-16 14:35:43 +00:00
|
|
|
Warning #1: Make sure your FOAM environment is properly initialized before
|
2010-10-07 03:00:07 +00:00
|
|
|
running the test harness.
|
|
|
|
|
|
|
|
Warning #2: It is recommended to use cmake version 2.8.0 or newer for
|
|
|
|
running the test harness.
|
|
|
|
|
|
|
|
|
|
|
|
1: Instructions for starting a local test harness on your machine:
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
a) You can set your local system identifier using the environment variable
|
|
|
|
$CDASH_SUBMIT_LOCAL_HOST_ID. Please try using a unique identifier like
|
2013-07-18 01:02:34 +00:00
|
|
|
your machine's hostname. Otherwise, the fully qualified name of your system
|
2010-10-07 03:00:07 +00:00
|
|
|
will be used.
|
|
|
|
|
|
|
|
|
|
|
|
b) Install the CMakeLists.txt and CTestConfig.cmake files by executing the following commands:
|
|
|
|
|
|
|
|
cp ./CMakeFiles/CMakeLists.txt $WM_PROJECT_DIR
|
2015-06-18 03:00:45 +00:00
|
|
|
cp ./CMakeFiles/CTestConfig.cmake.foam-extend $WM_PROJECT_DIR/CTestConfig.cmake
|
2010-10-07 03:00:07 +00:00
|
|
|
|
|
|
|
|
2015-06-18 03:00:45 +00:00
|
|
|
c) Run the test harness and push your results on the CDash server on foam-extend
|
2010-10-07 03:00:07 +00:00
|
|
|
|
2010-10-13 17:22:57 +00:00
|
|
|
cd ./runDir; ./Allclean; ./Allrun_Experimental
|
2010-10-07 03:00:07 +00:00
|
|
|
or
|
2010-10-13 17:22:57 +00:00
|
|
|
cd ./runDir; ./Allclean; ./Allrun_Nightly
|
2010-10-07 03:00:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
2: Instructions for restarting your setup from scratch:
|
|
|
|
-------------------------------------------------------
|
|
|
|
cd ./runDir; ./Allclean
|
|
|
|
|
|
|
|
|
|
|
|
3: About submitting your results
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
Both Allrun_Experimental and Allrun_Nightly scripts will submit their results
|
|
|
|
to the CDash server of your choice, as specified by the file
|
2013-07-18 01:02:34 +00:00
|
|
|
$WM_PROJECT_DIR/CTestConfig.cmake.
|
2010-10-07 03:00:07 +00:00
|
|
|
|
2015-06-18 03:00:45 +00:00
|
|
|
To submit your results to the CDash server on foam-extend, just use
|
|
|
|
the file CTestConfig.cmake.foam-extend.
|
2010-10-07 03:00:07 +00:00
|
|
|
|
2015-06-18 03:00:45 +00:00
|
|
|
If submitted to the CDash server on foam-extend, your results will be displayed here:
|
|
|
|
http://foam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.2
|
2010-10-07 03:00:07 +00:00
|
|
|
|