Changeset 1714 for XIOS


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
Files:
17 added
11 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/check.py

    r1713 r1714  
    5858                os.system('cp dynamico_grid.nc '+configName+'/setup/') 
    5959                 
    60                 os.system('cp atm_output.nc '+configName+'/tmp_reference/') 
    61                 # os.system('cp -r '+configName+'/tmp_reference/ ' + configName+'/reference/') 
     60 
     61                f=open("checkfile.def", "r") 
     62                h=open("report.txt", "a+") 
     63                for line in f: 
     64                        line=line.strip() 
     65                        line=line.rstrip() 
     66                        if not line.startswith("#") and len(line) != 0: 
     67                                cmd = 'cp -n '+line + ' '+configName+'/tmp_reference/' 
     68                                os.system(cmd) 
     69 
     70                                h.write("test for "+configName+" for file "+line+"     \tINITIALIZED\n")                 
     71                                print "\n        ****************************************" 
     72                                print "        ** "+line+" is stored as temporal reference !!! **" 
     73                                print "\n        ****************************************" 
     74                                 
     75                f.close() 
     76                h.close() 
     77 
    6278 
    6379        else:     
     
    84100                 
    85101                f=open("checkfile.def", "r") 
    86                 g=open("diff.txt", "w+r") 
     102                # g=open("diff.txt", "w+r") 
    87103                h=open("report.txt", "a+") 
    88104 
     105 
    89106                for line in f: 
     107 
    90108                        line=line.strip() 
    91109                        line=line.rstrip() 
     110                         
    92111                        if not line.startswith("#") and len(line) != 0: 
     112                                # os.system('cat diff.txt') 
    93113                                cmd = 'cdo diffn '+ line + path + line + ' | tail -1 > diff.txt' 
    94114                                os.system(cmd) 
    95115 
     116                                g=open("diff.txt", "r") 
    96117                                for gline in g: 
    97118                                        if gline.strip().startswith("0"): 
     
    101122                                                print "\n        ****************************************" 
    102123                                        else: 
    103                                                 h.write("test for "+configName+" failed for "+line+"     \tFAILED\n")            
     124                                                h.write("test for "+configName+" for file "+line+"     \tFAILED\n")              
    104125                                                print "\n        **************************************************" 
    105126                                                print "        ** "+line+" is NOT valid. Please debugging.. **" 
    106127                                                print "\n        **************************************************" 
     128                                g.close() 
    107129                f.close() 
     130                # g.close() 
     131                h.close() 
    108132 
    109133 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/checkfile.def

    r1707 r1714  
    22 
    33atm_output.nc 
     4atm_output_copy.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/context_atm.xml

    r1707 r1714  
    389389     <file id="atm_output" output_freq="1ts" enabled="true"> 
    390390       <field id="fieldXY_zoomY" field_ref="field_XY" grid_ref="grid_XY_zoom_Y" operation="once" enabled="true"/> 
     391    </file> 
     392   
     393    <file id="atm_output_copy" output_freq="1ts" enabled="true"> 
     394       <field id="fieldXY_zoomY_copy" field_ref="field_XY" grid_ref="grid_XY_zoom_Y" operation="once" enabled="true"/> 
    391395       <field id="fieldXY_zoomX" field_ref="field_XY" grid_ref="grid_XY_zoom_X" operation="once" enabled="false"/> 
    392396    </file> 
     397 
    393398 
    394399 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_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_domain_algo/CMakeFiles/progress.marks 
     86        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_domain_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_domain_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_domain_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_domain_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_domain_algo/param.def

    r1694 r1714  
    11&params_run 
    2 duration='1d' 
    3 nb_proc_atm=8 
     2nb_proc_atm = 8 
     3duration = '1d' 
    44/ 
     5 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/checkfile.def

    r1707 r1714  
    1 #atm_output_1.nc 
     1atm_output1.nc 
    22 
    33atm_output.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/context_atm.xml

    r1701 r1714  
    364364  <file_definition  type="one_file" > 
    365365     
    366     <file id="atm_output" output_freq="1ts" type="one_file" enabled="false"> 
     366    <file id="atm_output1" output_freq="1ts" type="one_file" enabled="true"> 
    367367       <field id="id_field2D" field_ref="field2D" enabled="true"/> 
    368368       <field id="id_field3D" field_ref="field3D" enabled="true"/> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_grid_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_grid_algo/CMakeFiles/progress.marks 
     86        cd /workgpfs/rech/psl/rpsl954/xios/dev_trunk_omp2/GENERIC_TESTCASE && $(MAKE) -f CMakeFiles/Makefile2 test_grid_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_grid_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_grid_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_grid_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_grid_algo/param.def

    r1694 r1714  
    11&params_run 
    2 duration='1d' 
    3 nb_proc_atm=8 
     2nb_proc_atm = 8 
     3duration = '1d' 
    44/ 
     5 
  • 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.