1. petsc
  2. PETSc
  3. petsc

Commits

BarryFSmith  committed 142c234

completed removing server code that was not removed in previous commit

  • Participants
  • Parent commits ef3ef75
  • Branches master

Comments (0)

Files changed (2)

File src/sys/objects/init.c

View file
   }
 #endif
 
-#if defined(PETSC_USE_SERVER)
-  flg1 = PETSC_FALSE;
-  ierr = PetscOptionsGetBool(NULL,"-server",&flg1,NULL);CHKERRQ(ierr);
-  if (flg1) {
-    ierr = PetscPOpen(PETSC_COMM_WORLD,NULL,"${PETSC_DIR}/${PETSC_ARCH}/bin/petscwebserver","r",NULL);CHKERRQ(ierr);
-  }
-#endif
-
-
   ierr = PetscOptionsGetReal(NULL,"-petsc_sleep",&si,&flg1);CHKERRQ(ierr);
   if (flg1) {
     ierr = PetscSleep(si);CHKERRQ(ierr);

File src/sys/objects/pinit.c

View file
 .  -not_shared_tmp - each processor has own /tmp
 .  -tmp - alternative name of /tmp directory
 .  -get_total_flops - returns total flops done by all processors
-.  -memory_info - Print memory usage at end of run
--  -server <port> - start PETSc webserver (default port is 8080)
+-  -memory_info - Print memory usage at end of run
 
    Options Database Keys for Profiling:
    See the <a href="../../docs/manual.pdf#nameddest=ch_profiling">profiling chapter of the users manual</a> for details.
   }
 #endif
 
-#if defined(PETSC_USE_SERVER)
-  flg1 = PETSC_FALSE;
-  ierr = PetscOptionsGetBool(NULL,"-server",&flg1,NULL);CHKERRQ(ierr);
-  if (flg1) {
-    /*  this is a crude hack, but better than nothing */
-    ierr = PetscPOpen(PETSC_COMM_WORLD,NULL,"pkill -9 petscwebserver","r",NULL);CHKERRQ(ierr);
-  }
-#endif
-
 #if defined(PETSC_HAVE_X)
   flg1 = PETSC_FALSE;
   ierr = PetscOptionsGetBool(NULL,"-x_virtual",&flg1,NULL);CHKERRQ(ierr);