<div dir="ltr">Try removing the '<span style="font-family:"Courier New"">-heap-arrays 64 -fpp -free' <font face="arial,sans-serif">compiler flags from the </font></span>FCFLAGS and FCFLAGS2 options. The accepted compiler flags depend on the version of the compiler that you are using. You can check the Intel documentation for the specific version of the compiler that you are using to determine which optimization flags to include in your arch file.<br><br>On Wednesday, April 16, 2014 12:15:02 PM UTC-4, Kalpna Jain wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear sir,<br>I am trying to install cp2k on my PC.<br>First I have installed Intel fortran compiler with fftw3f bulid also.<br>Then I installed openmpi 1.6.4 using<br> ./configure  cc=icc cxx=icpc f77=ifort --prefix="NAME OF DIRECTORY"<br>make<br>make install<br><br>then I put the path of openmpi bin and lib in .bashrc file with the help of echo command.<br><br>When I tried to install cp2k,It is giving errors:<br>no file or directory 64.<br>unrecognized command line -heap arrays<br>unrecognized command line -fpp<br>unrecognized command line -free<br><br>Can you suggest me the source of these errors.<br><br>The arch file that I am using is below:<br><br>

<p><span style="font-family:"Courier New"">CC<span>       </span>= cc</span></p>

<p><span style="font-family:"Courier New"">CPP<span>      </span>= </span></p>

<p><span style="font-family:"Courier New"">FC<span>       </span>= mpif90 </span></p>

<p><span style="font-family:"Courier New"">LD<span>       </span>= mpif90</span></p>

<p><span style="font-family:"Courier New"">AR<span>       </span>= ar -r</span></p>

<p><span style="font-family:"Courier New"">INTEL_MKL=/opt/intel/composer_<wbr>xe_2011_sp1.8.273/mkl/</span></p>

<p><span style="font-family:"Courier New"">INTEL_INC=$(INTEL_MKL)/<wbr>include/fftw</span></p>

<p><span style="font-family:"Courier New"">INTEL_LIB=$(INTEL_MKL)/lib/<wbr>intel64</span></p>

<p><span style="font-family:"Courier New"">DFLAGS<span>   </span>= -D__INTEL -D__FFTSG -D__parallel -D__BLACS
-D__SCALAPACK -D__FFTW3</span></p>

<p><span style="font-family:"Courier New"">CPPFLAGS = </span></p>

<p><span style="font-family:"Courier New"">FCFLAGS<span>  </span>= $(DFLAGS) -I$(INTEL_INC) -O3 -msse2
-heap-arrays 64 -funroll-loops -fpp -free</span></p>

<p><span style="font-family:"Courier New"">FCFLAGS2 =
$(DFLAGS) -I$(INTEL_INC) -O1 -msse2 -heap-arrays 64 -fpp -free</span></p>

<p><span style="font-family:"Courier New"">LDFLAGS<span>  </span>= $(FCFLAGS) -I$(INTEL_INC)</span></p>

<p><span style="font-family:"Courier New"">LIBS<span>     </span>= -L$(INTEL_LIB) -lfftw3xf_gnu \</span></p>

<p><span style="font-family:"Courier New""><span>           </span>-L${INTEL_LIB} -I${INTEL_INC}
-I${INTEL_INC}/intel64/lp64 -lmkl_blas95_lp64 \</span></p>

<p><span style="font-family:"Courier New""><span>           </span>-L${INTEL_LIB} -I${INTEL_INC}
-I${INTEL_INC}/intel64/lp64 -lmkl_lapack95_lp64 \</span></p>

<p><span style="font-family:"Courier New""><span>           </span>${INTEL_LIB}/libmkl_scalapack_<wbr>lp64.a
${INTEL_LIB}/libmkl_solver_<wbr>lp64_sequential.a -Wl,--start-group
${INTEL_LIB}/libmkl_intel_<wbr>lp64.a ${INTEL_LIB}/libmkl_<wbr>sequential.a
${INTEL_LIB}/libmkl_core.a ${INTEL_LIB}/libmkl_blacs_<wbr>intelmpi_lp64.a
${INTEL_LIB}/libmkl_blacs_<wbr>intelmpi_lp64.so -Wl,--end-group -lpthread</span></p>

<p><span style="font-family:"Courier New""></span></p>

<p><span style="font-family:"Courier New"">OBJECTS_ARCHITECTURE
= machine_intel.o</span></p><p><span style="font-family:"Courier New""></span></p>

<p><span style="font-family:"Courier New"">graphcon.o:
graphcon.F</span></p>

<p><span style="font-family:"Courier New""><span>      </span>$(FC) -c $(FCFLAGS2) $<</span></p>

<p><span style="font-family:"Courier New"">qs_vxc_atom.o:
qs_vxc_atom.F</span></p>

<span><span>      </span>$(FC) -c $(FCFLAGS2) $<</span><br><br><br>Thanking you,<br>Kalpna Jain<br></div></blockquote></div>