/******************************************************* Mosel Example Problems ====================== file runrtpardistr.c ```````````````````` Running several instances of a model remotely from a host program. - Parallel submodels in distributed architecture - Before running this model, you need to set up the NODENAME with a machine name/address of your local network. The node that is used needs to have the same version of Xpress installed and suitably licensed, and the server "xprmsrv" must have been started on this machine. (c) 2012 Fair Isaac Corporation author: S. Heipcke, Apr 2012, rev. Jan. 2013 *******************************************************/ #include #include #include "xprd.h" #define A 10 #define B 5 int main(int argv,char *args[]) { XPRDcontext xprd; XPRDmosel mosInst[B]; XPRDmodel modRP[A]; char params[200]; char *NODENAME[B]; int i,j; char bufd[200],bufn[200]; /* Use the name or IP address of a machine in * your local network, or "" for current node */ for(j=0;j