ncmpi_inq_malloc_max_size()

Max R. Dechantsreiter max at performancejones.com
Sun Apr 7 18:44:47 CDT 2019


Every source file in examples/C calls ncmpi_inq_malloc_max_size()
(via pnetcdf_check_mem_usage), and this function is in the library:

	308> nm -a libpnetcdf.a | grep ncmpi_inq_malloc_max_size
	0000000000000080 T ncmpi_inq_malloc_max_size
	                 U ncmpi_inq_malloc_max_size
	309>

however the parallel tests fail in that subdirectory because
this function returns -222.  Should one simply remove it by

	for file in examples/C/*.c
	do
		sed -i '/nerrs += pnetcdf_check_mem_usage/d' $file
	done

(for example), or is there another way?



More information about the parallel-netcdf mailing list