You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 07:26:34 UTC

svn commit: r1131760 - in /incubator/mesos/trunk/frameworks/torque: nexus-hpl/README torquesched.py

Author: benh
Date: Sun Jun  5 05:26:33 2011
New Revision: 1131760

URL: http://svn.apache.org/viewvc?rev=1131760&view=rev
Log:
Updating HPL setup scripts.

Modified:
    incubator/mesos/trunk/frameworks/torque/nexus-hpl/README
    incubator/mesos/trunk/frameworks/torque/torquesched.py

Modified: incubator/mesos/trunk/frameworks/torque/nexus-hpl/README
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/frameworks/torque/nexus-hpl/README?rev=1131760&r1=1131759&r2=1131760&view=diff
==============================================================================
--- incubator/mesos/trunk/frameworks/torque/nexus-hpl/README (original)
+++ incubator/mesos/trunk/frameworks/torque/nexus-hpl/README Sun Jun  5 05:26:33 2011
@@ -1,18 +1,24 @@
 This installation of HPL was used for the OSDI submission of Mesos (named Nexus at the time). It was compiled for large EC2 instances running Ubuntu (Lucid).
 
-The various "X-node" directories contain just the configuration file HPL.dat which adjusts the size of the problem (e.g. the matrix) in order to provide a mixed workload for experiments. Jobs using these conf files can be launched with the corresponding qsub scripts in the /root/nexus/frameworks/torque/ directory. However, first the xhpl executable must be built and then copied into these directories. The xhpl executable can be built using the Make.Linux_PII_CBLAS, which was constructed with to work on this version of ubuntu.
+The various "X-node" directories contain just the configuration file HPL.dat which adjusts the size of the problem (e.g. the matrix) in order to provide a mixed workload for experiments. Jobs using these conf files can be launched with the corresponding qsub scripts in the /root/nexus/frameworks/torque/ directory. 
+
+Running setup-hpl in the frameworks/torque/nexus-hpl directory should take care of the following steps, but we list them now in case you want to do it manually:
+
+However, first these should be moved into /nfs/hpl so that mesos slave nodes can access them. Then the xhpl executable must be built and then copied into each of these directories. The xhpl executable can be built using the Make.Linux_PII_CBLAS, which was constructed with to work on this version (lucid) of ubuntu. More detailed instructions for building the xhpl executable are below:
 
 Building for ubuntu (lucid, EC2 ami-id ami-19a14870):
-1) download and untar http://nexus.berkeley.edu/hpl-nexus.tar.gz
+0) Make sure necessary prerequired sofware (libatlas-base-dev, afortran, mpi.h)
+   is installed by running ~/root/nexus-ec2/setup-hpl
+1) Download and untar http://nexus.berkeley.edu/hpl-nexus.tar.gz into /root/hpl,
+   which is a modified copy of hpl v1.0a
      NOTE: this package should contain the Makefile we created to build on 
            lucid, which also exists in the same dir as this README
+   Else, you can download the unmodified hpl source from 
+   http://www.netlib.org/benchmark/hpl/hpl.tgz and copy over 
+   Make.Linux_PII_CBLAS
 2) in hpl directory, to build hpl binary, run:
      make arch=Linux_PII_CBLAS
 
 Then copy bin/xhpl to the "X-node" directories, and you should be able to launch xhpl jobs of various sizes using qsub commands in root/nexus/frameworks/torque/
 
-TODO:
-Dependencies for running hpl on slaves (that should be added to the Mesos cluster deploy scripts):
-- libatlas-base-dev
-- afortran
 

Modified: incubator/mesos/trunk/frameworks/torque/torquesched.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/frameworks/torque/torquesched.py?rev=1131760&r1=1131759&r2=1131760&view=diff
==============================================================================
--- incubator/mesos/trunk/frameworks/torque/torquesched.py (original)
+++ incubator/mesos/trunk/frameworks/torque/torquesched.py Sun Jun  5 05:26:33 2011
@@ -214,9 +214,9 @@ if __name__ == "__main__":
   #FILE.write(fqdn)
   #FILE.close()
 
-  #monitorlog.info("starting pbs_server")
+  monitorlog.info("starting pbs_server")
   #Popen("/etc/init.d/pbs_server start", shell=True)
-  #Popen("pbs_server", shell=True)
+  Popen("pbs_server", shell=True)
   #time.sleep(2)
 
  # monitorlog.info("running command: qmgr -c \"set queue batch resources_available.nodes=%s\"" % SAFE_ALLOCATION["cpus"])