[ExM Users] How to pass --env to cobalt job

Justin M Wozniak wozniak at mcs.anl.gov
Mon Apr 14 10:57:51 CDT 2014


You can use

turbine-cobalt-run -e OMP_NUM_THREADS=16

just like any other environment variable.

You can validate that it worked with:

turbine-cobalt-run -V

for verbose and look for the generated qsub line and/or put

printf("threads: %s", getenv("OMP_NUM_THREADS"))

in your Swift script.

     Justin

On 04/14/2014 10:30 AM, Ketan Maheshwari wrote:
> Hi,
>
> I need to pass --env OMP_NUM_THREADS=16 to qsub resulting from 
> turbine-cobalt wrapper. How should I pass this?
>
> Thanks,
> Ketan
>
>
> _______________________________________________
> ExM-user mailing list
> ExM-user at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/exm-user

-- 
Justin M Wozniak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140414/cc817c5b/attachment-0001.html>


More information about the ExM-user mailing list