=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/engine/nd.c,v retrieving revision 1.88 retrieving revision 1.90 diff -u -p -r1.88 -r1.90 --- OpenXM_contrib2/asir2000/engine/nd.c 2003/12/24 02:20:19 1.88 +++ OpenXM_contrib2/asir2000/engine/nd.c 2004/03/13 06:49:15 1.90 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.c,v 1.87 2003/11/05 08:02:45 noro Exp $ */ +/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.c,v 1.89 2004/02/03 23:31:57 noro Exp $ */ #include "ca.h" #include "parse.h" @@ -146,12 +146,11 @@ static int nd_psn,nd_pslen; static RHist *nd_red; static int nd_found,nd_create,nd_notfirst; -static int nm_adv; static int nmv_adv; static int nd_dcomp; static int nd_demand; -extern struct order_spec dp_current_spec; +extern struct order_spec *dp_current_spec; extern char *Demand; extern VL CO; extern int Top,Reverse,DP_Print,dp_nelim,do_weyl,NoSugar; @@ -179,6 +178,8 @@ extern int *current_weyl_weight_vector; #define GET_EXP_OLD(d,a) (((d)[oepos[a].i]>>oepos[a].s)&omask0) #define PUT_EXP_OLD(r,a,e) ((r)[oepos[a].i] |= ((e)<TD(d2)?1:(TD(d1)obj); fflush(nd_write); nd_send_int(nd_psn); for ( i = 0; i < nd_psn; i++ ) nd_send_ndv(nd_ps[i]); @@ -4479,7 +4479,7 @@ void nd_exec_f4_red_dist() ND_pairs *sp0; int *colstat; int a,sprow,rank; - struct order_spec ord; + struct order_spec *ord; Obj ordspec; ND spol; int maxrs; @@ -4494,8 +4494,8 @@ void nd_exec_f4_red_dist() nmv_adv = nd_recv_int(); loadobj(nd_read,&ordspec); - create_order_spec(ordspec,&ord); - nd_init_ord(&ord); + create_order_spec(0,ordspec,&ord); + nd_init_ord(ord); nd_setup_parameters(nd_nvar,0); nd_psn = nd_recv_int();