Project

General

Profile

Actions

Configure web server to submit job to local cluster » History » Revision 7

« Previous | Revision 7/12 (diff) | Next »
Amber Herold, 06/08/2010 02:43 PM


Configure web server to submit job to local cluster

Option 1: Use the setup wizard and add the local cluster headnode

  1. Go the setup wizard: http://localhost/myamiweb/setup or http://HOST.INSTITUTE.EDU/myamiweb/setup
  2. Step 2
  3. Profit...

Option 2: Manually edit the config.php and add the local cluster headnode to the config.php

  • Edit the file /var/www/html/myamiweb/config.php
  • For single computer setups use localhost:
    $PROCESSING_HOSTS[] = array('host' => 'localhost', 'nproc' => 2);
    
  • If the processing headnode is not localhost:
    $PROCESSING_HOSTS[] = array('host' => 'LOCAL_CLUSTER_HEADNODE.INSTITUTE.EDU', 'nproc' => 8);
    
  • It can also run on more than one cluster, this is rare:
    $PROCESSING_HOSTS[] = array('host' => 'LOCAL_CLUSTER_HEADNODE1.INSTITUTE.EDU', 'nproc' => 8);
    $PROCESSING_HOSTS[] = array('host' => 'LOCAL_CLUSTER_HEADNODE2.INSTITUTE.EDU', 'nproc' => 4);
    

< Install SSH module for PHP | Testing job submission >


Updated by Amber Herold over 14 years ago · 7 revisions