parallel netcdf on BG, colons in filenames?
Rajeev Thakur
thakur at mcs.anl.gov
Sat Nov 11 14:33:10 CST 2006
The ROMIO MPI-IO implementation has always given the user the option of
specifying the file system type by prefixing the filename with a ufs: or
nfs: or pvfs:. So the colon is interpreted as a separator of an optional
file system type. Since ROMIO is included in IBM's MPI, I guess this feature
exists there as well. The best solution would be to avoid colons in the file
name.
Rajeev
> -----Original Message-----
> From: owner-parallel-netcdf at mcs.anl.gov
> [mailto:owner-parallel-netcdf at mcs.anl.gov] On Behalf Of John
> Michalakes
> Sent: Saturday, November 11, 2006 12:14 PM
> To: parallel-netcdf at mcs.anl.gov
> Subject: parallel netcdf on BG, colons in filenames?
>
> This program works on the NCAR blue gene system:
>
> implicit none
> include "mpif.h"
> #include "pnetcdf.inc"
> integer stat, ierr, comm, ncid
> call mpi_init(ierr)
> stat = NFMPI_CREATE(MPI_COMM_WORLD,
> "wrfout_d01_2002-05-27_00_00_00" , NF_CLOBBER, MPI_INFO_NULL, ncid)
> print*,stat,ncid
> stop
> end
>
> This one does not:
>
> implicit none
> include "mpif.h"
> #include "pnetcdf.inc"
> integer stat, ierr, comm, ncid
> call mpi_init(ierr)
> stat = NFMPI_CREATE(MPI_COMM_WORLD,
> "wrfout_d01_2002-05-27_00:00:00" , NF_CLOBBER, MPI_INFO_NULL, ncid)
> print*,stat,ncid
> stop
> end
>
> The output from this 2nd program is attached.
>
> The only difference is colons characters in the file name.
> Any ideas? (aside from the obvious, don't put colons in file names :-)
>
> John
>
> -----------------------------------------------------------
> John Michalakes, Software Engineer michalak at ucar.edu
> NCAR, MMM Division voice: +1 303 497 8199
> 3450 Mitchell Lane fax: +1 303 497 8181
> Boulder, Colorado 80301 U.S.A. cell: +1 720 209 2320
> http://www.mmm.ucar.edu/individual/michalakes
> -----------------------------------------------------------
>
More information about the parallel-netcdf
mailing list