<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 11, 2013 at 8:42 AM, Chandan Choudhury <span dir="ltr"><<a href="mailto:iitdckc@gmail.com" target="_blank">iitdckc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thanks Michael for your quick reply.<br><br></div>I indeed tried the following command:<br>
CMAKE_PREFIX_PATH=/soft/sudip/abc/apps/fftw-3.3.3 CC=icc cmake .. -DCMAKE_INSTALL_PREFIX=/soft/sudip/abc/apps/gromacs/461 -DCMAKE_EXECUTABLE_SUFFIX=_461 && make -j 12 && make install<br>
<br></div>But the suffix was not added to the executables. Might be I am missing something or doing silly.<br><br></div><div>Kindly have a look.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<br></div>Chandan<br></font></span></div><div class="gmail_extra"><div class="im"><br clear="all">
<div><br>--<br>Chandan kumar Choudhury<br>NCL, Pune<br>INDIA</div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Mon, Mar 11, 2013 at 12:34 PM, Michael Wild <span dir="ltr"><<a href="mailto:themiwi@gmail.com" target="_blank">themiwi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>On Mon, Mar 11, 2013 at 7:56 AM, Chandan Choudhury <span dir="ltr"><<a href="mailto:iitdckc@gmail.com" target="_blank">iitdckc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br clear="all"><div>Dear cmake users,<br><br></div><div>I am very new to cmake. I really find it interesting. I installed gromacs (4.6.1) with it. One simple query regarding its usage is, how do I add program suffix to the executables created.<br>
<br><br></div><div>Chandan </div></div></blockquote></div><div><br>Just set the CMAKE_EXECUTABLE_SUFFIX variable in the CMake cache. Be careful that on Windows this should include the .exe suffix.<br><br>HTH<span><font color="#888888"><br>
<br>Michael<br>
</font></span></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>That's a bit difficult to debug remotely. Here a few hints:<br><br>* Look into the CMakeCache.txt file and verify that the CMAKE_EXECUTABLE_SUFFIX is correct.<br>* Grep the sources for this variable, it might be that one of the CMakeLists.txt or *.cmake files overrides the cache entry.<br>
<br>Michael<br></div></div>