From: Sriram K. <sr...@sd...> - 2009-09-18 14:09:53
|
Hi Malcolm, The AppService is the generic interface on the server-side. To give you a more specific answer, we would need to know what language/client you are using. All Java documentation can be found here: http://www.nbcr.net/software/opal/docs/2.0/index.html , and all Python docs are here: http://www.nbcr.net/software/opal/docs/2.0/opal-py-index.html . Thanks, Sriram On Sep 18, 2009, at 9:40 AM, Malcolm Tobias wrote: > > Sriram, > > Thanks for the response. > > I'm not developing this interface myself, but from talking to the > developers I > take it we're currently using AppService. Can you point me to some > documentation for GenericServiceClient or some examples of it's use? > > Thanks again, > Malcolm > > > On Wednesday 16 September 2009 04:55:31 pm Sriram Krishnan wrote: >> Hi Malcom, >> >> The num.procs in the opal.properties is the maximum number of >> processors available on the system. You can set the number of >> processors on a per application basis from the command-line (or via a >> SOAP call), as long as it is less than the num.procs specified in the >> opal.properties. >> >> Are you using the GenericServiceClient to launch your parallel jobs? >> If so, use the "-n" parameter to set the number of processors. You >> can >> also set the number of processors via the dashboard. >> >> Let us know if that works. >> >> Cheers, >> Sriram >> >> On Sep 16, 2009, at 3:29 PM, Malcolm Tobias wrote: >>> I've got a working Opal server and I'm now trying to configure it to >>> run >>> parallel jobs. In my etc/opal.properties I have: >>> >>> # parallel parameters >>> num.procs=4 >>> mpi.run=/export/apps/openmpi-1.3.3/bin/mpirun >>> >>> I verified that these values did find their way into tomcat: >>> >>> jakarta-tomcat-5.0.30/webapps/opal2/WEB-INF/classes/opal.properties >>> >>> but when we attempt to run parallel jobs, the command that gets >>> generated is: >>> >>> 2009-09-16 15:19:32,613 DEBUG >>> edu >>> .sdsc >>> .nbcr.opal.manager.DRMAAJobManager.launchJob(DRMAAJobManager.java: >>> 171) - >>> CMD: /export/apps/openmpi-1.3.3/bin/mpirun -machinefile $TMPDIR/ >>> machines -np >>> 1 /export/apps/apbs_svn_20090915/bin/apbs 1ABF.in >>> >>> I know that it's picking up the <parallel>true</parallel> in the >>> service >>> configuration file since it's including the mpirun command, but why >>> isn't the >>> number of processors agreeing with 'num.procs'? >>> >>> Thanks for your help. >>> >>> Malcolm >>> >>> -- >>> Malcolm Tobias >>> 314.362.1594 >>> >>> >>> ------------------------------------------------------------------------- >>> ----- Come build with us! The BlackBerry® Developer Conference >>> in SF, >>> CA is the only developer event you need to attend this year. >>> Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> Opaltoolkit-users mailing list >>> Opa...@li... >>> https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users > > > > -- > Malcolm Tobias > 314.362.1594 |