Parallel NetCDF 1.0.1 relies on MPI routines not in MPICH 1.2.x releases
Troy Baer
troy at osc.edu
Mon Apr 17 10:46:51 CDT 2006
...
/usr/local/mpich/bin/mpicc -o ncmpigen -D_FILE_OFFSET_BITS=64 -
D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o
load.o ncgentab.o escapes.o getfill.o init.o genlib.o -L../../../src/lib
-lpnetcdf
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xd7e5): In function
`ncmpi_request_get_status':
: undefined reference to `MPI_Request_get_status'
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xdf12): In function
`ncmpi_iget_var1':
: undefined reference to `MPI_Type_dup'
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xe6f9): In function
`ncmpi_iget_var':: undefined reference to `MPI_Type_dup'
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xef24): In function
`ncmpi_iget_vara':
: undefined reference to `MPI_Type_dup'
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xf77d): In function
`ncmpi_iget_vars':
: undefined reference to `MPI_Type_dup'
../../../src/lib/libpnetcdf.a(mpinetcdf.o)(.text+0xfeba): In function
`ncmpi_iget_varm':
: undefined reference to `MPI_Type_dup'
make[4]: *** [ncmpigen] Error 1
make[4]: Leaving directory `/usr/local/src/netcdf/parallel-
netcdf-1.0.1/src/utils/ncgen'
make[3]: *** [ncmpigen] Error 2
...
These routines are not implemented in MPICH releases before MPICH2.
Obviously, this is a problem for those of us for whom MPICH2 is not yet
a viable option performance-wise. Attached is a patch which makes
Parallel NetCDF more friendly to MPICH1 and also fixes some warnings on
malloc()'s of arrays of MPI_Request's.
--Troy
--
Troy Baer troy at osc.edu
Science & Technology Support http://www.osc.edu/hpc/
Ohio Supercomputer Center 614-292-9701
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpich1-compat.diff
Type: text/x-patch
Size: 3576 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20060417/ce5dc2d6/attachment.bin>
More information about the parallel-netcdf
mailing list