<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><b>

</b><p style="margin-bottom:0in;font-style:normal;line-height:100%"><b>My
settings:</b></p><b>
</b><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%"><i>
</i></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%"><i>
</i></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>