From f7aa6cbda0931d5ca12cac239953117bbe3a8966 Mon Sep 17 00:00:00 2001 From: zaikunzhang Date: Tue, 13 Feb 2024 11:08:43 +0800 Subject: [PATCH] 240213.110843.HKT add Parallel Computing Toolbox to the setup of matlab --- .github/workflows/lint_hosted.yml | 1 + .github/workflows/profile_all.yml | 3 ++- .github/workflows/profile_all_sq.yml | 2 +- .github/workflows/profile_bobyqa_small.yml | 1 + .github/workflows/profile_bobyqa_small_sq.yml | 1 + .github/workflows/profile_cobyla_small.yml | 3 ++- .github/workflows/profile_cobyla_small_sq.yml | 2 +- .github/workflows/profile_compiler_options.yml | 2 +- .github/workflows/profile_infnan.yml | 4 ++-- .github/workflows/profile_int16.yml | 4 ++-- .github/workflows/profile_lincoa_small.yml | 3 ++- .github/workflows/profile_lincoa_small_sq.yml | 2 +- .github/workflows/profile_newuoa_small.yml | 1 + .github/workflows/profile_newuoa_small_sq.yml | 1 + .github/workflows/profile_prima_small.yml | 3 ++- .github/workflows/profile_quadruple.yml | 4 ++-- .github/workflows/profile_rescue_idz_classical.yml | 2 +- .github/workflows/profile_rescue_idz_modernized.yml | 2 +- .github/workflows/profile_single.yml | 4 ++-- .github/workflows/profile_uobyqa_small.yml | 1 + .github/workflows/profile_uobyqa_small_sq.yml | 1 + .github/workflows/recursive_test_matlab.yml | 2 +- .github/workflows/stress_test_matlab.yml | 2 +- .github/workflows/test_matlab.yml | 1 + .github/workflows/test_matlab_linux.yml | 1 + .github/workflows/test_matlab_mac_intel.yml | 1 + .github/workflows/test_matlab_windows.yml | 1 + .github/workflows/verify_archiva.yml | 1 + .github/workflows/verify_big.yml | 1 + .github/workflows/verify_large.yml | 1 + .github/workflows/verify_small.yml | 1 + 31 files changed, 39 insertions(+), 20 deletions(-) diff --git a/.github/workflows/lint_hosted.yml b/.github/workflows/lint_hosted.yml index 26c826c593..2073025d80 100644 --- a/.github/workflows/lint_hosted.yml +++ b/.github/workflows/lint_hosted.yml @@ -70,6 +70,7 @@ jobs: with: release: latest cache: true + products: Parallel_Computing_Toolbox - name: Get fintrf.h and remove MATLAB if: ${{ matrix.linter == 'mlint' }} diff --git a/.github/workflows/profile_all.yml b/.github/workflows/profile_all.yml index 8e9b947ff3..a61d17ee7b 100644 --- a/.github/workflows/profile_all.yml +++ b/.github/workflows/profile_all.yml @@ -119,7 +119,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Set up MATLAB without optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' && matrix.with_optim_toolbox != 'yes' }} @@ -127,6 +127,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_all_sq.yml b/.github/workflows/profile_all_sq.yml index 1b0ed155d9..d708130712 100644 --- a/.github/workflows/profile_all_sq.yml +++ b/.github/workflows/profile_all_sq.yml @@ -114,7 +114,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_bobyqa_small.yml b/.github/workflows/profile_bobyqa_small.yml index 54828948ba..3f47ec95e4 100644 --- a/.github/workflows/profile_bobyqa_small.yml +++ b/.github/workflows/profile_bobyqa_small.yml @@ -81,6 +81,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_bobyqa_small_sq.yml b/.github/workflows/profile_bobyqa_small_sq.yml index 1679ab4582..c5e52823e9 100644 --- a/.github/workflows/profile_bobyqa_small_sq.yml +++ b/.github/workflows/profile_bobyqa_small_sq.yml @@ -96,6 +96,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: List problems that started but did not end # The solver got stuck when solving these problems. Investigate what happened. diff --git a/.github/workflows/profile_cobyla_small.yml b/.github/workflows/profile_cobyla_small.yml index 799c54a811..cdf4e26c18 100644 --- a/.github/workflows/profile_cobyla_small.yml +++ b/.github/workflows/profile_cobyla_small.yml @@ -85,7 +85,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Set up MATLAB without optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' && matrix.with_optim_toolbox != 'yes' }} @@ -93,6 +93,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_cobyla_small_sq.yml b/.github/workflows/profile_cobyla_small_sq.yml index 8732691ae1..7238924aed 100644 --- a/.github/workflows/profile_cobyla_small_sq.yml +++ b/.github/workflows/profile_cobyla_small_sq.yml @@ -96,7 +96,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_compiler_options.yml b/.github/workflows/profile_compiler_options.yml index 809ebbe5bb..cbba8ab99a 100644 --- a/.github/workflows/profile_compiler_options.yml +++ b/.github/workflows/profile_compiler_options.yml @@ -94,7 +94,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Revise setup_compiler_options to print the revised mexopt file run: | diff --git a/.github/workflows/profile_infnan.yml b/.github/workflows/profile_infnan.yml index 73b554b0ab..8e7a4dd85a 100644 --- a/.github/workflows/profile_infnan.yml +++ b/.github/workflows/profile_infnan.yml @@ -88,13 +88,13 @@ jobs: id: check_matlab run: if type 'matlab' &> /dev/null ; then echo "::set-output name=has_matlab::true" ; fi - - name: Set up MATLAB without optimization toolbox + - name: Set up MATLAB with optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' }} uses: matlab-actions/setup-matlab@v2.0.0 with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Revise the Fortran code to break infnan run: | diff --git a/.github/workflows/profile_int16.yml b/.github/workflows/profile_int16.yml index 6b835fa4ca..97b7949c1f 100644 --- a/.github/workflows/profile_int16.yml +++ b/.github/workflows/profile_int16.yml @@ -88,13 +88,13 @@ jobs: id: check_matlab run: if type 'matlab' &> /dev/null ; then echo "::set-output name=has_matlab::true" ; fi - - name: Set up MATLAB without optimization toolbox + - name: Set up MATLAB with optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' }} uses: matlab-actions/setup-matlab@v2.0.0 with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Revise the Fortran code to use int16 run: | diff --git a/.github/workflows/profile_lincoa_small.yml b/.github/workflows/profile_lincoa_small.yml index 47e575b937..b9db5db629 100644 --- a/.github/workflows/profile_lincoa_small.yml +++ b/.github/workflows/profile_lincoa_small.yml @@ -82,7 +82,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Set up MATLAB without optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' && matrix.with_optim_toolbox != 'yes' }} @@ -90,6 +90,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_lincoa_small_sq.yml b/.github/workflows/profile_lincoa_small_sq.yml index 6582cadfcb..46fc1dd251 100644 --- a/.github/workflows/profile_lincoa_small_sq.yml +++ b/.github/workflows/profile_lincoa_small_sq.yml @@ -96,7 +96,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_newuoa_small.yml b/.github/workflows/profile_newuoa_small.yml index 362ae67bc4..0567b2da5f 100644 --- a/.github/workflows/profile_newuoa_small.yml +++ b/.github/workflows/profile_newuoa_small.yml @@ -81,6 +81,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_newuoa_small_sq.yml b/.github/workflows/profile_newuoa_small_sq.yml index c8a5eed11e..fe087ec279 100644 --- a/.github/workflows/profile_newuoa_small_sq.yml +++ b/.github/workflows/profile_newuoa_small_sq.yml @@ -96,6 +96,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_prima_small.yml b/.github/workflows/profile_prima_small.yml index 59f9f4f589..b8afe4932b 100644 --- a/.github/workflows/profile_prima_small.yml +++ b/.github/workflows/profile_prima_small.yml @@ -77,7 +77,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Set up MATLAB without optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' && matrix.with_optim_toolbox != 'yes' }} @@ -85,6 +85,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_quadruple.yml b/.github/workflows/profile_quadruple.yml index ac2da21169..4cf793eef3 100644 --- a/.github/workflows/profile_quadruple.yml +++ b/.github/workflows/profile_quadruple.yml @@ -85,13 +85,13 @@ jobs: id: check_matlab run: if type 'matlab' &> /dev/null ; then echo "::set-output name=has_matlab::true" ; fi - - name: Set up MATLAB + - name: Set up MATLAB with optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' }} uses: matlab-actions/setup-matlab@v2.0.0 with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_rescue_idz_classical.yml b/.github/workflows/profile_rescue_idz_classical.yml index 1e8e32cef5..886f908f6f 100644 --- a/.github/workflows/profile_rescue_idz_classical.yml +++ b/.github/workflows/profile_rescue_idz_classical.yml @@ -92,7 +92,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_rescue_idz_modernized.yml b/.github/workflows/profile_rescue_idz_modernized.yml index ca00bfff3f..91999ff6ea 100644 --- a/.github/workflows/profile_rescue_idz_modernized.yml +++ b/.github/workflows/profile_rescue_idz_modernized.yml @@ -92,7 +92,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_single.yml b/.github/workflows/profile_single.yml index c76b0c70f7..057ce3def1 100644 --- a/.github/workflows/profile_single.yml +++ b/.github/workflows/profile_single.yml @@ -86,13 +86,13 @@ jobs: id: check_matlab run: if type 'matlab' &> /dev/null ; then echo "::set-output name=has_matlab::true" ; fi - - name: Set up MATLAB + - name: Set up MATLAB with optimization toolbox if: ${{ steps.check_matlab.outputs.has_matlab != 'true' }} uses: matlab-actions/setup-matlab@v2.0.0 with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_uobyqa_small.yml b/.github/workflows/profile_uobyqa_small.yml index dcf63ee278..be9e1bef33 100644 --- a/.github/workflows/profile_uobyqa_small.yml +++ b/.github/workflows/profile_uobyqa_small.yml @@ -80,6 +80,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/profile_uobyqa_small_sq.yml b/.github/workflows/profile_uobyqa_small_sq.yml index 6aeded5fb8..4378ef70a2 100644 --- a/.github/workflows/profile_uobyqa_small_sq.yml +++ b/.github/workflows/profile_uobyqa_small_sq.yml @@ -98,6 +98,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/recursive_test_matlab.yml b/.github/workflows/recursive_test_matlab.yml index 070c6eda0d..13e45640b5 100644 --- a/.github/workflows/recursive_test_matlab.yml +++ b/.github/workflows/recursive_test_matlab.yml @@ -152,7 +152,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/stress_test_matlab.yml b/.github/workflows/stress_test_matlab.yml index 178382febc..8526532eea 100644 --- a/.github/workflows/stress_test_matlab.yml +++ b/.github/workflows/stress_test_matlab.yml @@ -138,7 +138,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true - products: Optimization_Toolbox + products: Optimization_Toolbox Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/test_matlab.yml b/.github/workflows/test_matlab.yml index f44d71c62a..2d91184d4b 100644 --- a/.github/workflows/test_matlab.yml +++ b/.github/workflows/test_matlab.yml @@ -157,6 +157,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/test_matlab_linux.yml b/.github/workflows/test_matlab_linux.yml index 2a88682d61..84d0dea0a6 100644 --- a/.github/workflows/test_matlab_linux.yml +++ b/.github/workflows/test_matlab_linux.yml @@ -90,6 +90,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/test_matlab_mac_intel.yml b/.github/workflows/test_matlab_mac_intel.yml index 9ea95ec8c6..34b168c787 100644 --- a/.github/workflows/test_matlab_mac_intel.yml +++ b/.github/workflows/test_matlab_mac_intel.yml @@ -90,6 +90,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/test_matlab_windows.yml b/.github/workflows/test_matlab_windows.yml index 4960547d72..5287ea11ee 100644 --- a/.github/workflows/test_matlab_windows.yml +++ b/.github/workflows/test_matlab_windows.yml @@ -90,6 +90,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/verify_archiva.yml b/.github/workflows/verify_archiva.yml index 33bdb450bf..435411fad2 100644 --- a/.github/workflows/verify_archiva.yml +++ b/.github/workflows/verify_archiva.yml @@ -95,6 +95,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/verify_big.yml b/.github/workflows/verify_big.yml index 3c0767366d..eee4c7a3b2 100644 --- a/.github/workflows/verify_big.yml +++ b/.github/workflows/verify_big.yml @@ -74,6 +74,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/verify_large.yml b/.github/workflows/verify_large.yml index b3866dcfdb..f5d6530b0c 100644 --- a/.github/workflows/verify_large.yml +++ b/.github/workflows/verify_large.yml @@ -74,6 +74,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0 diff --git a/.github/workflows/verify_small.yml b/.github/workflows/verify_small.yml index 163b11ab5a..a253f74607 100644 --- a/.github/workflows/verify_small.yml +++ b/.github/workflows/verify_small.yml @@ -73,6 +73,7 @@ jobs: with: release: ${{ matrix.matlab }} cache: true + products: Parallel_Computing_Toolbox - name: Conduct the test uses: matlab-actions/run-command@v2.0.0