Re: [fluka-discuss]: RE: Fluka on OpenPBS - only one core is used

From: M. Nicola Mazziotta <Marionicola.Mazziotta_at_ba.infn.it>
Date: Tue, 21 Mar 2017 15:31:20 +0100

Hi,


if you are running on a local multi-core pc and if you have enough
ram/core an other option is taskset

http://linuxcommand.org/man_pages/taskset1.html


Of course in this case you will run different jobs in parallel.


Nicola




Il 21/03/2017 14:56, Philippe Schoofs ha scritto:
>
> Hi Alex,
>
> I’m not sure about PBS, so I’d like to let someone more expert answer
> that part of the question. As for what concerns you second question
> you can get more information about statistics and sampling in the
> following lecture of the fluka course HERE
> <https://indico.cern.ch/event/442634/contributions/1096541/attachments/1185162/1717804/09_Statistics_and_sampling_2015.pdf>
>
> In short both options are fine, and there is an obvious interest in
> running your 24 jobs in parallel so you should do that.
>
> The equation on slide 33 will show you that there is a slight
> difference between the error estimates (which is linked directly to
> the variance) between the two cases. In one case, you have more
> cycles/batches so the first factor goes down, and in the other, you
> have more primaries per cycle so most likely the (mean of squares –
> square of mean) will be lower. The error will be slightly smaller in
> the former case, but I encourage you to check to get convinced.
>
> Best regards
>
> Philippe
>
> *From:*owner-fluka-discuss_at_mi.infn.it
> [mailto:owner-fluka-discuss_at_mi.infn.it] *On Behalf Of *Ševcik Aleksandras
> *Sent:* 21 March 2017 10:42
> *To:* Alfredo Ferrari <fluka-discuss_at_fluka.org>
> *Subject:* [fluka-discuss]: Fluka on OpenPBS - only one core is used
>
> Dear experts,
>
> I'got an access on the cluster grid that uses OpenPBS. The only help I
> can get is the google, and combined with no any experience it leads to
> this forum as the last chance.
>
> In a nut, I have a script which successfully launches the job, see the
> attached file. But only one core is used out of 8 (each node has 8 cores).
>
> 1) how should I modify the script to launch 8 jobs at once ? I imagine
> that process is similar like Flair uses. I'm aware that .inp file
> should contain RANDOMIZ card with default value.
>
> 2) If I want to utilize 3 nodes with 8 cores each, can I launch 24
> jobs then? As I understand , 12 runs x 1E8 events are not equivalent
> to 24 runs x 5E7 events , are they?
>
> Regards
>
> Alex
>



---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Mar 21 2017 - 16:29:56 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 21 2017 - 16:29:58 CET