[Csdp] csdp with Matlab on a Mac
Hongying Li
lihongying17 at gmail.com
Thu Jan 2 12:44:09 EST 2014
Hi again,
I just $ mv ~/bin/csdp /usr/local/bin
Now everything goes well.
Maybe the $PATH is reseted somewhere, like in this one about rvm: http://stackoverflow.com/questions/9561519/why-does-zsh-return-command-not-found-error-for-my-rvm-gems
Better solutions ?
I forget to note that I’m using zsh, and .oh-my-zsh.
I have my PATH settings in .zshrc
Thanks
Hongying
On 03 Jan 2014, at 01:26, Hongying Li <lihongying17 at gmail.com> wrote:
> Hi,
>
> I'm trying to run a test program on a Mac, but it complains csdp is not found.
> Actually I can run csdp without problem in a Terminal.
> (csdp /private/tmp/tp1688cde8_e84d_4719_b3e2_68ab52d99f7e.dat-s)
>
> Is it because a certain resetting of .zshrc or something ?
> Anyone knows how to fix it?
>
> Thank you
> Hongying
> PS: here is more info given in the Matlab command line:
>
> .....
> zsh:1: command not found: csdp
> csdp /private/tmp/tp1688cde8_e84d_4719_b3e2_68ab52d99f7e.dat-s 0.00s user 0.00s system 64% cpu 0.001 total
> 188 [x,y,z]=readsol([fname '.sol'],K,length(b));
> file does not exist!
> Error in ==> readsol at 17
> if isfield(K,'q')
>
> ??? Output argument "x" (and maybe others) not assigned during call to "/Users/hli/workSpace/matlab/csdp/readsol.m>readsol".
>
> Error in ==> csdp at 188
> [x,y,z]=readsol([fname '.sol'],K,length(b));
>
> Error in ==> mvuHli20130416neighborCell at 543
> [x d z info]=csdp(A,b,c,flags,OPTIONS);
>
> .....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/csdp/attachments/20140103/a2e6adc0/attachment.html>
More information about the Csdp
mailing list