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

You are not logged in.

#1 2021-10-09 20:52:38

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 263

[SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Dear All,

I am facing problems in Launching Aster_Study module in Salome-Meca 2021.0.0 (singularity container). The details are described below:

1. I have installed singularity version 3.5.3 from source in Ubuntu 18.04 following the procedure as described in
  https COLON SLASH SLASH singularity-tutorial.github.io/01-installation/
2. The singularity seems to run perfectly. I have tested it as described in
https COLON SLASH SLASH singularity-tutorial.github.io/02-basic-usage/
3a. Then I used "run" command to run the salome-meca 2021.0.0 (singularity container). Note that I have checked the md5sum of the downloaded .sif file and found OK
3b.  Used the following command for (3a):

 singularity run salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif 

4a. The salome-meca seems running well in GEOM and MESH module. Tested it by openning old hdf files generated using salome-mec-2019.0.3 version. The output obtained in the terminal  (step 3b) is as follows:
     

 
     sukumar@sukumar-H110M-S2PH:~/Downloads/SMeca_2021$ singularity run salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif 
*****************************************************
INFO : Running salome_meca in software rendering mode
*****************************************************
runSalome running on sukumar-H110M-S2PH
Searching for a free port for naming service: 2810 - OK
Searching Naming Service  + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service  ++++++++ found in 4.0 seconds 
Start SALOME, elapsed time :   4.4 seconds
****************************************************************
     Warning: module GHS3DPLUGIN is improperly configured!
     Module GHS3DPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GHS3DPRLPLUGIN is improperly configured!
     Module GHS3DPRLPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module BLSURFPLUGIN is improperly configured!
     Module BLSURFPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HexoticPLUGIN is improperly configured!
     Module HexoticPLUGIN will not be available in GUI mode!
****************************************************************

4b. However, whenever I try to start ASTER-STUDY module, it gives me the following error:

 Mesa: User error: GL_INVALID_OPERATION in glBlitFramebuffer(depth attachment format mismatch)
Mesa: 1 similar GL_INVALID_OPERATION errors
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_ALPHA_TEST)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_LIGHTING)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_1D)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_2D)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: 7 similar GL_INVALID_OPERATION errors
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_ALPHA_TEST)
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_LIGHTING)
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_TEXTURE_1D)
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_TEXTURE_2D)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: 5 similar GL_INVALID_OPERATION errors
Mesa: User error: GL_INVALID_OPERATION in glBlitFramebuffer(depth attachment format mismatch)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_ALPHA_TEST)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_LIGHTING)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_1D)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_2D)

5. The above message keeps on repeating for large numbers of times.
6. The screen-shot of the Aster-Study module is also attached for kind perusal.

7. Please help to figure out the issue. My host OS (Ubuntu 18.04LTS) is otherwise running fine. I have installed all mesa pre-requisites.

Note that I do not have any GPU in my box and it uses built-in intel display:
-OpenGL-
Vendor        : Intel Open Source Technology Center
Renderer        : Mesa DRI Intel(R) HD Graphics 630 (KBL GT2)
Version        : 3.0 Mesa 20.0.8
Direct Rendering        : Yes

Looking forward to listen from learned community members.

With warm regards.

Sukumar

Last edited by sb1966 (2021-10-11 22:54:08)


Attachments:
SM_2021_Error.png, Size: 115.31 KiB, Downloads: 209

Offline

#2 2021-10-11 08:42:52

APereira
Member
Registered: 2021-09-30
Posts: 34

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi,

I have the same issu, probably something due to Graphical Card hmm. I do not solve the problem for now, but sometimes re-dimensionning the window do not avoid error messages but reset the view and make it usable.

Offline

#3 2021-10-11 11:31:45

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,183

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hello,

You should see --run-help and execute:

singularity run --app install salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif

Then, start salome_meca using the extracted script named `salome_meca-lgpl-2021.0.0-1-20210811-scibian-9`.

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#4 2021-10-11 14:44:55

APereira
Member
Registered: 2021-09-30
Posts: 34

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi,

I did it this way, and I also tried with the software rendering mode '--soft' but  that's not better

Offline

#5 2021-10-11 22:48:26

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 263

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

mathieu.courtois wrote:

singularity run --app install salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif

Then, start salome_meca using the extracted script named `salome_meca-lgpl-2021.0.0-1-20210811-scibian-9`.

Dear Mathieu and APereira,

Thanks a lot for your quick replies.
I followed the instructions of Mathieu

  cd <path to salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif>
singularity run --app install salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif
 ./salome_meca-lgpl-2021.0.0-1-20210811-scibian-9
 
 

And, it worked like miracle, after some initial glitches in the Aster-Study Module.

However, I continue to get the message of GL-Error (as shown in my initial post) in the terminal launching S-Meca-2021.0.0

I am marking this post as [SOLVED] and attaching a screen-shot of a running instance.

BTW, how to change the default language to 'EN'?

Thanks once again to Mathieu and APereira.

With warm regards.

Sukumar

Last edited by sb1966 (2021-10-11 22:51:09)


Attachments:
AsterStudy_21.png, Size: 180.85 KiB, Downloads: 225

Offline

#6 2021-11-12 05:05:05

CyprienRusu
Member
Registered: 2021-11-12
Posts: 6

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi All,

