This is covered here:
On Jan 8, 2014, at 7:47 AM, Alessandro <a.sabellico@xxxxxxxxx> wrote:
> Thank you for your answers! I did a dump with condor_submit and got all informations from there.
>
> I have 2 more question. Sorry about that i'm new to htcondor, and even if I read the manual I couldn't find this informations.
>
> I'm using STARTER_JOB_ENVIRONMENT in my nodes configuration files to define some environment variables used during jobs. Now i would need to source a file with some others environment variables definition (actually an OpenFOAM environment definition). is it possible to source a bash file from condor configuration file?
http://research.cs.wisc.edu/htcondor/manual/v8.1/3_3Configuration.html#SECTION00431400000000000000
Basically,
LOCAL_CONFIG_FILE=/path/to/script.sh|
The script output is parsed as configuration variables.
You can use STARTD_ATTRS to produce the labels (or, if they aren't static, use a STARTD_CRON to launch a script which outputs the labels) which appear in the machine's classad.
>
> the second question is: is it possibile to "label" the starter nodes (for example node 1 is LABEL_A, LABEL_B, LABEL_C ; node 2 is LABEL_D, LABEL_A) and then assign a job with LABEL_X to an appropriate node?
>
Then, you can use Requirements (http://research.cs.wisc.edu/htcondor/manual/v8.1/2_5Submitting_Job.html#SECTION00352000000000000000) in the jobs to make sure a given job requires a particular label to be present.
Brian
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
"I Re, i Signori, i ricchi si sono divisi fra loro la terra inventando due tremende parole, il mio e il tuo, siepe di ferro tra te e i tuoi bisogni. Nessuno ha diritto al superfluo fino a che vi sarà un sol uomo che manchi del necessario"