FMP_startLocaleServer

Initialize server

H_ERROR FMP_startLocaleServer (char* server, char* wrkDir,char** Args,CEDINT32 nbArgs)
  • Input:
    • Server: Server to start

      "FLUX3D_64" : start Flux3d 64 bits

    • wrkDir: Working directory
    • Args: Additional arguments
    • nbArgs: Number of additional arguments
  • Return:
    • serverUid: Unique identifier for server
  • Example: Start Flux3d in 64 bits version with 600 Mb of memory with English language
     char** Args;
    		…
     Args = malloc(2*sizeof(char*));
     Args[0]=FMP_arg(NUMERICAL_MEMORY_LABEL,"600000000");
     Args[1]=FMP_arg(LANGUAGE_LABEL,"2");
     serverUid = FMP_startLocaleServer(FLUX3D_64,LOCALEWRKDIR,Args,2);