[xcrysden] problem in compiling Xcrysden

محمد ارشد فرحان arshadfarhan at hotmail.com
Tue Mar 13 09:27:35 CET 2012


Dear Prof. Kokalj,thank you very much for your help.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).the error reads:"*** glibc detected *** /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys: free(): invalid next size (normal): 0x000000001bf55700 ***
======= Backtrace: =========
/lib64/libc.so.6[0x30c787245f]
/lib64/libc.so.6(cfree+0x4b)[0x30c78728bb]
/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x4719ca]
/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x48b15d]
/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x49119e]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclInvokeStringCommand+0x6f)[0x2ac97999efbf]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_EvalObjv+0x43)[0x2ac9799a1393]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclEvalObjEx+0x390)[0x2ac9799a17f0]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac979a23321]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799e2d70]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(TclObjInterpProcCore+0x11d)[0x2ac979a229ad]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a01b9]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so[0x2ac9799a0e16]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_EvalEx+0x16)[0x2ac9799a1196]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_BindEvent+0x802)[0x2ac97966cda2]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac9796ae94d]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac9796af5af]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_HandleEvent+0x544)[0x2ac979677a24]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so[0x2ac979677ce0]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_ServiceEvent+0x5d)[0x2ac979a1451d]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtcl8.5.so(Tcl_DoOneEvent+0x8e)[0x2ac979a1478e]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_MainLoop+0x1b)[0x2ac97967724b]
/home/mafarhan/programs/xcrysden-1.5.53/external/lib/libtk8.5.so(Tk_MainEx+0x357)[0x2ac979684827]
/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x40cb8a]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x30c781d994]
/home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys[0x40bf59]
======= Memory map: ========
00400000-004d9000 r-xp 00000000 08:11 3758224213                         /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys
006d9000-006de000 rw-p 000d9000 08:11 3758224213                         /home/mafarhan/programs/xcrysden-1.5.53/bin/xcrys
006de000-00747000 rw-p 006de000 00:00 0 
1b580000-1d4de000 rw-p 1b580000 00:00 0                                  [heap]
30c7000000-30c701c000 r-xp 00000000 08:01 12747083                       /lib64/ld-2.5.so
30c721c000-30c721d000 r--p 0001c000 08:01 12747083                       /lib64/ld-2.5.so
30c721d000-30c721e000 rw-p 0001d000 08:01 12747083                       /lib64/ld-2.5.so
30c7800000-30c794e000 r-xp 00000000 08:01 12747084                       /lib64/libc-2.5.so
30c794e000-30c7b4e000 ---p 0014e000 08:01 12747084                       /lib64/libc-2.5.so
30c7b4e000-30c7b52000 r--p 0014e000 08:01 12747084                       /lib64/libc-2.5.so
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"
 please help me in this regard.thanking you in anticipation.Regards,M. Arshad Farhan  > From: tone.kokalj at ijs.si
> To: xcrysden at democritos.it
> Date: Mon, 12 Mar 2012 21:46:53 +0100
> Subject: Re: [xcrysden] problem in compiling Xcrysden
> 
> On Mon, 2012-03-12 at 12:35 +0900, محمد ارشد فرحان wrote:
> > Dear Prof. Kokalj,
> > i compiled the libraries you told me to but i'm stuck for meschach
> > library.
> > when i tarred the package, there were many pre-compiled files.
> > i copied the header files &
> > library into /XCrySDen-1.5.24-src-all/external/include/ 
> > and
> > /XCrySDen-1.5.24-src-all/external/lib
> > 
> > directories and tried to compile the package again.
> > it gave me this error & i defined the value of pi  as suggested by you
> > to the questioner (from a previous thread of yours ;
> > http://www.democritos.it/pipermail/xcrysden/2012-January/001071.html)
> >  
> > now it gives the following error:
> >  
> > "       -o xcrys   -ltk8.5
> > -L/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/lib
> > -ltcl8.5 -lGLU -lGL -lXmu -lX11 -lXext -lm 
> > fft3d.o: In function `fft3d_interpolate':
> > fft3d.c:(.text+0x4a9): undefined reference to `fftw_malloc'
> 
> Add the -lfftw3 to some ***_LIB variable in Make.sys
> 
> Alternatively, consider compiling the newest version instead:
> http://www.xcrysden.org/download/xcrysden-1.5.53.tar.gz
> 
> The compilation procedure has been improved and compilation should be
> smoother. Use the ./system/Make.sys-semishared as a Make.sys, i.e.:
> 
> 1. cp system/Make.sys-semishared Make.sys
> 2. $EDITOR Make.sys ([optional]; EDITOR is an editor of your choice)
> 3. make all
> 
> Regards, Tone
> 
> -- 
> Anton Kokalj
> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
> (tel: +386-1-477-3523 // fax:+386-1-477-3822)
> 
> Please, if possible, avoid sending me Word or PowerPoint attachments.
> See:  http://www.gnu.org/philosophy/no-word-attachments.html
> 
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20120313/ba1e4667/attachment-0001.htm 


More information about the XCrySDen mailing list