/[escript]/trunk/escriptcore/src/Utils.cpp
ViewVC logotype

Diff of /trunk/escriptcore/src/Utils.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5600 by jfenwick, Fri Apr 24 01:36:26 2015 UTC revision 5601 by jfenwick, Mon May 4 03:25:18 2015 UTC
# Line 17  Line 17 
17  #define ESNEEDPYTHON  #define ESNEEDPYTHON
18  #include "esysUtils/first.h"  #include "esysUtils/first.h"
19    
20    #ifndef OVERLORDPATH
21      #define OVERLORDPATH ""
22    #endif
23    
24  #include <fstream>  #include <fstream>
25  #include <string.h>  #include <string.h>
# Line 332  ESCRIPT_DLL_API int runMPIProgram(boost: Line 334  ESCRIPT_DLL_API int runMPIProgram(boost:
334  #else //#ifdef _WIN32  #else //#ifdef _WIN32
335      char** c_args = new char*[2+nargs];      char** c_args = new char*[2+nargs];
336      std::vector<std::string> cpp_args(2+nargs);//allow for wrapper, port, and key      std::vector<std::string> cpp_args(2+nargs);//allow for wrapper, port, and key
337      char c_cmd[] = "escript-overlord";      char c_cmd[] = OVERLORDPATH"escript-overlord";
338      // skip command name in argument list      // skip command name in argument list
339      for (int i=1; i<nargs; i++) {      for (int i=1; i<nargs; i++) {
340          cpp_args[i+1]=boost::python::extract<std::string>(args[i]);          cpp_args[i+1]=boost::python::extract<std::string>(args[i]);

Legend:
Removed from v.5600  
changed lines
  Added in v.5601

  ViewVC Help
Powered by ViewVC 1.1.26