Yu-Heng,<br><br>I am the installer of pnetcdf on frost - NCAR's BG/L. 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> <<a href="mailto:yhtseng@lbl.gov">yhtseng@lbl.gov</a>> 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>> Hi Yu-Heng Tseng,<br>> do you have installed MPI?
<br>> If yes does your MPI installation support MPI-I/O?<br>><br>><br>> Pnetcdf is using MPI-I/O to exploit parallelism.<br>><br>> Best wishes<br>> Reiner<br>><br>><br>> Yu-Heng Tseng wrote:
<br>><br>>> Hi,<br>>><br>>> I tried to compile a code on BG/L with parallel netcdf. However, I<br>>> got the following errors and many similar ones.<br>>><br>>> /contrib/bgl/parallel-
netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o):<br>>> In function `check_mpifh':<br>>> mpinetcdf.o(.text+0x460): undefined reference to `MPI_File_open'<br>>> mpinetcdf.o(.text+0x474): undefined reference to `MPI_Error_string'
<br>>> /contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o):<br>>> In function `set_vars_fileview':<br>>> mpinetcdf.o(.text+0x948): undefined reference to<br>>> `MPI_Type_create_hvector'
<br>>> mpinetcdf.o(.text+0xacc): undefined reference to `MPI_File_set_view'<br>>> mpinetcdf.o(.text+0xae0): undefined reference to `MPI_Error_string'<br>>> /contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(
mpinetcdf.o):<br>>> In function `set_vara_fileview':<br>>><br>>> Can anyone tell me how to fix this? It seems the simple test case<br>>> working well when I include the library.<br>>> Thank you very much.
<br>>><br>>> Yu-heng<br>><br>><br><br></blockquote></div><br>