mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
d67d00ca7e
The pnetcdf support was not properly being used to provide mpi parallel io for netcdf-3 classic files. The wrong dispatch table was being used. The fix was to modify dfile.c#NC_check_file_type to properly specify the pnetcdf dispatch table when use_parallel was true.
15 lines
312 B
Plaintext
15 lines
312 B
Plaintext
# Test c output
|
|
T=test_read
|
|
#VG=valgrind --leak-check=full
|
|
|
|
CFLAGS=-g -O0 -I.. -I../include
|
|
LDFLAGS=../liblib/.libs/libnetcdf.a -L/usr/local/lib -lhdf5_hl -lhdf5 -lz -lm -lcurl
|
|
|
|
# cd .. ; ${MAKE} all
|
|
|
|
all::
|
|
export LD_RUN_PATH; export CFLAGS; export LDFLAGS; \
|
|
gcc -o t ${CFLAGS} ${T}.c ${LDFLAGS}
|
|
${VG} ./t
|
|
|