RE: [fluka-discuss]: Error with bringing up geoviewer

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Mon, 28 Oct 2013 09:43:11 +0000

Uncomment this card
and set the requested number of threads. Proabably I will make this as a user option in the next versions of flair.

Best Regards
Vasilis Vlachoudis
Dep EN, CERN
CH-1211 GENEVA 23
SWITZERLAND

Phone: +41-22 767 9851
GSM: +41-76 487 4378
Fax: +41-22 766 9644


________________________________________
From: Mina Nozar [nozarm_at_triumf.ca]
Sent: 25 October 2013 23:33
To: Vasilis Vlachoudis; fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]: Error with bringing up geoviewer

Thanks Vasilis,

How does one change the number or threads?
What does

", threadpool(2)" do?


Are you saying I should change the 2 to 4 or 6?

Thanks,
Mina




On 13-10-25 01:06 AM, Vasilis Vlachoudis wrote:
> Hi Mina,
>
> each geometry viewer creates a pool of threads equal to the number of the cores. Maybe since you have 24 cores x 4 = 96 threads are
> exceeding the system settings. You could try to limit the number of requested threads per viewer by
> un comenting the line 127 of the viewer.cc
> #ifdef THREAD
> , threadpool(2)
> #endif
> and change to the number of threads you like the system to create.
> My guess 4-6 should be sufficient.
>
> Vasillis
>
> ________________________________________
> From: Mina Nozar [nozarm_at_triumf.ca]
> Sent: 24 October 2013 19:25
> To: Vasilis Vlachoudis; fluka-discuss_at_fluka.org
> Subject: Re: [fluka-discuss]: Error with bringing up geoviewer
>
> Hi Vasilis,
>
> The system os is 'Scientific Linux release 6.4 (Carbon)'.
> System has 24 GB of ram and 24 'Intel(R) Xeon(R) X5650 _at_ 2.67GHz' CPUs.
>
> Is there other info. you need that I can provide?
> Mina
>
> On 13-10-24 01:44 AM, Vasilis Vlachoudis wrote:
>> Hi Mina,
>>
>> this is a very strange message. It seems that the system resources are exhausted and cannot open new
>> threads. What kind of OS you have installed on the cluster?
>>
>> Vasilis
>>
>> ________________________________________
>> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Mina Nozar [nozarm_at_triumf.ca]
>> Sent: 23 October 2013 23:39
>> To: fluka-discuss_at_fluka.org
>> Subject: [fluka-discuss]: Error with bringing up geoviewer
>>
>> Hello everyone,
>>
>> I am getting the following error when trying to bring up the geometry
>> editor on a newly built flair/geoveiwer on a HPC cluster.
>> The flair window blanks out/freezes and I see these messages in the
>> output window:
>>
>>
>> Wed Oct 23 14:20:23 2013 flair
>> Wed Oct 23 14:20:12 2013 Starting flair V1.1-3
>> Wed Oct 23 14:20:12 2013 Loading databases
>> Wed Oct 23 14:20:13 2013 Starting Interface
>> ERROR: cannot create thread
>> ERROR: cannot create thread
>> ...
>> ...
>> ...
>> ...
>> pthread_create: Resource temporarily unavailable
>> System error spawning in background the projection.
>> Switching to synchronous mode
>> pthread_create: Resource temporarily unavailable
>> System error spawning in background the projection.
>> Switching to synchronous mode
>>
>>
>>
>> Anyone knows what the problem and fix is?
>>
>> Thanks in advance,
>> Mina
>>
>>
Received on Mon Oct 28 2013 - 11:45:39 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 28 2013 - 11:46:10 CET