Dear Forum,<br><br>I am installing cp2k: the parallel version popt with mpich2-1.5 and  intel mkl.<br>with command"make -j 12 ARCH=Linux-x86-64-intel VERSION=popt"<br><br>But it can not find some lib, with error reports:  <br>
'''<br>...<br>ifort: command line remark #10279: option '-xW' is deprecated and will be removed in a future release. See '-help deprecated'<br>ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libscalapack.a'<br>
ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libblacs_init.a'<br>ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libblacs.a'<br>ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libacml.a'<br>
ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libacml_mv.a'<br>ifort: error #10236: File not found:  '/opt/intel/mkl/lib/intel64/libfftw3.a'<br>''' <br><br>The content of installation file  Linux-x86-64-intel.popt is appended bellow.<br>
I only add three lines on to the original file downloaded from web, without change anything else.<br>These three lines are:<br>'''<br>INTEL_MKL =/opt/intel/mkl<br>INTEL_INC = $(INTEL_MKL)/include/fftw<br>INTEL_LIB = $(INTEL_MKL)/lib/intel64<br>
'''<br><br>I can not find files of libblacs_init.a, libscalapack.a and others<br>on the directory of $INTEL_LIB (/opt/intel/mkl/lib/intel64/) on my machine.<br>Instead, I find libmkl_blacs_intelmpi_ilp64.a, libmkl_scalapack_ilp64.a and <br>
some others with name slight different.<br>I also attached the name of all the file contained in this $INTEL_LIB directory.<br><br>Any one could give hints.<br>Thank you very much.<br><br>WANG Riping<br>2012.10.29<br><br>
<br><br><br><br>content in installation file Linux-x86-64-intel.popt:<br>######################################################################################################<br># by default some intel compilers put temporaries on the stack<br>
# this might lead to segmentation faults is the stack limit is set to low<br># stack limits can be increased by sysadmins or e.g with ulimit -s 256000<br># furthermore new ifort (10.0?) compilers support the option<br># -heap-arrays 64<br>
# add this to the compilation flags is the other options do not work<br># The following settings worked for:<br># - AMD64 Opteron<br># - SUSE Linux Enterprise Server 10.0 (x86_64)<br># - Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 10.0.025<br>
# - AMD acml library version 3.6.0<br># - MPICH2-1.0.5p4<br># - SCALAPACK library          1.8.0<br>#<br>#<br><br>INTEL_MKL =/opt/intel/mkl<br>INTEL_INC = $(INTEL_MKL)/include/fftw<br>INTEL_LIB = $(INTEL_MKL)/lib/intel64<br>
<br><br>CC       = cc<br>CPP      = <br>FC       = mpif90 <br>LD       = mpif90<br>AR       = ar -r<br>DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3<br>CPPFLAGS = <br>FCFLAGS  = $(DFLAGS) -I$(INTEL_INC) -O3 -xW -heap-arrays 64 -funroll-loops -fpp -free<br>
FCFLAGS2 = $(DFLAGS) -I$(INTEL_INC) -O1 -xW -heap-arrays 64 -fpp -free<br>LDFLAGS  = $(FCFLAGS) -I$(INTEL_INC)<br>LIBS     = $(INTEL_LIB)/libscalapack.a \<br>           $(INTEL_LIB)/libblacs_init.a \<br>           $(INTEL_LIB)/libblacs.a \<br>
           $(INTEL_LIB)/libacml.a\<br>           $(INTEL_LIB)/libacml_mv.a \<br>           $(INTEL_LIB)/libfftw3.a<br><br>OBJECTS_ARCHITECTURE = machine_intel.o<br><br><br>graphcon.o: graphcon.F<br>    $(FC) -c $(FCFLAGS2) $<<br>
<br>######################################################################################################<br><br><br><br><br>files in INTEL_LIB (/opt/intel/mkl//lib/intel64): <br>#################################################################################<br>
libmkl_avx2.so<br>libmkl_avx.so<br>libmkl_blacs_ilp64.a<br>libmkl_blacs_intelmpi_ilp64.a<br>libmkl_blacs_intelmpi_ilp64.so<br>libmkl_blacs_intelmpi_lp64.a<br>libmkl_blacs_intelmpi_lp64.so<br>libmkl_blacs_lp64.a<br>libmkl_blacs_openmpi_ilp64.a<br>
libmkl_blacs_openmpi_lp64.a<br>libmkl_blacs_sgimpt_ilp64.a<br>libmkl_blacs_sgimpt_lp64.a<br>libmkl_blas95_ilp64.a<br>libmkl_blas95_lp64.a<br>libmkl_cdft_core.a<br>libmkl_cdft_core.so<br>libmkl_core.a<br>libmkl_core.so<br>
libmkl_def.so<br>libmkl_gf_ilp64.a<br>libmkl_gf_ilp64.so<br>libmkl_gf_lp64.a<br>libmkl_gf_lp64.so<br>libmkl_gnu_thread.a<br>libmkl_gnu_thread.so<br>libmkl_intel_ilp64.a<br>libmkl_intel_ilp64.so<br>libmkl_intel_lp64.a<br>libmkl_intel_lp64.so<br>
libmkl_intel_sp2dp.a<br>libmkl_intel_sp2dp.so<br>libmkl_intel_thread.a<br>libmkl_intel_thread.so<br>libmkl_lapack95_ilp64.a<br>libmkl_lapack95_lp64.a<br>libmkl_mc3.so<br>libmkl_mc.so<br>libmkl_p4n.so<br>libmkl_pgi_thread.a<br>
libmkl_pgi_thread.so<br>libmkl_rt.so<br>libmkl_scalapack_ilp64.a<br>libmkl_scalapack_ilp64.so<br>libmkl_scalapack_lp64.a<br>libmkl_scalapack_lp64.so<br>libmkl_sequential.a<br>libmkl_sequential.so<br>libmkl_vml_avx2.so<br>
libmkl_vml_avx.so<br>libmkl_vml_cmpt.so<br>libmkl_vml_def.so<br>libmkl_vml_mc2.so<br>libmkl_vml_mc3.so<br>libmkl_vml_mc.so<br>libmkl_vml_p4n.so<br>locale<br>#################################################################################<br>
<br clear="all"><br>-- <br><div>******************************************************************************<br>WANG Riping<br>Ph.D student, </div>
<div>Institute for Study of the Earth's Interior,Okayama University,<br>827 Yamada, Misasa, Tottori-ken 682-0193, Japan<br>Tel: +81-858-43-3739(Office), +81-858-43-1215(Inst)</div>
<div>E-mail: <a href="mailto:wang.ri...@gmail.com" target="_blank">wang.ri...@gmail.com</a><br>******************************************************************************<br><br><br></div><br>