<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2723.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT face=Arial size=2>Dear Lu,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much for sending the file. Mine is
almost the same but adapted for ifc6. The compiling job of the code has been
done before.</FONT></DIV>
<DIV><FONT face=Arial size=2>One question:</FONT></DIV>
<DIV><FONT face=Arial size=2>Do you mean that ifc7+MKL does not need any changes
in</FONT></DIV>
<DIV><FONT face=Arial size=2>"make.sys" and "/include/machine.h" except for
adding "-lguide" and your own "fftw.a"-path?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial
size=2>
Mahmoud</FONT></DIV>
<DIV> </DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
face="Times New Roman">Dear Mahmoud,<BR><BR>I found you are still troubled in
installation steps ( Intel Compiler). <BR><BR>So I upload my setup for
you.<BR><BR>Here is my system's configuration:<BR><BR>CPU = Intel
P4<BR>Os = Linux RedHat 8.0<BR>Compilier = Intel Compiler 7.0<BR>Intel
Mathematical Kernel Library Ver.5.2<BR>FFTW = Precompiled by DFTGWA group for
Intel P4 exclusive and Intel Compiler <BR><BR>Here is my file(
make.sys):<BR><BR>OSHOME=/home/lucre/pwscf<BR>#<BR># System-dependent Make
definitions for Linux, Intel compiler (v.5-6)<BR># Edit according to your
needs<BR>#<BR># add -DMKL if using the Intel Mathematical Kernel Library<BR>#
Add -DADD_BLAS_ONE_UNDERSCORE if your blas/lapack library names contain <BR>#
two underscores at the end<BR># Define FFTW library names with one underscore
less than they have in<BR># the library (one underscore is added by the
compiler)<BR>#<BR>CPPFLAGS = -I$(OSHOME)/include/ -DPC -DMKL -DFFTW
\<BR>
-D"FFTWND_F77_ONE=fftwnd_f77_one"
\<BR>
-D"FFTW3D_F77_CREATE_PLAN=fftw3d_f77_create_plan"
\<BR>
-D"FFTW_F77=fftw_f77"
\<BR>
-D"FFTW_F77_CREATE_PLAN=fftw_f77_create_plan"<BR>#<BR># Fortran
compiler:<BR>#<BR>F90 = ifc<BR>#<BR># fortran options:<BR>#
-Vaxlib enables the use of
portability libraries
(getarg<BR>#
and maybe other library calls)<BR>#
-W0
disable warnings<BR>#
-O3
more aggressive optimization<BR>#
-tpp5
Pentium optimization<BR>#
-tpp6 Pentium Pro,
2, 3 optimization<BR>#
-tpp7 Pentium
4 optimization<BR>#<BR>FFLAGS =-Vaxlib -O2 -tpp7 -w<BR><BR>F90FLAGS=
$(FFLAGS) -fpp $(CPPFLAGS)<BR>#<BR># This is needed to tell the compiler where
modules are<BR># use this for version < 7<BR># MODULEFLAG=
-cl,./intel.pcl<BR># use this for version = 7<BR>MODULEFLAG= -nomodule -I
$(OSHOME)/Modules -I$(OSHOME)/PW -I$(OSHOME)/PH<BR>#<BR># Loader:<BR>#<BR>#
The following is for Intel MKL libraries v. 5.1 on Pentium-4<BR># (remember
-DMKL in CPPFLAGS !)<BR># For MKL v. 5.2, add "-lguide"<BR># Use libmkl_p3 for
Pentium-3, libmkl_p4.a for Pentium-4 machines <BR># (MKL will likely not work
for other CPUs like Athlon)<BR>#<BR>LIBS= /home/lucre/ecal/fftw/libfftw.a
/opt/intel/mkl/lib/32/libmkl_lapack.a \<BR>
/opt/intel/mkl/lib/32/libmkl_p4.a -lguide -lpthread<BR>#<BR># The following is
for Atlas optimized blas/lapack libraries<BR># You may not actually need
-lcblas . See the manual for details<BR># on how to fix I/O incompatibility
problems with ifc<BR>#<BR># LIBS = -lfftw -L$(HOME)/Linux_ATHLON256/ -llapack
-lf77blas -lcblas -latlas<BR>#<BR>LD=$(F90)<BR>LFLAGS = -Vaxlib
$(LIBS)<BR><BR>#<BR># ar:<BR>#<BR>AR = ar<BR>ARFLAGS =
ruv<BR><BR><BR><BR><BR>Have funs for
PWscf,<BR><BR>=======================================================<BR>Lu
Fu-Fa, Doctoral Student, E-mail: g930102@ccit.edu.tw<BR>Semiconductors Lab.,
Dept. of Applied Physics<BR>Chung Cheng Institute of Technology (CCIT),
Taiwan<BR>=======================================================</FONT>
</BLOCKQUOTE></BODY></HTML>