[Wien] compilation error in lapw1_mpi

Gavin Abo gsabo at crimson.ua.edu
Tue Jul 10 10:02:24 CEST 2012


The link advisor 
(http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/) 
settings with MKL 10.0, Linux, Intel 64, Fortran, Static, LP64, 
Sequential, Scalapack, and Open MPI:

$(MKLROOT)/lib/em64t/libmkl_scalapack_lp64.a 
$(MKLROOT)/lib/em64t/libmkl_solver_lp64_sequential.a *-Wl,--start-group* 
$(MKLROOT)/lib/em64t/libmkl_intel_lp64.a 
$(MKLROOT)/lib/em64t/libmkl_sequential.a 
$(MKLROOT)/lib/em64t/libmkl_core.a 
$(MKLROOT)/lib/em64t/libmkl_blacs_openmpi_lp64.a *-Wl,--end-group 
-lpthread -lm*

suggest that your RP_LIBS settings may need to be:

current:RP_LIBS:-L/opt/intel/cmkl/10.0.1.014/lib/em64t 
-lmkl_scalapack_lp64 -lmkl_solver_lp64_sequential *-Wl,--start-group* 
-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_openmpi_lp64 
*-Wl,--end-group* *-lpthread -lm* -L/opt/fftw-2.1.5/lib/lib/ -lfftw_mpi 
-lrfftw_mpi -lfftw -lrfftw

On 7/9/2012 11:02 PM, alpa dashora wrote:
> Dear Prof. Blaha and Wien2k users,
>
> I am trying to install Wien2k_11.5 in parallel mode on a 8 processors 
> server. On compilation, it gives the error in lapw1_mpi as follows:
>
> /opt/intel/cmkl/10.0.1.014/lib/em64t/libmkl_blacs_openmpi_lp64.a(igesd2d_.o) 
> <http://10.0.1.014/lib/em64t/libmkl_blacs_openmpi_lp64.a%28igesd2d_.o%29>: 
> In function `igesd2d_':
>
> _igesd2d_.c:(.text+0x43): undefined reference to `ompi_mpi_int'
>
> _igesd2d_.c:(.text+0x95): undefined reference to `ompi_mpi_byte'
>
> with so many lines.
>
> The OPTIONS file is as follows:
>
> current:FOPT:-FR -O3 -mp1 -w -prec_div -pc80 -pad -ip -traceback 
> -l/opt/openmpi/include
> current:FPOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -traceback
> current:LDFLAGS:-L/root/WIEN2k_11/SRC_lib 
> -L/opt/intel/cmkl/10.0.1.014/lib/em64t <http://10.0.1.014/lib/em64t> 
> -lmkl_em64t -lmkl_blacs_openmpi_lp64 -lmkl_solver -lguide -lpthread
> current:DPARALLEL:'-DParallel'
> current:R_LIBS:-L/opt/intel/cmkl/10.0.1.014/lib/em64t 
> <http://10.0.1.014/lib/em64t> -lmkl_scalapack_lp64 
> -lmkl_solver_lp64_sequential -lmkl_intel_lp64 -lmkl_sequential 
> -lmkl_core -lmkl_blacs_openmpi_lp64 -L/opt/fftw-2.1.5/lib/lib/ 
> -lfftw_mpi -lrfftw_mpi -lfftw -lrfftw
> current:RP_LIBS:-L/opt/intel/cmkl/10.0.1.014/lib/em64t 
> <http://10.0.1.014/lib/em64t> -lmkl_scalapack_lp64 
> -lmkl_solver_lp64_sequential -lmkl_intel_lp64 -lmkl_sequential 
> -lmkl_core -lmkl_blacs_openmpi_lp64 -L/opt/fftw-2.1.5/lib/lib/ 
> -lfftw_mpi -lrfftw_mpi -lfftw -lrfftw
> current:MPIRUN:/opt/openmpi/1.3/bin/mpirun -v -n_NP_ _EXEC_
>
> Please tell me how to reduce this error.
>
> *Note:* I am able to run the program with single processor.
>
> Thanks in advance.
>
> With kind regards,
>
> -- 
> Dr. Alpa Dashora
>
>
>
> -- 
> Alpa Dashora
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20120710/6969f7d9/attachment.htm>


More information about the Wien mailing list