Skip to content

Commit

Permalink
240213.110843.HKT add Parallel Computing Toolbox to the setup of matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Feb 13, 2024
1 parent 34e4013 commit f7aa6cb
Show file tree
Hide file tree
Showing 31 changed files with 39 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint_hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/profile_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,15 @@ 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' }}
uses: matlab-actions/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_all_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_bobyqa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_bobyqa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/profile_cobyla_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ 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' }}
uses: matlab-actions/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_cobyla_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_compiler_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/profile_infnan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Optimization_Toolbox
products: Optimization_Toolbox Parallel_Computing_Toolbox

- name: Revise the Fortran code to break infnan
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/profile_int16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Optimization_Toolbox
products: Optimization_Toolbox Parallel_Computing_Toolbox

- name: Revise the Fortran code to use int16
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/profile_lincoa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,15 @@ 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' }}
uses: matlab-actions/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_lincoa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_newuoa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_newuoa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/profile_prima_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,15 @@ 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' }}
uses: matlab-actions/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/profile_quadruple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Optimization_Toolbox
products: Optimization_Toolbox Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_rescue_idz_classical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/profile_rescue_idz_modernized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/profile_single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
release: ${{ matrix.matlab }}
cache: true
products: Optimization_Toolbox
products: Optimization_Toolbox Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_uobyqa_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_uobyqa_small_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/recursive_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stress_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_matlab_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_matlab_mac_intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_matlab_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify_archiva.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify_big.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify_large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
with:
release: ${{ matrix.matlab }}
cache: true
products: Parallel_Computing_Toolbox

- name: Conduct the test
uses: matlab-actions/[email protected]
Expand Down

0 comments on commit f7aa6cb

Please sign in to comment.