Salome Meca 2024.1 on WSL - Ready to use distribution
We provide the latest Salome Meca (2024.1), packaged and tweaked for use in WSL2, natively, ie without singularity. The beta testing phase showed very reliable results out of the box, comparable to the Linux (official) version.
Installation steps:
Download the following WSL2 distribution file (smeca-2024.1-wsl2-verified.tar.gz)
Create a folder in C:\smeca, then import the WSL machine in this location
Once done, a virtual disk should be created in C:\smeca.
Run the WSL distribution using the command.
wsl -d smeca-2024
You should see a welcome message, WSL should log in automatically as the default user smeca-user, the password is codeaster.
To run salome_meca, just type
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.
It works out-of-the-box! Amazing - thank you very much.
I’ve been running SM2022 in WSL since the time you made the youtube tutorial. It was a bit clanky, but this SM2024 seems to be running much smoother. I haven’t tested it thoroughly, but everything seems to work fine.
you need to explain how to run it (salome_meca shell as_run). When I run it in powershell not in WSL I’m getting error that salome_meca is not recognized as the name of a cmdlet
When I run it in WSL I;m getting list of possible functions. I also tried: salome_meca shell as_run --run 06.export
run_aster is the new way of launching code_aster using the full “pythonic” approach.
If you do run_aster <file.export> ; then this executes your case as you would have done with as_run.
If you do run_aster with no arguments, this opens a python interpretor where code_aster python library and all commands are available and you can then build your simulation interactively…
I have seen a reported bug with the “Probe” feature in the integrated post processing, I think it is corrected but in a more recent version of ASTERSTUDY. So for now, it’s better not to use it as to avoid crashes (this is not only relative to the windows version, the linux version will probably crash as well !).