<div dir="ltr">Dear Luc<div> I think I have confused you by not mentioning in the very first mail.</div><div>My main program is in PERL and I am calling OPENBABEL by installing it on my PC and using the system command on UNIX. e.g. system(&quot;babel -i pdb input file -o cif output file&quot;);</div>
<div><br></div><div>Same thing I wanted for cctbx. Since it does alot of other things along with unitcell generation, I wanted to have the relevant part of cctbx.</div><div><br></div><div>I wanted to make binary of that part, so that I can call it from the main program.</div>
<div><br></div><div>Thanx alot</div><div>Prasun Kumar </div></div><div class="gmail_extra"><br clear="all"><div>PRASUN (ASHOKA)<br>Desire + stability = Resolution<br>Resolution + Hard work = Success</div>
<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 8:12 PM, Luc Bourhis <span dir="ltr">&lt;<a href="mailto:luc_j_bourhis@mac.com" target="_blank">luc_j_bourhis@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 19 Mar 2013, at 11:09, prasun kumar wrote:<br>
<br>
&gt; [...]<br>
<div class="im">&gt;<br>
&gt; Is it possible for me. I am asking this question because I am completely new to the python.<br>
&gt; In PERL, you can make executable (lets say on any unix OS 64 bit comp) and it will work on any 64 bit computer with any type or version of LINUX/UNIX.<br>
&gt;<br>
&gt; I was more interested in the binary form, so that I can directly call it from my main program.<br>
<br>
</div>Just to make sure we are on the same page, I have got two questions.<br>
Is your main program written in C?<br>
If so, were you embedding a Perl interpreter in that program, so as to have access to OpenBabel?<br>
<br>
Best wishes,<br>
<br>
Luc<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>