Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2018-07-18 06:05:45

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Performance issues while creating groups

Hello everyone,
Good day.
I am using Salome meca v2018 and lately I'm observing that when I try to create groups, its taking longer than usual. Especially, when I have loaded a big assembly through STEP format and then try to create face groups on the geometry. The system hangs a lot.
This wasn't much of issue in v2017.02.

Attaching a STEP file which you can try as an example.

Is it possible to use GPU to do it somehow?
I hope someone looks into it.
Thanks
Anirudh Nehra

Last edited by Anirudh (2018-10-16 14:48:02)


Attachments:
M-101.step.tar.gz, Size: 256.81 KiB, Downloads: 207

Offline

#2 2018-07-18 13:27:13

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hello,
I am still unable to find a solution to the above problem.
Create group command is taking a lot of time.

Attaching another sample part file.
Please someone take a look.
Does anyone else face such an issue?

Thanks
Anirudh

Last edited by Anirudh (2018-07-19 06:27:04)


Attachments:
sample.tar.gz, Size: 153.95 KiB, Downloads: 196

Offline

#3 2018-07-23 17:10:39

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: Performance issues while creating groups

Hello,

Thanks for reporting that.

We'll transmit that to the SALOME team and get back to you.

TdS

Offline

#4 2018-07-24 18:33:16

biscarri
Member
From: Barcelona
Registered: 2012-01-25
Posts: 61

Re: Performance issues while creating groups

Hello,

I'm having the same problem than Anirudh has.

I need to define groups of 2D elements in a big model (1.5M shell elements) and it is a very hard task to be done in Salome, due to its very slow performance when working on group operations: manual selection of items, group creation, edition and boolean operations. It happens using both Salome-Meca versions 2017 and 2018.

It has occured also, when making a boolean cut between two mesh groups with v2018, to obtain a bad result (resulting group having much more elements than expected). It seems to be a problem of managing big quantities of items, since I have used those operations in the past and never give this kind of problems, with meshes much smaller.

My workstation has 16GB RAM, enough for such a big model, and a very good graphical card. My questions:

1)  Is it normal that slow performance loading Salome with such big meshes?
2)  Is there any configuration option in order to improve that performance?

Thanks a lot,
Lluis

Offline

#5 2018-07-25 12:19:06

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
I might as well add other few observations
>> Its still taking unusually long to save result files/specifying input mmed/Exporting .comm file from asterstudy etc(basically wherever a dialog box needs to be opened)
>>If its a GMSH related operation, canceling by user does not do anything if the calculation happen to stagnate. Salome main window hangs and needs to be terminated by the system monitor.
>>exploding shape into lower element type(STEP assembly to solids) is also taking longer.
>>turning on Aspect ratio 3d control always causes a SIGSEGV error.
s1.png

>>compound functionality in GMSH plugin moslty results with 'Algorithm failed'. (problemetic faces grouped in two groups in gray). I think this might be due to any face normal angular difference being more than 180 deg in a group.
s3.png

Thanks
Anirudh

Last edited by Anirudh (2018-07-26 13:16:01)

Offline

#6 2018-07-28 17:43:53

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: Performance issues while creating groups

Hello,

and thank you for this additional feedback.

I've not yet transmitted the first one but I'll do so as soon as possible given there are files to reproduce the error.
I also encourage to make any formal feedback on the SALOME modules to the salome-platform.org forum if you have not done so. Part of the SALOME developers do read this forum regularly, especially those in Russia responsible for the maintenance of geometry and mesh modules.

A few remarks though:

Anirudh wrote:

>> Its still taking unusually long to save result files/specifying input mmed/Exporting .comm file from asterstudy etc(basically wherever a dialog box needs to be opened)

Sorry to hear that. We've tried to improved that a lot in the 2018 version and have not noticed such slow behaviours on our test systems. Are you using Linux inside a VM?

Anirudh wrote:

>>turning on Aspect ratio 3d control always causes a SIGSEGV error.
https://image.ibb.co/kGSYJo/s1.png

This might indeed be a big problem. I've not been able to reproduce that on my own version of salome_meca 2018.
Have you a case that produces the error systematically?

TdS

Offline

#7 2018-07-28 18:24:30

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: Performance issues while creating groups

Thomas DE SOZA wrote:

Hello,

Thanks for reporting that.

We'll transmit that to the SALOME team and get back to you.

TdS

I've been unable to reproduce the slowdown, in the big steel structure, the time needed to add all the face groups is identical in 2017.0.2 and 2018 (approx. 30s on my computer).
On the smaller structure, it is almost instantaneous.

I do admit though that the GUI is little bit slow, I'll therefore pass the information to the SALOME team on this aspect.
Still, since a new geometry module is about to replace the existing one, I'm not sure this will be a priority.

