[Wien] compilation error in lapw1_mpi
Gavin Abo
gsabo at crimson.ua.edu
Wed Jul 11 12:06:38 CEST 2012
Is there an error message that "-lmpi" could not be found in the
compile.msg file? If it could not be found, then either the path to the
library has to be set in the Linux environment or specified in the
RP_LIBS line.
At least on my Debian system, "-lmpi" is the library libmpi.so.0 that is
part of the openmpi development libraries (which I installed according
to http://www.cs.ucsb.edu/~hnielsen/cs140/openmpi-install.html).
You should make sure that the libmpi libraries (libmpi.so.0, libmpi.a,
etc.) exists on your system. You will have to search your system, but I
believe they are located in /opt/openmpi-1.3/lib on your system.
If there was no error message that it could not be found, then the cmkl
10.0.1.014 on your system may not be compatible with openmpi 1.3 as
indicated on the Intel forum:
http://software.intel.com/en-us/forums/showthread.php?t=69104
In which case, you may need to use an openmpi 1.1.x or 1.2 version.
On 7/10/2012 11:07 PM, alpa dashora wrote:
> Dear Wien2k users,
>
> I have also tried -lmpi in RP_LIBS, but it still gives the same error.
> rgds,
>
> On Wed, Jul 11, 2012 at 7:26 AM, Gavin Abo <gsabo at crimson.ua.edu
> <mailto:gsabo at crimson.ua.edu>> wrote:
>
> 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 <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/20120711/db2df883/attachment.htm>
More information about the Wien
mailing list