<P>I have installed the latest Intel Fortran Complier (v9.0.021), Intel C++ Complier (v9.0.021), and Intel Math Kernel Library (v7.2.1.003) on my CentOS4 (a clone package of RHEL4). My computer processor is athlon K5 1050Mhz. I wonder if there is any problem in the CPMD-3.9.2 Makefile below for my computer, or is there any tips to optimize this configuration?<BR></P>
<P><BR>#<BR>SHELL = /bin/sh<BR>#<BR>#--------------- Default Configuration for PC-IFC ---------------<BR>SRC = .<BR>DEST = .<BR>BIN = .<BR>#QMMM_FLAGS = -D__QMECHCOUPL<BR>#QMMM_LIBS = -L. -lmm<BR>FFLAGS = -c -r8 -O3 -pc64 -xW -tpp6 -unroll -cm -tune pn3 -w90 -w95<BR>LFLAGS = -lsvml -L/opt/intel/mkl721/lib/32/ -lmkl_lapack -lmkl_ia32 -Vaxlib /opt/intel/mkl721/lib/32/libguide.a -lpthread $(QMMM_LIBS)<BR>CFLAGS = -c -O2 -Wall<BR>CPP = /lib/cpp -P -C -traditional<BR>CPPFLAGS = -D__Linux -D__PGI -DFFT_DEFAULT -DLINUX_IFC -DINTEL_MKL<BR>NOOPT_FLAG = <BR>CC = icc -c -O<BR>FC = ifc <BR>LD = ifc<BR>AR = ar<BR>#----------------------------------------------------------------------------</P>
<P> </P>
<P>Besides, I have changed the util.F file around line 550 from:<BR><BR>#if !(defined(__SGI)) && !(defined(__HP)) && !(defined(LINUX_IA64_INTEL))<BR><BR>to:<BR><BR>#if !(defined(__SGI)) && !(defined(__HP)) && !(defined(LINUX_IFC))<BR><BR></P>
<P>p.s. Would it be better if using -lmkl_lapack rather than -lmkl_lapack32, and -lmkl_ia32 rather than -lmkl_p3 in LFLAGS here? Indeed, I am a little confused about the settings for FFLAGS and LFLAGS. Is there any detailed parameter setting description of the two flags, respectively for specific computer processor and compile environment?</P>
<P>Many thanks!</P><p>
                <hr size=1>DO YOU YAHOO!?<br>
<a href="http://cn.mail.yahoo.com" target=blank>
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱</a>