parallel netcdf in a new NERSC Linux cluster

Rajeev Thakur thakur at mcs.anl.gov
Mon Oct 3 16:24:26 CDT 2005


Just add the following lines to the program and see if it compiles

MPI_File fh;
MPI_File_sync(fh);

Rajeev 

> -----Original Message-----
> From: owner-parallel-netcdf at mcs.anl.gov 
> [mailto:owner-parallel-netcdf at mcs.anl.gov] On Behalf Of Yu-Heng Tseng
> Sent: Monday, October 03, 2005 4:21 PM
> To: Rob Ross
> Cc: Wei-keng Liao; parallel-netcdf at mcs.anl.gov
> Subject: Re: parallel netcdf in a new NERSC Linux cluster
> 
> I tested the "necessary" condition. It looks O.K.
> What do I need to make it in the library? The mpi implementation is 
> MVAPICH in this new NERSC cluster
> which is different from some previous MPI implementation.
> Thanks!
> 
> Yu-heng
> Rob Ross wrote:
> 
> > that tests a necessary but not sufficient condition.  the functions 
> > also need to be in the library...
> >
> > rob
> >
> > Wei-keng Liao wrote:
> >
> >> Yu-Heng
> >>
> >> I think your mpicc version is not compiled with support of MPI-IO.
> >> You can test your mpicc to see if it supports MPI-IO by 
> compiling the 
> >> following short program.
> >>
> >> #include "mpi.h"
> >> int main() {
> >>    int a = MPI_MODE_RDWR;
> >>    return 0;
> >> }
> >>
> >> Basically, you need a version of MPICH with MPI-IO enabled, before 
> >> configuring pnetCDF.
> >>
> >>
> >> Wei-keng
> >>
> >>
> >>
> >> On Mon, 3 Oct 2005, Yu-Heng Tseng wrote:
> >>
> >>> Hi
> >>>
> >>> I tried to install the parallel netcdf library on the new NERSC 
> >>> Linux cluster. However, I got the following error. Any problem 
> >>> associated with this?
> >>>
> >>> checking mpi implementation... checking MPI-IO support in MPI 
> >>> implementation... configure: error: mpi implementation does not 
> >>> support MPI-IO
> >>>
> >>> I include the following environment setting.
> >>> setenv MPICC mpicc
> >>> setenv MPIF77 mpif77
> >>> setenv F77 pathf90
> >>> setenv FC pathf90
> >>> setenv CC pathcc
> >>> setenv CXX pathCC
> >>>
> >>> Thanks a lot for your help.
> >>>
> >>> Yu-heng
> >>>
> >>
> 
> 




More information about the parallel-netcdf mailing list