Compilation problems on

Yu-Heng Tseng yhtseng at lbl.gov
Tue Mar 28 23:23:28 CST 2006


Hi,

I tried to compile a code on BG/L with parallel netcdf. However, I got 
the following errors and many similar ones.

/contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o): 
In function `check_mpifh':
mpinetcdf.o(.text+0x460): undefined reference to `MPI_File_open'
mpinetcdf.o(.text+0x474): undefined reference to `MPI_Error_string'
/contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o): 
In function `set_vars_fileview':
mpinetcdf.o(.text+0x948): undefined reference to `MPI_Type_create_hvector'
mpinetcdf.o(.text+0xacc): undefined reference to `MPI_File_set_view'
mpinetcdf.o(.text+0xae0): undefined reference to `MPI_Error_string'
/contrib/bgl/parallel-netcdf-1.0.0-pre2/lib/libpnetcdf.a(mpinetcdf.o): 
In function `set_vara_fileview':

Can anyone tell me how to fix this? It seems the simple test case 
working well when I include the library.
Thank you very much.

Yu-heng




More information about the parallel-netcdf mailing list