<div dir="ltr"><div>Hello,<br><br>I am still not able to install this package. I have tried linking instead with a different OpenGL library, but I get the same results. If anyone can offer any advice on how to resolve the error, it would be much appreciated.<br><br></div>-Dan<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 1:43 PM, Dan Mazur <span dir="ltr"><<a href="mailto:daniel.mazur@mcgill.ca" target="_blank">daniel.mazur@mcgill.ca</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><div>Hello,<br><br></div>I have compiled the source distribution of xcrysden v 1.5.60 on CentOS 6.3 and the compilation and installation appears to proceed without errors.<br><br></div>When I run xcrysden, it briefly opens an X11 splash window, but then crashes with the following messages:<br><br>$ xcrysden <br><br>+-----------------------------------------------------------------+<br>|*****************************************************************|<br>|* *|<br>|* XCrySDen -- (X-Window) CRYstalline Structures and DENsities *|<br>|* = === = === *|<br>|*---------------------------------------------------------------*|<br>|* *|<br>|* Anton Kokalj (<a href="mailto:tone.kokalj@ijs.si" target="_blank">tone.kokalj@ijs.si</a>) *|<br>|* Jozef Stefan Institute, Ljubljana, Slovenia *|<br>|* *|<br>|* Copyright (c) 1996--2014 by Anton Kokalj *|<br>|* *|<br>|*****************************************************************|<br>+-----------------------------------------------------------------+<br><br> Version: 1.5.60<br><br> Please report bugs to: <a href="mailto:tone.kokalj@ijs.si" target="_blank">tone.kokalj@ijs.si</a><br><br><br> TERMS OF USE:<br> -------------<br> XCRYSDEN is released under the GNU General Public License.<br><br> Whenever graphics generated by XCRYSDEN are used in scientific<br> publications, it shall be greatly appreciated to include an explicit<br> reference. The preferred form is the following:<br><br> [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.<br> Code available from <a href="http://www.xcrysden.org/" target="_blank">http://www.xcrysden.org/</a>.<br><br>XCRYSDEN_TOPDIR=/software/CentOS-6/applications/xcrysden-1.5.60/share/xcrysden-1.5.60<br>XCRYSDEN_SCRATCH=/home/tfosrgm/xcrys_tmp<br><br>Running on platform : unix<br> Operating system : Linux<br>Package ImageMagick's convert: /usr/bin/convert<br>Package ImageMagick's import: /usr/bin/import<br>Package Ppmtompeg: /usr/bin/ppmtompeg<br>Package Xwd: /usr/bin/xwd<br>Executing: /software/CentOS-6/applications/xcrysden-1.5.60/lib/xcrysden-1.5.60/ftnunit<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 3<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 799<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 3<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 801<br>Error in startup script: Togl: couldn't get visual<br> while executing<br>"togl .mesa -width 400 -height 400 -ident .mesa -rgba true -redsize 1 -greensize 1 -blu..."<br> (procedure "PlaceGlobWin" line 105)<br> invoked from within<br>"PlaceGlobWin 0 [expr round(650 * $fac1)] [expr round(650 * $fac1)]"<br> (procedure "ViewMol" line 25)<br> invoked from within<br>"ViewMol ."<br> invoked from within<br>"if { [llength $argv] > 2 } {<br> parseComLinArg [lrange $argv 2 end]<br>} else {<br> ViewMol .<br>}"<br> (file "/software/CentOS-6/applications/xcrysden-1.5.60/share/xcrysden-1.5.60/Tcl/xcInit.tcl" line 609)<br>X Error of failed request: BadWindow (invalid Window parameter)<br> Major opcode of failed request: 12<br> ResourceID in failed request: 0xffffffff<br> Serial number of failed request: 804<br><br></div>I do not have problems with other OpenGL or X11 programs. I first tried linking against libraries (including mesa) on the system, but got this error. Then, I tried downloading and compiling the external libraries by activating the required flags in Make.sys. However, I again got the above error.<br><br></div>I am not sure of the reason for the error. If someone can help me to debug the issue and complete my installation of xcrysden, it would be appreciated.<span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><div><div><div><div><br></div><div>-Dan<br></div><div><br>
</div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------------------------------------<br>Dr. Dan Mazur | <a href="mailto:daniel.mazur@mcgill.ca">daniel.mazur@mcgill.ca</a> | <br><a href="mailto:dan.mazur@calculquebec.ca">dan.mazur@calculquebec.ca</a><br>Scientific Computing Analyst / Analyste en calcul scientifique<br>McGill HPC Centre / Centre de Calcul Haute Performance de McGill | <br><a href="http://www.hpc.mcgill.ca">http://www.hpc.mcgill.ca</a><br>Calcul Québec | <a href="http://www.calculquebec.ca">http://www.calculquebec.ca</a><br>Compute/Calcul Canada | <a href="http://www.computecanada.ca">http://www.computecanada.ca</a><br>Tel/Tél: 514-396-8928 | Fax/Télécopieur: 514-396-8934 <br> <br>------------------------------------------------------------------------<br><br>
</div></div></div></div></div>