[Openmd-developers] QHULL as static while building
Dan Gezelter
gezelter at nd.edu
Mon Sep 8 16:31:13 EDT 2014
>
> facet variable (pointer) (line 76) is declared and it is not initialized so address is random. Then i don't see any "new" operator. Maybe it is hidden somewhere. Then at line 217
The FORALLFacets iterator on line 214 is supposed to be setting that. The qhull.h include file defines:
#define FORALLfacets for (facet=qh facet_list;facet && facet->next;facet=facet->next)
I think the problem might be the qh object. The qhull site says this:
When you read the code, be aware of the macros "qh" and "qhstat", e.g., "qh hull_dim". They are defined in libqhull.h. They allow the global data structures to be pre-allocated (faster access) or dynamically allocated (allows multiple copies).
I'm not sure that object exits when we dynamically link.
--Dan
***********************************************
J. Daniel Gezelter
Associate Professor of Chemistry
Department of Chemistry and Biochemistry
251 Nieuwland Science Hall
University of Notre Dame
Notre Dame, IN 46556-5670
phone: +1 (574) 631-7595
fax: +1 (574) 631-6652
e-mail: gezelter at nd.edu
web: http://www.nd.edu/~gezelter
************************************************
More information about the Openmd-developers
mailing list