malloc.h in pnetcdf

William Gropp wgropp at illinois.edu
Thu Dec 10 10:02:53 CST 2009


My build is now failing in the files that include mvar.h - this file  
includes malloc.h , which isn't standard and isn't available on Mac  
OSX.  What definition is this header supplying?  malloc and friends  
are now part of stdlib.h .  Should this include either be removed or  
changed to

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif

?

Bill

William Gropp
Deputy Director for Research
Institute for Advanced Computing Applications and Technologies
Paul and Cynthia Saylor Professor of Computer Science
University of Illinois Urbana-Champaign






More information about the parallel-netcdf mailing list