TdS

Offline

#8 2018-07-30 06:02:54

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hello,
Thanks for the reply.
It looks like a graphics card issue/incompatibility. Without graphics drivers(only mesa drivers), The performance for group creation is OK with mesa driver(my system took 8s  to respond(ability to select a face) in v2017 with mesa driver but >2 min with AMD Graphics driver in v2018 on Linux Mint) but downside being other graphics capabilities are lost(for example working with a big mesh)
Unfortunately Salome 2018 does not work without graphics card drivers as pointed here: https://code-aster.org/forum2/viewtopic.php?id=23552. So v2018 does not work with just Mesa driver.

I have observed that the excessive time spent is during the initial operation:
Preselect geometry>Right click(Create Group)>Select one of radio buttons*(face/wire/vertices)
or
selecting the Geometry after opening the Create Group Dialog Box> Clicking one of Radio Buttons

The time during "Select all" is almost same in two versions.
I'm attaching the terminal output of Both Salome versions in opening and creating groups in the Big steel part. Maybe it can help spot some errors.
I tried posting on Salome forum(though not in detail) but no replies yet.
Is there a way to understand how Salome geometry module interacts with GPU?

Thanks and Regards
Anirudh

Last edited by Anirudh (2018-07-30 06:37:45)


Attachments:
terminal_output2017vs2018.tar.gz, Size: 10.01 KiB, Downloads: 186

Offline

#9 2018-07-30 21:39:56

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: Performance issues while creating groups

Hello,

Thanks for these additional details, I'll pass then on to the SALOME team.

Regarding the graphical card drivers issue, have you tried applying the workaround below instead of installing the proprietary drivers?
https://code-aster.org/forum2/viewtopic … 072#p57072

It appears the salome_meca 2018 LGPL version includes a problematic version of the libstdc++ library.

TdS

Offline

#10 2018-08-06 08:21:09

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
Thanks for the reply. I tried all methods but could not experience significant improvements. (Still takes > 1min 30 s for faces to be able to get selected)

Thanks
Anirudh

Offline

#11 2018-08-13 11:44:24

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
the following demo captures the delay. Right-click >open in new tab for fullscreen.
rock33_2018_08_13_16_04_03_1.gif

Thanks
Aniudh

Last edited by Anirudh (2018-08-13 11:49:18)

Offline

#12 2018-08-13 11:51:15

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Attaching part file for this demo.


Attachments:
NoExtraEdges_1.step, Size: 213.24 KiB, Downloads: 208

Offline

#13 2018-09-29 12:55:48

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hello,
Are there any updates on this issue?

Thanks

Offline

#14 2018-09-30 07:01:08

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 237

Re: Performance issues while creating groups

Hello Anirudh,
I tried your file "NoExtraEdges_1.step" on the following systems:

1) Windows 10 + VirtualBox + Salome-Meca 2018
2) Windows 10 + Salome-Meca for Windows 2018-3
2) Linux Mint + Salome-Meca 2018

There were no problems with the group creations, everything is instantaneous.

There may be an issue with your graphic card?

Konyaro


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#15 2018-09-30 07:34:23

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hello konyaro,
Thats good to know.
I am using AMD Graphics Card on Xubuntu (CAELINUX 2017 distro) but delay happens.
Are you using any graphics card driver?

Thanks
Anirudh

Offline

#16 2018-10-02 18:09:00

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 237

Re: Performance issues while creating groups

No, I didn't do anything with the drivers. I just had to add a graphics card on my old linux computer in order to be able to launch Salome-meca 2018, but then everything worked without any tuning.


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#17 2018-10-16 05:47:48

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
I reinstalled CAELInux 2017 and the AMD graphics driver, everything working well now.

Thanks
Anirudh

Offline

#18 2018-10-16 07:56:01

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
BUT there are more errors to be found out. It might happen to you, if you create a mesh using GMSH, however small, that you might end up entering some peculiar combination of mesh settings(particularly by adding face groups), and when GMSH starts to compute the mesh, the system gets hanged, all RAM is occupied by GMSH( however small the mesh might be). The only option then is to restart the system.

GMSH plugin is very unstable. It can cause the session to crash unexpectedly.

Thanks
Anirudh

Last edited by Anirudh (2018-10-16 08:03:37)

Offline

#19 2018-10-16 14:57:06

Anirudh
Member
Registered: 2017-09-11
Posts: 252

Re: Performance issues while creating groups

Hi,
There are problems with edges now. Sometimes, mesh edges go missing randomly, thus edge groups cannot be created. Attaching a picture.
ezgif-com-video-to-gif.gif

Thanks
Anirudh

Offline