Adding FT support for isomalloc_sync
authorEsteban Meneses <emenese2@illinois.edu>
Tue, 13 Mar 2012 21:32:05 +0000 (16:32 -0500)
committerEsteban Meneses <emenese2@illinois.edu>
Tue, 13 Mar 2012 21:32:05 +0000 (16:32 -0500)
src/arch/net/charmrun/charmrun.c

index 0b04fc1eb62964a7e434fcbb25fb3097cc5672ff..28636fa05dd3479989b2530374ec9b7690149e9b 100644 (file)
@@ -4674,7 +4674,7 @@ void restart_node(int crashed_node){
        while(arg_argv[i]!= NULL){
                i++;
        }
-       restart_argv = (char **)malloc(sizeof(char *)*(i+3));
+       restart_argv = (char **)malloc(sizeof(char *)*(i+4));
        i=0;
        while(arg_argv[i]!= NULL){
                restart_argv[i] = arg_argv[i];
@@ -4683,7 +4683,8 @@ void restart_node(int crashed_node){
        restart_argv[i] = "+restartaftercrash";
         sprintf(phase_str,"%d", ++current_restart_phase);
        restart_argv[i+1]=phase_str;
-       restart_argv[i+2]=NULL;
+       restart_argv[i+2] = "+restartisomalloc";
+       restart_argv[i+3]=NULL;
 
        rsh_script(f,pe,crashed_node,restart_argv,1);
        fclose(f);