<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
thanks.<br>
it seems i just missed some link<br>
that was all.<br>
<br>
ryoji.<br>
<br>
<br>
Erik Schnetter wrote:
<blockquote cite="midFEED380C-1153-4DFB-83D2-823C83DF2BEC@cct.lsu.edu"
 type="cite">On Jan 16, 2007, at 16:48:13, Ryoji Takahashi wrote:
  <br>
  <br>
  <blockquote type="cite">Hi, i never compile with hpmpi.
    <br>
    <br>
with following configure file
    <br>
    <br>
MPI=CUSTOM
    <br>
MPI_LIBS= mpi
    <br>
MPI_LIB_DIRS=/opt/hpmpi/lib/linux_amd64
    <br>
MPI_INC_DIRS=/opt/hpmpi/include
    <br>
PTHREADS=yes
    <br>
    <br>
i am getting the following link error.
    <br>
    <br>
/global/malcubi/ryoji/Cactus/configs/x86_64/lib/libthorn_Cactus.a
(CactusDefaultComm.c.o)(.text+0x69a): In function&nbsp;
`CactusDefaultMyProc':
    <br>
: undefined reference to `MPI_Comm_rank'
    <br>
/global/malcubi/ryoji/Cactus/configs/x86_64/lib/libthorn_Cactus.a
(CactusDefaultComm.c.o)(.text+0x6c7): In function&nbsp;
`CactusDefaultMyProc':
    <br>
: undefined reference to `MPI_Error_string'
    <br>
/global/malcubi/ryoji/Cactus/configs/x86_64/lib/
libthorn_CarpetInterp.a(interp.cc.o)(.text+0x879): In function&nbsp;
`Carpet_DriverInterpolate':
    <br>
: undefined reference to `hpmp_int'
    <br>
  </blockquote>
  <br>
You probably need to list more libraries in "MPI_LIBS", not just&nbsp;
"mpi".&nbsp; Look into the directory "/opt/hpmpi/lib/linux_amd64", and&nbsp; list
some of the other libraries that are there (if there are more).&nbsp;&nbsp; The
order in which you list the libraries is also important -- you&nbsp; may
have to try some permutations.
  <br>
  <br>
-erik
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@cactuscode.org">Users@cactuscode.org</a>
<a class="moz-txt-link-freetext" href="http://www.cactuscode.org/mailman/listinfo/users">http://www.cactuscode.org/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
</body>
</html>