Page 1 of 1

Correct configuration file not getting generated

Posted: Fri Feb 13, 2015 5:05 am
by skathaitrooney
Hi Everyone,

I have a sequence job calling the sequencer.sh with 2 parameters
(sequencer.sh -c2 -p2).
Instead of returning a config file with 2 nodes and 2 partitions, a config file is getting generated in the gridjobdir with only 1 node and 1 partition.

Can anyone suggest something on this??

Thanks!!

Posted: Fri Feb 13, 2015 9:02 am
by PaulVL
Given that a config file is being generated, you have APT_GRID_ENABLED set to True. Now you have to look at APT_GRID_COMPUTENODE and APT_GRID_PARTITIONS to make sure that the values you are passing are the ones you expect. Depending on the version of your Grid ENablement Toolkit... a blank value might default to "1". Check what you are passing in, and look at the project level defaults.

Posted: Fri Feb 13, 2015 7:03 pm
by lstsaur
How many jobs in your job sequence? In each job in the job sequence, you must set the $APT_GRID_ENABLE to NO. Did you specify the Compute Nodes and Partitions parameters in your Execute Command Activity stage? Then your downstream job activity stages using the expressing: Field(stagename.$CommandOutput," ", fieldnum) to access those passed parameters values?