Message: selecting number of threads Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None selecting number of threads 

Forum: Multithreading
Date: 06 Nov, 2012
From: Andrea Di Simone <Andrea Di Simone>

Hi all,

one more question concerning the MT prototype. From a quick inspection of G4MTParTopC.icc I seem to understand that the number of threads is hardcoded to be argv[2].

Is there a way to bypass this and have a more flexible setting? I ask because I already have a rather complicated command line (parsed through getopt) and I prefer to avoid positional, unnamed arguments.

Thanks for your help,


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: selecting number of threads   (Andrea Dotti - 06 Nov, 2012)
(_ None: Re: selecting number of threads   (Andrea Di Simone - 06 Nov, 2012)
 Add Message Add Message
to: "selecting number of threads"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews