Skip to content

Commit

Permalink
231025.071827.HKT minor revision on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Oct 24, 2023
1 parent 1a6491c commit 6bec05b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions matlab/tests/stress.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
function stress(solver, options)
%STRESS test of a solver on excessively large problems that the solver is NOT designed for.
% N.B.: When the dimension beyond some limit, the MEX function will crash due to memory violations.
% In the official version, the limit for each solver is much higher than the size of problems that
% it is designed to solve. To achieve this, we have to force the MEX function to use the heap
% instead of the stack for automatic arrays. This is done by the following compilation options:
% N.B.: When the dimension is beyond some limit, the MEX function will crash due to memory violations.
% However, the limit for each solver is much higher than the size of problems that it is designed to
% solve. To achieve this, we have to force the MEX function to use the heap instead of the stack for
% automatic arrays. This is done by the following compilation options:
% gfortran on Linux: -fno-stack-arrays
% Intel compiler on macOS: -heap-arrays
% Intel compiler on Windows: /heap-arrays
Expand Down

0 comments on commit 6bec05b

Please sign in to comment.