<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dear Prof. Kokalj,<BR>thank you very much for your help.<BR>i had successfully compiled Xcrysden-1.5.53 ; however when i executed the program for FERMI SURFACE rendering, it crashed just like the previous version (the reason why i started to compile it again).<BR>the error reads:<BR>"<font style="font-size: 8pt;" size="1" face="Courier New">*** glibc detected *** /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys: free(): invalid next size (normal): 0x000000001bf55700 ***<br>======= Backtrace: =========<br>/lib64/libc.so.6[0x30c787245f]<br>/lib64/libc.so.6(cfree+0x4b)[0x30c78728bb]<br>/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x4719ca]<br>/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x48b15d]<br>/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x49119e]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclInvokeStringCommand+0x6f)[0x2ac97999efbf]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_EvalObjv+0x43)[0x2ac9799a1393]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclEvalObjEx+0x390)[0x2ac9799a17f0]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac979a23321]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a0e16]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_EvalEx+0x16)[0x2ac9799a1196]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_BindEvent+0x802)[0x2ac97966cda2]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac9796ae94d]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac9796af5af]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_HandleEvent+0x544)[0x2ac979677a24]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac979677ce0]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_ServiceEvent+0x5d)[0x2ac979a1451d]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_DoOneEvent+0x8e)[0x2ac979a1478e]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_MainLoop+0x1b)[0x2ac97967724b]<br>/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_MainEx+0x357)[0x2ac979684827]<br>/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x40cb8a]<br>/lib64/libc.so.6(__libc_start_main+0xf4)[0x30c781d994]<br>/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x40bf59]<br>======= Memory map: ========<br>00400000-004d9000 r-xp 00000000 08:11 3758224213 /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys<br>006d9000-006de000 rw-p 000d9000 08:11 3758224213 /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys<br>006de000-00747000 rw-p 006de000 00:00 0 <br>1b580000-1d4de000 rw-p 1b580000 00:00 0 [heap]<br>30c7000000-30c701c000 r-xp 00000000 08:01 12747083 /lib64/ld-2.5.so<br>30c721c000-30c721d000 r--p 0001c000 08:01 12747083 /lib64/ld-2.5.so<br>30c721d000-30c721e000 rw-p 0001d000 08:01 12747083 /lib64/ld-2.5.so<br>30c7800000-30c794e000 r-xp 00000000 08:01 12747084 /lib64/libc-2.5.so<br>30c794e000-30c7b4e000 ---p 0014e000 08:01 12747084 /lib64/libc-2.5.so<br>30c7b4e000-30c7b52000 r--p 0014e000 08:01 12747084 /lib64/libc-2.5.so<br>30c7b52000-30c7b53000 rw-p 00152000 08:0/home/mafarhan/programs/xcrysden-1.5.53/xcrysden: line 233: 13879 Aborted ${XCRYSDEN_XCRYS_DIR}/xcrys ${XCRYSDEN_TOPDIR}/Tcl/xcInit.tcl $USE -- $XCRYSDEN_TOPDIR $XCRYSDEN_SCRATCH "$@" > /dev/null</font>"<br> <BR>please help me in this regard.<BR>thanking you in anticipation.<BR>Regards,<BR>M. Arshad Farhan<BR> <BR> <BR><div><div id="SkyDrivePlaceholder"></div>> From: tone.kokalj@ijs.si<br>> To: xcrysden@democritos.it<br>> Date: Mon, 12 Mar 2012 21:46:53 +0100<br>> Subject: Re: [xcrysden] problem in compiling Xcrysden<br>> <br>> On Mon, 2012-03-12 at 12:35 +0900, εΝεΟ ΗΡΤΟ αΡΝΗζ wrote:<br>> > Dear Prof. Kokalj,<br>> > i compiled the libraries you told me to but i'm stuck for meschach<br>> > library.<br>> > when i tarred the package, there were many pre-compiled files.<br>> > i copied the header files &<br>> > library into /XCrySDen-1.5.24-src-all/external/include/ <br>> > and<br>> > /XCrySDen-1.5.24-src-all/external/lib<br>> > <br>> > directories and tried to compile the package again.<br>> > it gave me this error & i defined the value of pi as suggested by you<br>> > to the questioner (from a previous thread of yours ;<br>> > http://www.democritos.it/pipermail/xcrysden/2012-January/001071.html)<br>> > <br>> > now it gives the following error:<br>> > <br>> > " -o xcrys -ltk8.5<br>> > -L/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/lib<br>> > -ltcl8.5 -lGLU -lGL -lXmu -lX11 -lXext -lm <br>> > fft3d.o: In function `fft3d_interpolate':<br>> > fft3d.c:(.text+0x4a9): undefined reference to `fftw_malloc'<br>> <br>> Add the -lfftw3 to some ***_LIB variable in Make.sys<br>> <br>> Alternatively, consider compiling the newest version instead:<br>> http://www.xcrysden.org/download/xcrysden-1.5.53.tar.gz<br>> <br>> The compilation procedure has been improved and compilation should be<br>> smoother. Use the ./system/Make.sys-semishared as a Make.sys, i.e.:<br>> <br>> 1. cp system/Make.sys-semishared Make.sys<br>> 2. $EDITOR Make.sys ([optional]; EDITOR is an editor of your choice)<br>> 3. make all<br>> <br>> Regards, Tone<br>> <br>> -- <br>> Anton Kokalj<br>> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia <br>> (tel: +386-1-477-3523 // fax:+386-1-477-3822)<br>> <br>> Please, if possible, avoid sending me Word or PowerPoint attachments.<br>> See: http://www.gnu.org/philosophy/no-word-attachments.html<br>> <br>> _______________________________________________<br>> XCrySDen mailing list<br>> XCrySDen@democritos.it<br>> http://www.democritos.it/mailman/listinfo/xcrysden<br></div>                                            </div></body>
</html>