I was able to install the latest salome_meca V2021.0.0 using the procedure on the download page on my Ubuntu 20.04 LTS computer.

I can launch it too using the 2 command lines:

mathieu.courtois wrote:

     singularity run --app install salome_meca-lgpl-2021.0.0-1-20210811-scibian-9.sif
    Then, start salome_meca using the extracted script named `salome_meca-lgpl-2021.0.0-1-20210811-scibian-9`.

I believe I have tried everything here (like the --soft option for example)
But when I launch Aster Study, the initial view displays only a small rectangle and the rest is transparent and shows my computer desktop.
Then on the terminal, I get a lot of warnings:

Mesa: User error: GL_INVALID_OPERATION in glBlitFramebuffer(depth attachment format mismatch)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_ALPHA_TEST)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_LIGHTING)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_1D)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_2D)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: 7 similar GL_INVALID_OPERATION errors

--> See the screen capture attached

Eventually, I can still use Aster_study as the view becomes normal after I perform a few clicks, but the error message stays and repeat to infinity...

So my question is:
How do I make this message disappear?

This looks like a problem of OpenGL and Mesa because it is working in software rendering mode.
I thought upgrading to the latest Mesa driver may solve it, so I tried yesterday and it didn't work

This is the version I am using:

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.2.5 - kisak-mesa PPA

I have read on the Salome Website that Mesa 19.0.8 is recommended for Salome 9.7... Might that be that my installed version of Mesa is too recent?

I wanted to try the downgrade, but there seems to be no easy way and compiling from source the 19.0 version of Mesa since a bit over-complicated

Do you have any advice on how to solve this?

Thank you so much

Cyprien


Attachments:
Screenshot from 2021-11-12 11-28-03.png, Size: 631.89 KiB, Downloads: 240

Offline

#7 2021-11-13 09:37:50

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 149

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi Cyprien,

Are you using ubuntu in a virtual machine ?

The Mesa warnings and errors are not harmful and can be safely ignored. They basically relate to hardware unavailable features for rendering which are explicitly used by some salome modules and viewers, but everything should work fine in software fallback mode. The only effect can be performance for big models and for that a good nvidia GPU should fix everything.

Mesa and other graphical libs are already packaged from with in the singularity container and are carefully configured for salome, there is no need whatsoever to install anything on the host system, the lightest linux system should do just fine, only prerequisite is Singularity.

If you really need to hide the errors, you can try to append

2>/dev/null

To your terminal command with singularity, but that may also hide errors that you would otherwise still get to monitor.

Regards,
HB

Offline

#8 2021-11-14 04:29:07

CyprienRusu
Member
Registered: 2021-11-12
Posts: 6

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi Hberro,

Thank you for your answer!

So, I am not using a virtual machine, but I think you helped me to pinpoint the problem.
I realized that my Nvidia graphic card's proprietary drivers are not installed correctly, so I guess that's why singularity was using automatically the software rendering mode.

I tried to install the drivers yesterday, but I ended up with a black screen and having to reinstall my gnome desktop.
I'll have to work on that to see how to install those drivers...

Thank you again, I appreciate your help!

Cyprien

Offline

#9 2021-11-15 08:17:57

scs
Member
Registered: 2021-11-15
Posts: 3

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

@Cyprien

Waiting for your youtube video on installation on ubuntu 18.04 & how to Run Latest Version.

Nice to have you in Forum.

Offline

#10 2021-11-19 04:07:02

CyprienRusu
Member
Registered: 2021-11-12
Posts: 6

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi Guys,

Just 2 days after, I finally found the solution to solve the Mesa Error messages I was getting!
So it was because my Nvidia Graphic card was not installed correctly in Ubuntu 20.04.

Here's how I solved the problem:
- Go on the Nvidia.com/Download website and check the latest version of drivers for your card
- In terminal enter

sudo apt install nvidia-driver-XXX

(XXX was 470 for me, make sure you use the right version for your card!)

sudo prime-select nvidia

Reboot
After reboot you will see a blue screen

Choose Enroll MDK, Then Continue and Yes
Enter the secure boot password created during the driver installation.
(If you have a french keyboard, you might have to type your password in QWERTY... Try that if your password doesn't work)
 
Reboot again and now Salome Meca should work in GPU Mode Normally!

PS:

I finally put online the video showing the step by step process to install Salome Meca 021
Just search "Install Salome Meca 2021 with singularity" on Youtube and you will find it

Offline

#11 2021-11-22 10:59:05

holmesthinking
Member
Registered: 2021-01-20
Posts: 1

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi,
I have same problem but on virtual machine. Is there any way to use Salome-Meca-2021 singularity container on ubuntu 20.04 virtual machine without visualization problems?

Offline

#12 2021-11-29 17:49:41

Andrea.24
Member
Registered: 2021-11-20
Posts: 13

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

Hi to all,
I have the same problem with VmWare. I'm unable to fix this error. Does anyone have any ideas?
Thanks to all.

Offline

#13 2022-01-31 09:42:47

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 149

Re: [SOL]Problem in launching ASTER-STUDY Module in Salome-Meca-2021(.sif)

If you encounter the "small Asterstudy viewer" issue. Switch to Paraview module and then back to Asterstudy, this should fix the viewer issue.

As for the MESA warnings and errors in the terminal, you can try

export MESA_GL_VERSION_OVERRIDE=3.2

just before running the container

Offline