Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Cluster FFT problem

angelgutlop
Beginner
521 Views

Hello:

I am developing a MPI applicationusing the Intel Fortran compiler that implemet a cluster FFT subroutine for a X86 system. I have included in the project thelibraries that contain the functions for the parallel FFT (mkl_cdft.lib) as the mpi routines included in windows HPC ( msmpi.lib msmpifes.lib, etc). after compiling the project the linker retuns the following messages, refered to the mkl_blacs_mpich2. library. Any idea???

1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Allgather sin resolver al que se hace referencia en la funcin _MKL_Allgather
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Allreduce sin resolver al que se hace referencia en la funcin _MKL_Allreduce
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Barrier sin resolver al que se hace referencia en la funcin _MKL_Barrier
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Bcast sin resolver al que se hace referencia en la funcin _MKL_Bcast
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Comm_compare sin resolver al que se hace referencia en la funcin _MKL_Comm_compare
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Comm_free sin resolver al que se hace referencia en la funcin _MKL_Comm_free
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Comm_rank sin resolver al que se hace referencia en la funcin _MKL_Comm_rank
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Comm_size sin resolver al que se hace referencia en la funcin _MKL_Comm_size
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Comm_split sin resolver al que se hace referencia en la funcin _MKL_Comm_split
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Reduce sin resolver al que se hace referencia en la funcin _MKL_Reduce
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Send sin resolver al que se hace referencia en la funcin _MKL_Send
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Type_commit sin resolver al que se hace referencia en la funcin _MKL_Type_commit
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Type_contiguous sin resolver al que se hace referencia en la funcin _MKL_Type_contiguous
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Type_free sin resolver al que se hace referencia en la funcin _MKL_Type_free
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Type_vector sin resolver al que se hace referencia en la funcin _MKL_Type_vector
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Iprobe sin resolver al que se hace referencia en la funcin _MKL_Iprobe
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Alltoall sin resolver al que se hace referencia en la funcin _MKL_Alltoall
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Alltoallv sin resolver al que se hace referencia en la funcin _MKL_Alltoallv
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Irecv sin resolver al que se hace referencia en la funcin _MKL_Irecv
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Isend sin resolver al que se hace referencia en la funcin _MKL_Isend
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Recv sin resolver al que se hace referencia en la funcin _MKL_Recv
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Test sin resolver al que se hace referencia en la funcin _MKL_Test
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Wait sin resolver al que se hace referencia en la funcin _MKL_Wait
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Waitall sin resolver al que se hace referencia en la funcin _MKL_Waitall
1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Waitany sin resolver al que se hace referencia en la funcin _MKL_Waitany

0 Kudos
5 Replies
TimP
Honored Contributor III
521 Views
Quoting - angelgutlop

Hello:

I am developing a MPI applicationusing the Intel Fortran compiler that implemet a cluster FFT subroutine for a X86 system. I have included in the project thelibraries that contain the functions for the parallel FFT (mkl_cdft.lib) as the mpi routines included in windows HPC ( msmpi.lib msmpifes.lib, etc). after compiling the project the linker retuns the following messages, refered to the mkl_blacs_mpich2. library. Any idea???

1>mkl_blacs_mpich2.lib(blacs_extended.obj) : error LNK2019: smbolo externo _MPI_Allgather sin resolver al que se hace referencia en la funcin _MKL_Allgather

If you would use the mpich2 mpif90 wrapper built for ifort for your link, with paths set according to your installation, the mpich2 libraries should be searched without a requirement for you to know further details. Apparently, you didn't include those libraries in the link command. As I understand it, an installation of Intel MPI (e.g. Cluster Tools Compiler Edition), using the mpiifort wrapper, also would take care of this.
0 Kudos
Vladimir_Petrov__Int
New Contributor III
521 Views
Hello,

One probable cause of the problem might be that an incorrect BLACS library is being used. Please try mkl_blacs_msmpi.lib (together with msmpi.lib and msmpifec.lib).
If the above does not help, could you please also post the environment you are using (Windows version and MPI implementation) to help us solve the issue faster?

Best regards,
-Vladimir
0 Kudos
angelgutlop
Beginner
521 Views
Before nothing thank you for your answers. The problem it seems not has solution, because I do not have it installed the mkl blacs msmpi.lib libray, and i don't found it anywere . In case you are of assistance, I work under 64 bits Windows VISTA, and I utilize the Microsoft HPC Pack 2008 MPI libraries

Thanks

Angel

0 Kudos
Vladimir_Petrov__Int
New Contributor III
521 Views
Quoting - angelgutlop
Before nothing thank you for your answers. The problem it seems not has solution, because I do not have it installed the mkl blacs msmpi.lib libray, and i don't found it anywere . In case you are of assistance, I work under 64 bits Windows VISTA, and I utilize the Microsoft HPC Pack 2008 MPI libraries

Thanks

Angel

Angel,

It looks like you are trying to link with the 32-bit libraries. Please use 64-bit versions (actual location may depend on particular product installation) is used instead since your OS is 64-bit.

Best regards,
-Vladimir
0 Kudos
Gennady_F_Intel
Moderator
521 Views
Quoting - angelgutlop
Before nothing thank you for your answers. The problem it seems not has solution, because I do not have it installed the mkl blacs msmpi.lib libray, and i don't found it anywere . In case you are of assistance, I work under 64 bits Windows VISTA, and I utilize the Microsoft HPC Pack 2008 MPI libraries

Thanks

Angel


Angel.
We 'd recommend to use MKL Linker Adviser (http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/) to select alllibraries needed for linking mkl's based application.
--Gennady
0 Kudos
Reply