<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Google found some info here: <a href="https://software.intel.com/en-us/forums/topic/485528">https://software.intel.com/en-us/forums/topic/485528</a></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
You are mixing MKL libraries for the x86-64 target in R_LIB with MKL libraries targeting the Intel Phi (MIC) co-processor in RP_LIB (those in $MKLROOT/lib/mic/). </div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Are you really targeting the Intel Phi co-processor? If not, you need to remove /mic/ from your RP_LIB library paths. If yes, I suspect you need to make use of the MKL link line advisor (<a href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor">https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor</a>)
to set some more options (there is at least a -mmic compiler directive that you would need to set).</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_sign_1412830647212864000" class="bloop_sign">
<div><font face="Helvetica"><span style="font-size: 12px;"><span style="line-height: normal; orphans: 2; widows: 2;">--</span><br style="line-height: normal; orphans: 2; widows: 2;">
<span style="line-height: normal; orphans: 2; widows: 2;">Eamon McDermott, M.Sc.</span><br style="line-height: normal; orphans: 2; widows: 2;">
<span style="line-height: normal; orphans: 2; widows: 2;">Institute of Materials Chemistry, TU Wien</span><br style="line-height: normal; orphans: 2; widows: 2;">
<span style="line-height: normal; orphans: 2; widows: 2;">eamon.mcdermott@tuwien.ac.at</span><br style="line-height: normal; orphans: 2; widows: 2;">
<span style="line-height: normal; orphans: 2; widows: 2;">Office: +43 (1) 58801-165304</span><br style="line-height: normal; orphans: 2; widows: 2;">
<span style="line-height: normal; orphans: 2; widows: 2;">Scheduling: http://doodle.com/eamon.mcdermott</span></span></font></div>
</div>
<br>
<p style="color:#000;">On October 9, 2014 at 5:44:34 AM, Yocefu Hattori (<a href="mailto:yhattori17@gmail.com">yhattori17@gmail.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq"><span>
<div>
<div></div>
<div>
<title></title>
<div dir="ltr">
<p style="margin-bottom:0in;font-style:normal;line-height:100%">Dear Wien2k users,</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">I'm having problems during compilation of lapw0 and lapw1 in parallel mode. As you can see below there are errors in incompatibility with 32bit, but I installed the ifort (intel composer xe 2013
sp1) compiler in 64 bit.</p>
<p style="margin-bottom:0in;line-height:100%"><b><br>
</b></p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><b>My settings:</b></p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%"><i>MKLROOT=/opt/intel/composer_xe_2013_sp1.2.144/mkl</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>MKL_TARGET_ARCH=intel64</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>Compiler options: -I$(MKLROOT)/include -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback -assume buffered_io</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>F FFTW options: -DFFTW3 -I/opt/fftw3/include</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>L Linker Flags: $(FOPT) -L$(MKLROOT)/lib/intel64 -pthread</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>P Preprocessor flags '-DParallel'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>R R_LIB (LAPACK+BLAS): -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>FL FFTW_LIBS: /opt/fftw3/lib/libfftw3_mpi.a /opt/fftw3/lib/libfftw3.a</i></p>
<p style="margin-bottom:0in;line-height:100%"></p>
<p style="margin-bottom:0in;line-height:100%"><i>RP RP_LIB(SCALAPACK+PBLAS): $(MKLROOT)/lib/mic/libmkl_scalapack_lp64.a -Wl,--start-group $(MKLROOT)/lib/mic/libmkl_intel_lp64.a $(MKLROOT)/lib/mic/libmkl_core.a $(MKLROOT)/lib/mic/libmkl_sequential.a -Wl,--end-group
$(MKLROOT)/lib/mic/libmkl_blacs_intelmpi_lp64.a -lpthread -lm</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>FP FPOPT(par.comp.options): -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback -assume buffered_io</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>MP MPIRUN commando : mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_</i></p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><b>Compile Errors:</b></p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%"><i>Compile time errors (if any) were:</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_intel_lp64.a(dftierrorclass_lp64.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_intel_lp64.a(dfti_error_class_external.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_core.a(_knc_transfer_ipp_mkl_error.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/compile.msg:make[1]: *** [lapw0_mpi] Error 1</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/compile.msg:make: *** [para] Error 2</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_intel_lp64.a(vml_error_iface.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_core.a(vml_errors.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:make[1]: *** [lapw1_mpi] Error 1</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:make: *** [rp] Error 2</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_intel_lp64.a(vml_error_iface.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:ld: k1om architecture of input file `/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_core.a(vml_errors.o)' is incompatible with i386:x86-64 output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:make[1]: *** [lapw1c_mpi] Error 1</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw1/compile.msg:make: *** [cp] Error 2</i></p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">I had those messages to:</p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.o: In function `fftw_parallel_mp_prepare_parallel_ffts_':</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0x41): undefined reference to `fftw_mpi_init'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0xbe): undefined reference to `fftw_mpi_local_size_3d_f03'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0xcd): undefined reference to `fftw_alloc_complex'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.o: In function `fftw_parallel_mp_c3fft_':</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0x11d4): undefined reference to `fftw_mpi_execute_dft'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0x2523): undefined reference to `fftw_mpi_execute_dft'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0x46f1): undefined reference to `fftw_mpi_plan_dft_3d_f03'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>fft_modules.F:(.text+0x5195): undefined reference to `fftw_mpi_plan_dft_3d_f03'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>ld: /opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic/libmkl_core.a(_knc_Iotensor.o)(.text+0xb99): unresolvable R_X86_64_PLT32 relocation against symbol `fflush@@GLIBC_2.2.5'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>ld: final link failed: Nonrepresentable section on output</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>make[1]: *** [lapw0_mpi] Error 1</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>make[1]: Leaving directory `/home/yhattori/WIEN2k_13/SRC_lapw0'</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>make: *** [para] Error 2</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>Copying programs</i></p>
<p style="margin-bottom:0in;line-height:100%"><i>SRC_lapw0/lapw0</i></p>
<p style="margin-bottom:0in;line-height:100%"></p>
<p style="margin-bottom:0in;line-height:100%"><i>done.</i></p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">For fftw3 (3.3.3) installation I used configure --prefix=/opt/fftw3 FC=ifort –enable-mpi</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">I've looked in the mailing list but I couldn't find a solution.<br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">All help would be appreciated.</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%">Yocefu Hattori.</p>
<p style="margin-bottom:0in;font-style:normal;line-height:100%"><br>
</p>
</div>
_______________________________________________ <br>
Wien mailing list <br>
Wien@zeus.theochem.tuwien.ac.at <br>
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien <br>
SEARCH the MAILING-LIST at: http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
<br>
</div>
</div>
</span></blockquote>
</body>
</html>