Ignore:
Timestamp:
09/16/19 13:52:58 (5 years ago)
Author:
yushan
Message:

Generic_testcase : Using CMake to generate tests

Location:
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo/Makefile

    r1698 r1714  
    1 $(RM) = rm -f 
     1# CMAKE generated file: DO NOT EDIT! 
     2# Generated by "Unix Makefiles" Generator, CMake Version 2.8 
     3 
     4# Default target executed when no arguments are given to make. 
     5default_target: all 
     6.PHONY : default_target 
     7 
     8#============================================================================= 
     9# Special targets provided by cmake. 
     10 
     11# Disable implicit rules so canonical targets will work. 
     12.SUFFIXES: 
     13 
     14# Remove some rules from gmake that .SUFFIXES does not remove. 
     15SUFFIXES = 
     16 
     17.SUFFIXES: .hpux_make_needs_suffix_list 
     18 
     19# Suppress display of executed commands. 
     20$(VERBOSE).SILENT: 
     21 
     22# A target that is always out of date. 
     23cmake_force: 
     24.PHONY : cmake_force 
     25 
     26#============================================================================= 
     27# Set environment variables for the build. 
     28 
     29# The shell in which to execute make rules. 
     30SHELL = /bin/sh 
     31 
     32# The CMake executable. 
     33CMAKE_COMMAND = /usr/bin/cmake 
     34 
     35# The command to remove a file. 
     36RM = /usr/bin/cmake -E remove -f 
     37 
     38# Escaping for special characters. 
     39EQUALS = = 
     40 
     41# The program to use to edit the cache. 
     42CMAKE_EDIT_COMMAND = /usr/bin/ccmake 
     43 
     44# The top-level source directory on which CMake was run. 
     45CMAKE_SOURCE_DIR = /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE 
     46 
     47# The top-level build directory on which CMake was run. 
     48CMAKE_BINARY_DIR = /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE 
     49 
     50#============================================================================= 
     51# Targets provided globally by CMake. 
     52 
     53# Special rule for the target edit_cache 
     54edit_cache: 
     55        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." 
     56        /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 
     57.PHONY : edit_cache 
     58 
     59# Special rule for the target edit_cache 
     60edit_cache/fast: edit_cache 
     61.PHONY : edit_cache/fast 
     62 
     63# Special rule for the target rebuild_cache 
     64rebuild_cache: 
     65        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." 
     66        /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 
     67.PHONY : rebuild_cache 
     68 
     69# Special rule for the target rebuild_cache 
     70rebuild_cache/fast: rebuild_cache 
     71.PHONY : rebuild_cache/fast 
     72 
     73# Special rule for the target test 
     74test: 
     75        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." 
     76        /usr/bin/ctest --force-new-ctest-process $(ARGS) 
     77.PHONY : test 
     78 
     79# Special rule for the target test 
     80test/fast: test 
     81.PHONY : test/fast 
     82 
     83# The main all target 
     84all: cmake_check_build_system 
     85        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(CMAKE_COMMAND) -E cmake_progress_start /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE/CMakeFiles /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE/test_scalar_algo/CMakeFiles/progress.marks 
     86        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_scalar_algo/all 
     87        $(CMAKE_COMMAND) -E cmake_progress_start /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE/CMakeFiles 0 
     88.PHONY : all 
     89 
     90# The main clean target 
     91clean: 
     92        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_scalar_algo/clean 
     93.PHONY : clean 
     94 
     95# The main clean target 
     96clean/fast: clean 
     97.PHONY : clean/fast 
     98 
     99# Prepare targets for installation. 
     100preinstall: all 
     101        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_scalar_algo/preinstall 
     102.PHONY : preinstall 
     103 
     104# Prepare targets for installation. 
     105preinstall/fast: 
     106        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_scalar_algo/preinstall 
     107.PHONY : preinstall/fast 
     108 
     109# clear depends 
     110depend: 
     111        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 
     112.PHONY : depend 
     113 
     114# Help Target 
     115help: 
     116        @echo "The following are some of the valid targets for this Makefile:" 
     117        @echo "... all (the default if no target is provided)" 
     118        @echo "... clean" 
     119        @echo "... depend" 
     120        @echo "... edit_cache" 
     121        @echo "... rebuild_cache" 
     122        @echo "... test" 
     123.PHONY : help 
    2124 
    3125 
    4 all: submit check 
    5126 
    6 submit: job.sh context_atm.xml iodef.xml ../../build_prod/bin/generic_testcase.exe 
    7         #llsubmit job.sh 
    8         mpirun -np 12 ../../build_prod/bin/generic_testcase.exe 
     127#============================================================================= 
     128# Special targets to cleanup operation of make. 
    9129 
    10 check: 
    11         echo "check" 
     130# Special rule to run CMake to check the build system integrity. 
     131# No rule that depends on this can have commands that come from listfiles 
     132# because they might be regenerated. 
     133cmake_check_build_system: 
     134        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 
     135.PHONY : cmake_check_build_system 
    12136 
    13 clean: 
    14         $(RM) atm_output* 
    15         $(RM) xios_* 
    16         $(RM) Generic_testcase* 
    17         $(RM) distribute_file_atm_server.dat 
    18         $(RM) graph_data.json 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo/param.def

    r1697 r1714  
    11&params_run 
    2 duration='1d' 
    3 nb_proc_atm=8 
     2nb_proc_atm = 8 
     3duration = '1d' 
    44/ 
     5 
Note: See TracChangeset for help on using the changeset viewer.