Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] exodus: netCDF file or not?

> What's the value of the mode argument you are passing to
>
>     nc_open_par(const char *path, int mode, MPI_Comm comm, MPI_Info info,
> int *ncidp);

The call is from [1] with
```
NC_NOWRITE == 0
NC_SHARE == 2048
pariomode == 32768
```
so eventually the mode argument is
```
NC_NOWRITE|NC_SHARE|pariomode == 34816
```
Looks suspicious?

Cheers,
Nico


[1] 
https://github.com/trilinos/trilinos/blob/master/packages/seacas/libraries/exodus/cbind/src/ex_open_par.c#L180

On Wed, Feb 4, 2015 at 6:00 PM, Russ Rew <russ@xxxxxxxxxxxxxxxx> wrote:
> Hi Nico,
>
> What's the value of the mode argument you are passing to
>
>     nc_open_par(const char *path, int mode, MPI_Comm comm, MPI_Info info,
> int *ncidp);
>
> ?
>
> --Russ
>
> On Tue, Feb 3, 2015 at 3:25 PM, Nico Schlömer <nico.schloemer@xxxxxxxxx>
> wrote:
>>
>> Hi all,
>>
>> I'm trying to read the file
>> ```
>> http://win.ua.ac.be/~nschloe/other/pacman.e
>> ```
>> in parallel with `nc_open_par` [1]. This works on one machine, but
>> returns the error code `-51` ("Not a netCDF file") on another.
>> Could someone clarify this?
>>
>> Cheers,
>> Nico
>>
>>
>> [1]
>> https://github.com/Unidata/netcdf-c/blob/master/libdispatch/dparallel.c#L38
>>
>> _______________________________________________
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>



  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: