Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
82 stars 23 forks source link

Check file system type prefix against the ones known to ROMIO #79

Closed wkliao closed 2 years ago

wkliao commented 2 years ago

In all prior versions, the file name was checked whether it contains character ':'. The prefix name ending with ':' is considered by ROMIO as the file system type name. The prefix name, if found, is then stripped, so the file name can be used in the successive POSIX function calls. However, the prefix was not checked against the file system type names recognized by ROMIO. Starting from this release, the prefix is checked against the known file system type names to ROMIO. If the prefix is not one of the recognized types, then the prefix name is not stripped. This change is for in case when the file name contains ':', but it is not for specifying the file system type.

Currently (ROMIO in MPICH 4.0.1), the following file system types are defined: