Index: ../trunk-jpl/src/c/solutions/ProcessArguments.cpp =================================================================== --- ../trunk-jpl/src/c/solutions/ProcessArguments.cpp (revision 13618) +++ ../trunk-jpl/src/c/solutions/ProcessArguments.cpp (revision 13619) @@ -18,11 +18,14 @@ char *rootpath = NULL; char *rootpatharg = NULL; - *solution_type=StringToEnumx(argv[1]); + /*Check input arguments*/ if(argc<2)_error_("Usage error: no solution requested"); if(argc<3)_error_("Usage error: missing execution directory"); if(argc<4)_error_("Usage error: missing model name"); + /*Get requested solution*/ + *solution_type=StringToEnumx(argv[1]); + rootpatharg=argv[2]; if(strcmp(strstr(rootpatharg,"/"),"/")!=0){ rootpath = xNew(strlen(rootpatharg)+2); sprintf(rootpath,"%s/",rootpatharg);