top of page
Search

Installing Salome Meca on Windows 11 using WSL2

  • Writer: Philip Dai
    Philip Dai
  • May 31
  • 2 min read

References:


Installing official Salome Meca on Windows 10/11 using WSL2


Salome Meca 2024.1 on WSL - Ready to use distribution



My attempt is summarized below:


Installation steps:


  1. Download the following WSL2 distribution file (smeca-2024.1-wsl2-verified.tar.gz)


  1. Create a folder in C:\smeca, then import the WSL machine in this location



  1. PS C:\temp\Code_Aster_Scratch> wsl --set-default-version 2

For information on key differences with WSL 2 please visit https://aka.ms/wsl2

The operation completed successfully.


  1. PS C:\smeca> wsl --import smeca-2024 C:\smeca C:\Downloads\smeca-2024.1-wsl2-verified.tar.gz

The operation completed successfully. Once done, a virtual disk should be created in C:\smeca. Can check distributions with the following command:

PS C:\smeca> wsl --list


Windows Subsystem for Linux Distributions:

Ubuntu-20.04 (Default)

smeca-2024

Ubuntu-24.04


  1. PS C:\smeca> wsl -d smeca-2024


This runs the WSL distribution using the command. You should see a welcome message, WSL should log in automatically as the default user & password.



We suggest that you change the default password as soon as possible for security reasons.


Please note that this distribution is shipped with a working (official) installation of

Salome Meca 2024.1.0 LGPL release. The following shortcuts are ready to be used to

leverage the different tools included with Salome Meca:


|--------------------------------------------------------------------------------------------|

| salome_meca : runs the main GUI if no arguments are provided, can be used to run a |

| salome shell or start a session in the background |

| run_aster : runs the entry point to the new pythonic code_aster library and can |

| be used as an alternative to the legacy as_run to execute export files |

|-----------------------------------------------------------------------------------------------------------------------|

| astk : runs the legacy (older) interface to code_aster |

| as_run : runs the legacy (older) command line interface to code_aster |

|-------------------------------------------------------------------------------------------|


Note that this message is shown only on the first 5 logins, but can be recalled using the

command : welcome


Salome Meca / code_aster development team from EDF R&D Saclay (January 2025)



  1. Run salome_meca:


To run salome_meca, just type


smeca-user@DESKTOP:/mnt/c/smeca$ salome_meca



Other tools that are available (and checked during beta testing) from the command line (aliases are already created) :


run_aster

as_run

astk


If you get a "clicking" issue with the salome main window, press F11 to go to fullscreen and then F11 again to exit full screen. This seems to fix the issue.




-------------------------------------------------------------------------------

ParseXmlFiles Warning, two resources with the same name were found, taking the first declaration : localhost


The Salome Meca window opens:




This installation approach doesn't have limitations related to singularity containers.

 
 
 

Recent Posts

See All
Poor Richard's Almanack

Poor Richard's Almanack  was a yearly almanac published by Benjamin Franklin under the pseudonym "Richard Saunders." It was first...

 
 
 

Comentarios


©2020 by TF Analysis. Proudly created with Wix.com

bottom of page