From: Sriram K. <sr...@sd...> - 2009-09-16 21:55:56
|
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 |