[mpich-discuss] can not find function MPI_Type_create_f90_real
Rajeev Thakur
thakur at mcs.anl.gov
Thu Jan 15 09:38:24 CST 2009
It should be there. Which version of MPICH2 are you using? In the lib
subdirectory where MPICH2 is installed, do "nm libmpich.a | grep -i f90" and
see what it shows.
Rajeev
_____
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of trimtrim trimtrim
Sent: Thursday, January 15, 2009 3:14 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] can not find function MPI_Type_create_f90_real
Dear every one:
I am try to use the function of "MPI_Type_create_f90_real" to select the
MPI send data type. But when I link the program, it shows I can't find the
library.
"Error 1 error LNK2019: unresolved external symbol
_MPI_TYPE_CREATE_F90_REAL referenced in function _MAIN__ TEST "
Does anyone knows which library I need to add, the library "fmpe.lib" and
"fmpich2.lib" are already add to the linker. Below is the attached program.
Many thanks
Regards Haihua.
PROGRAM MAIN
USE mpi
INTEGER(KIND=4),PARAMETER::p = 12,r=37;
INTEGER(KIND=4),PARAMETER:: realKind =selected_real_kind(p,r)
INTEGER(KIND=4):: MPI_INT_KIND,info;
CALL MPI_Type_create_f90_real(p,r,MPI_INT_KIND,info);
write(*,*) realKind;
Write(*,*) PRECISION(x),range(x);
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090115/3001eab2/attachment.htm>
More information about the mpich-discuss
mailing list