Yu-Heng,<br><br>I am the installer of pnetcdf on frost - NCAR's BG/L.&nbsp; Please send me the complete output of your compile and I'll try to help you.<br><br>Jim Edwards<br>IBM Applications Analyst<br>NCAR<br><br><br><div><span class="gmail_quote">
On 3/28/06, <b class="gmail_sendername">Yu-Heng Tseng</b> &lt;<a href="mailto:yhtseng@lbl.gov">yhtseng@lbl.gov</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your quick response. Yes. The MPI is installed on NCAR's GB/L.<br>The pnetcdf has been installed on /contrib/bgl/<br>I also test one test example under test/fandc/pnf_test.F<br>This program is working fine. That means parallel netcdf should work
<br>fine by calling<br>the library. Any idea why it is not working well.<br>Is that possible due to some 32 bits/64bits issues? Thanks!<br><br>Yu-heng<br>Reiner Vogelsang wrote:<br><br>&gt; Hi Yu-Heng Tseng,<br>&gt; do you have installed MPI?
<br>&gt; If yes does your MPI installation support MPI-I/O?<br>&gt;<br>&gt;<br>&gt; Pnetcdf is using MPI-I/O to exploit parallelism.<br>&gt;<br>&gt; Best wishes<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Reiner<br>&gt;<br>&gt;<br>&gt; Yu-Heng Tseng wrote:
<br>&gt;<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; I tried to compile a code on BG/L with parallel netcdf. However, I<br>&gt;&gt; got the following errors and many similar ones.<br>&gt;&gt;<br>&gt;&gt; /contrib/bgl/parallel-
netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o):<br>&gt;&gt; In function `check_mpifh':<br>&gt;&gt; mpinetcdf.o(.text+0x460): undefined reference to `MPI_File_open'<br>&gt;&gt; mpinetcdf.o(.text+0x474): undefined reference to `MPI_Error_string'
<br>&gt;&gt; /contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o):<br>&gt;&gt; In function `set_vars_fileview':<br>&gt;&gt; mpinetcdf.o(.text+0x948): undefined reference to<br>&gt;&gt; `MPI_Type_create_hvector'
<br>&gt;&gt; mpinetcdf.o(.text+0xacc): undefined reference to `MPI_File_set_view'<br>&gt;&gt; mpinetcdf.o(.text+0xae0): undefined reference to `MPI_Error_string'<br>&gt;&gt; /contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(
mpinetcdf.o):<br>&gt;&gt; In function `set_vara_fileview':<br>&gt;&gt;<br>&gt;&gt; Can anyone tell me how to fix this? It seems the simple test case<br>&gt;&gt; working well when I include the library.<br>&gt;&gt; Thank you very much.
<br>&gt;&gt;<br>&gt;&gt; Yu-heng<br>&gt;<br>&gt;<br><br></blockquote></div><br>