[Wien] compilation error in lapw1_mpi
Gavin Abo
gsabo at crimson.ua.edu
Wed Jul 11 03:56:11 CEST 2012
Add "-lmpi" to your RP_LIBS. This should resolve the undefined ompi_mpi
references.
On 7/10/2012 5:26 AM, Laurence Marks wrote:
>
> Go directly to the link advisor page that Gavin gave and copy what it
> tells you to use.
>
> N.B. Wienk currently does not need the real fftw libraries (rfftw)
>
> ---------------------------
> Professor Laurence Marks
> Department of Materials Science and Engineering
> Northwestern University
> www.numis.northwestern.edu <http://www.numis.northwestern.edu>
> 1-847-491-3996
> "Research is to see what everybody else has seen, and to think what
> nobody else has thought"
> Albert Szent-Gyorgi
>
> On Jul 10, 2012 3:47 AM, "alpa dashora" <dashoralpa at gmail.com
> <mailto:dashoralpa at gmail.com>> wrote:
>
> Dear Wien2k user,
>
> Thank you very much for your reply. I have changed the OPTIONS as
> suggested by bu, but it still gives the same error message as earlier.
>
> Please suggest me.
>
> With kind regards,
>
> On Tue, Jul 10, 2012 at 1:32 PM, Gavin Abo <gsabo at crimson.ua.edu
> <mailto:gsabo at crimson.ua.edu>> wrote:
>
> 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
> <http://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 <mailto:Wien at zeus.theochem.tuwien.ac.at>
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> <mailto:Wien at zeus.theochem.tuwien.ac.at>
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
>
>
> --
> 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/53ab5134/attachment.htm>
More information about the Wien
mailing list