Dear all<br><br>I am new to xcrysden and pwscf. I tried to compile
xcrysden-1.5.21-src-all on the fc11(i586) system. The FC is ifort10 and
gcc is icc10<br><br>but when I type 'make all', it reported the error:<br><br>
make[2]: *** [linux] Error 1<br>mv: cannot move `/home/jy/Download/XCrySDen-1.<div id=":8p" class="ii gt">5.21-src-all/external/usr/local/lib/pkgconfig' to `/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/pkgconfig': Directory not empty<br>
mv: cannot move `/home/jy/Download/XCrySDen-1.5.21-src-all/external/usr/local/include/GL' to `/home/jy/Download/XCrySDen-1.5.21-src-all/external/include/GL': Directory not empty<br><br><br>and my Make.sys is:<br>
#########################################################################<br>
#<br># System-dependent definitions for Linux.<br>#<br># EDIT ACCORDING TO YOUR OWN NEEDS !!!<br>#<br>########################################################################<br><br>#------------------------------------------------------------------------<br>
# if you have a GNU make it is better to set the MAKE variable to point<br># to gnu make<br>#------------------------------------------------------------------------<br>MAKE = make<br><br>#------------------------------------------------------------------------<br>
# compilers & flags<br>#------------------------------------------------------------------------<br>CFLAGS = -ansi -funroll-loops -fPIC -DUSE_FONTS <br>CC = icc<br>#LDLIB = -ldl<br>MATH = -lm<br><br>FFLAGS = -O2<br>
FC = ifort<br><br>#-------------------------------------------<br>#debug options<br>#CFLAGS = -ansi -g -fPIC<br>#-------------------------------------------<br><br><br>#------------------------------------------------------------------------<br>
# X-libraries & include files<br>#<br># for STATIC compilation one should add: -lpthread<br>#------------------------------------------------------------------------<br>X_LIB = -L/usr/X11R6/lib -lXmu -lX11 -lXext<br>
X_INCDIR = -I/usr/X11R6/include<br><br><br>###<br>### use EITHER THIS:<br>###<br><br>#-Possibility-1----------------------------------------------------------<br>#<br># If you want to use your own libraries and include files,<br>
# then set *_LIB and *_INCDIR variables below accordingly:<br>#<br>#------------------------------------------------------------------------<br><br>#COMPILE_TCLTK = no<br>#COMPILE_MESA = no<br><br>#<br># Libraries<br>#<br>
#TK_LIB = -ltk8.5<br>#TCL_LIB = -ltcl8.5<br>#GLU_LIB = -lGLU<br>#GL_LIB = -lGL<br><br>#<br># Include directories<br>#<br>#TCL_INCDIR = <br>#TK_INCDIR = <br>#GL_INCDIR = <br><br>#------------------------------------------------------------------------<br>
<br>###<br>### or THAT:<br>###<br><br><br>#-Possibility-2----------------------------------------------------------- <br>#<br># XCRYSDEN package may contain the tcl, tk & Mesa sources !!!<br># If you would like to compile and use these then uncomment below lines and<br>
# comment lines "Possibility-1" (see above).<br>#<br>#------------------------------------------------------------------------<br><br> COMPILE_TCLTK = yes<br> COMPILE_MESA = yes<br># <br># #<br># # Do we want a shared library version of Tcl/Tk/Mesa or static?<br>
# # If we want shared then set the following flags to: --enable-shared<br># # else set the following flag to: --disable-shared<br># #<br> TCLTK_OPTIONS = --enable-shared<br> MESA_TARGET = linux<br># <br># #<br>
# # Libraries (dynamic loading)<br># # for shared linking the libraries postfix should be .so<br># # for static linking the libraries postfix should be .a<br># #<br> TCL_LIB = -L$(TOPDIR)/external/lib -ltcl$(TCL_VER2)<br>
TK_LIB = -L$(TOPDIR)/external/lib -ltk$(TCL_VER2)<br> GLU_LIB = -L$(TOPDIR)/external/lib -lGLU<br> GL_LIB = -L$(TOPDIR)/external/lib -lGL<br># <br># #<br># # Include directories<br># #<br> TCL_INCDIR = -I$(TOPDIR)/external/src/tcl$(TCL_VER3)/generic<br>
TK_INCDIR = -I$(TOPDIR)/external/src/tk$(TCL_VER3)/generic<br> GL_INCDIR = -I$(TOPDIR)/external/include <br><br>#------------------------------------------------------------------------<br><br><br>Could anybody help me to find out what's wrong with it? Thanks<br>
</div><br clear="all"><br>-- <br>Sincerely yours<br><br>Jiaye Li<br><br>