Skip to content

Commit

Permalink
Update warning message for renamed package installer
Browse files Browse the repository at this point in the history
- Updated warning message to inform users about the renaming of the package installer from MPM to MPI, prompting them to use the correct version.
  • Loading branch information
BJCaasenbrood committed Feb 26, 2024
1 parent f96ddb7 commit c225249
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @sorotoki/sorotoki.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
prompt = [];

mpiPath = which('mpi');

if ~isempty(which('mpm'))
error('MPM has been renamed to MPI, make sure to run the MPI version of the package installer');% ensures users are using MPI instead of MPM.
warning('MPM has been renamed to MPI, make sure to run the MPI version of the package installer');% ensures users are using MPI instead of MPM.
end

installFile = which('sorotoki.m');
Expand Down

0 comments on commit c225249

Please sign in to comment.