Compilation problems on
Reiner Vogelsang
reiner at sgi.com
Wed Mar 29 00:28:22 CST 2006
Hi Yu-Heng Tseng,
do you have installed MPI?
If yes does your MPI installation support MPI-I/O?
Pnetcdf is using MPI-I/O to exploit parallelism.
Best wishes
Reiner
Yu-Heng Tseng wrote:
> 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
--
------------------------------------------------------------------------
_
)/___ _---_
=_/(___)_-__ ( )
/ /\\|/O[]/ \c O ( )
Reiner Vogelsang \__/ ----'\__/ ..o o O .o -_-
Senior System Engineer
Silicon Graphics GmbH Home Office
Am Hochacker 3
D-85630 Grasbrunn 52428 Juelich
Germany
Phone +49-89-46108-0 +49-2461-939265
Fax +49-89-46108-222 +49-2461-939266
Mobile +49-171-3583208
email reiner at sgi.com
More information about the parallel-netcdf
mailing list