100
100
#define GET_VALUE(name,var) \
101
101
if (get_value (s, name, &var)) { \
102
102
logprintfl (EUCAFATAL, "error: did not find %s in output from %s\n", name, nc->get_info_cmd_path); \
107
107
GET_VALUE("nr_cores", nc->cores_max);
108
108
GET_VALUE("total_memory", nc->mem_max);
109
111
/* we leave 256M to the host */