Changeset 1700
- Timestamp:
- 09/06/19 15:57:28 (5 years ago)
- Location:
- XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function
- Files:
-
- 19 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/Makefile
r1699 r1700 1 1 $(RM) = rm -f 2 2 3 all: config1 config2 3 4 4 all: submit check 5 config1: 6 make submit 7 make check1 8 9 config2: 10 make submit 11 make check2 5 12 6 13 submit: job.sh context_atm.xml iodef.xml ../../build_prod/bin/generic_testcase.exe … … 8 15 @mpirun -np 12 ../../build_prod/bin/generic_testcase.exe 9 16 10 reference: atm_output.nc atm_output_operation.nc 11 rm -f reference/result/* 12 rm -f reference/setup/* 13 cp atm_output_operation.nc reference/result 14 cp iodef.xml reference/setup 15 cp context_atm.xml reference/setup 16 cp param.def reference/setup 17 cp context_grid_dynamico.xml reference/setup 18 cp dynamico_grid.nc reference/setup 17 18 reference1: atm_output_operation.nc 19 rm -f reference/config1/result/* 20 rm -f reference/config1/setup/* 21 cp atm_output_operation.nc reference/config1/result 22 cp iodef.xml reference/config1/setup 23 cp context_atm.xml reference/config1/setup 24 cp param.def reference/config1/setup 25 cp context_grid_dynamico.xml reference/config1/setup 26 cp dynamico_grid.nc reference/config1/setup 19 27 20 28 21 check: 22 cdo diffn atm_output_operation.nc reference/result/atm_output_operation.nc 29 reference2: atm_output_operation.nc 30 rm -f reference/config2/result/* 31 rm -f reference/config2/setup/* 32 cp atm_output_operation.nc reference/config2/result 33 cp iodef.xml reference/config2/setup 34 cp context_atm.xml reference/config2/setup 35 cp param.def reference/config2/setup 36 cp context_grid_dynamico.xml reference/config2/setup 37 cp dynamico_grid.nc reference/config2/setup 38 39 40 check1: 41 cdo diffn atm_output_operation.nc reference/config1/result/atm_output_operation.nc | tail -1 > diff.txt 42 @gcc validation.c -o validate.exe 43 @./validate.exe 44 45 check2: 46 cdo diffn atm_output_operation.nc reference/config2/result/atm_output_operation.nc | tail -1 > diff.txt 47 @gcc validation.c -o validate.exe 48 @./validate.exe 49 23 50 24 51 clean: 25 52 $(RM) atm_output* 53 $(RM) diff.txt 26 54 $(RM) xios_* 27 55 $(RM) Generic_testcase* 28 56 $(RM) distribute_file_atm_server.dat 29 57 $(RM) graph_data.json 58 59 60 #cdo diffn atm_output_operation.nc reference/result/atm_output_operation.nc > diff.txt
Note: See TracChangeset
for help on using the changeset viewer.