<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi again,&nbsp;<div><br></div><div>I just $ mv ~/bin/csdp /usr/local/bin</div><div>Now everything goes well.</div><div><br></div><div>Maybe the $PATH &nbsp;is reseted somewhere, like in this one about rvm: &nbsp;<a href="http://stackoverflow.com/questions/9561519/why-does-zsh-return-command-not-found-error-for-my-rvm-gems">http://stackoverflow.com/questions/9561519/why-does-zsh-return-command-not-found-error-for-my-rvm-gems</a></div><div><br></div><div>Better solutions ?</div><div><br></div><div>I forget to note that I’m using zsh, and .oh-my-zsh.</div><div>I have my PATH settings in .zshrc</div><div><br></div><div>Thanks</div><div>Hongying</div><div><br><div><div>On 03 Jan 2014, at 01:26, Hongying Li &lt;<a href="mailto:lihongying17@gmail.com">lihongying17@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, <br>
<br>
I'm trying to run a test program on a Mac, but it complains csdp is not found. <br>
Actually I can run csdp without problem in a Terminal.&nbsp;<br>
(<b>csdp /private/tmp/tp1688cde8_e84d_4719_b3e2_68ab52d99f7e.dat-s</b>)<br>
<br>
Is it because a certain resetting of .zshrc or something ?<br>
Anyone knows how to fix it?<br>
<br>
Thank you<br>
Hongying<br>
PS: here is more info given in the Matlab command line:<br>
<br>
.....<b><br>
</b><b>zsh:1: command not found: csdp</b><b><br>
</b><b>csdp /private/tmp/tp1688cde8_e84d_4719_b3e2_68ab52d99f7e.dat-s&nbsp;&nbsp; 0.00s user 0.00s system 64% cpu 0.001 total</b><br>
188 [x,y,z]=readsol([fname '.sol'],K,length(b));<br>
file does not exist!<br>
Error in ==&gt; readsol at 17<br>
if isfield(K,'q') <br>
<br>
??? Output argument "x" (and maybe others) not assigned during call to "/Users/hli/workSpace/matlab/csdp/readsol.m&gt;readsol".<br>
<br>
Error in ==&gt; csdp at 188<br>
[x,y,z]=readsol([fname '.sol'],K,length(b));<br>
<br>
Error in ==&gt; mvuHli20130416neighborCell at 543<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [x d z&nbsp; info]=csdp(A,b,c,flags,OPTIONS);<br>
<br>
.....</div></blockquote></div><br></div></body></html>