[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Condor & Bosco submissions



Hello,

Job remain the same no 8 slot or correct queue. I was thinking it was an error because I forgot '#' in front of $ SGE attributes. I've tried with both:

#!/bin/bash
cat << EOF
#$ -V
#$ -N aln_bosco
#$ -cwd
#$ -j y
#$ -q all.q
#$ -pe orte 8
EOF

#!/bin/bash
cat << EOF
$ -V
$ -N aln_bosco
$ -cwd
$ -j y
$ -q all.q
$ -pe orte 8
EOF

And still not working.

Regards,
Guillermo.

On 03/06/2013 05:45 PM, Francesco Prelz wrote:



On Wed, 6 Mar 2013, Guillermo Marco Puche wrote:

Hello Francesco,

Here I've made a copy of my Bosco SGE files:

https://www.dropbox.com/sh/k2rhk97es5n203m/r7syVz1uNR?m

You can see the modified sge_local_submit_attributes.sh but also the original one with .back extension.

As I was thinking, a difference in the SGE files (w.r.t. the files
for the other batch systems) made it into the distributed sge_submit.sh script.

Would you mind trying to change this (old, leftover, wrong) line in sge_submit.sh:
local_submit_attributes_file=${GLITE_LOCATION:-/opt/glite}/bin/sge_local_submit_attributes.sh
with
local_submit_attributes_file=${blah_libexec_directory}/sge_local_submit_attributes.sh

Then, your test sge_local_submit_attributes.sh should *output* to stdout
the attributes you need, i.e. it should look like this:

#!/bin/bash
cat << EOF
$ -V
$ -N aln_bosco
$ -cwd
$ -j y
$ -q all.q
$ -pe orte 8
EOF

If this still does not work, try pointing local_submit_attributes_file
to the absolute path of your sge_local_submit_attributes.sh, and let'see
how it goes.

If this works as I hope, you should change sge_local_submit_attributes.sh along the lines of my previous mail, and have it read the attributes you need from +remote_cerequirements.

And... by the way: the 'queue' attribute can be set directly, via
+remote_queue.

Then I'll see that the fix gets pushed upwards.

Francesco P.


--
g.marco: Informatician at Sistemas Genómicos S.L
phone: 0034635197460
web: www.sistemasgenomicos.com