Is it still possible to launch a study with the old-fashion way :
/opt/aster/bin/as_run --run mon_etude.export
?
It was very useful and efficient to run multiple studies and, moreover, link them with other internal or professionnal tools I have on my computer.
I’ve just downloaded the “Scibian10 Singularity container” and the last sif with Salome_Meca. Thank you : it works ! I have a graphical interface, with all the tools (Geometry, Mesh, etc.). But I do not figure out how to write and launch my own script, in a bash-style.
I wanted to download Aster without Salome, but I havnt found Aster alone I’ve tried to read :
user@mypc:~/sm22> ls
salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif
user@mypc:~/sm22> ./salome_meca-lgpl-2022.1.0-1-20221225-scibian-9 --shell
-bash: ./salome_meca-lgpl-2022.1.0-1-20221225-scibian-9: No such file or directory
user@mypc:~/sm22> singularity run ./salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif shell
*****************************************************
INFO : Running salome_meca in software rendering mode
*****************************************************
Then nothing happens. If I add << END, I cannot run the command (it waits for me to end the command line).
My reply went to show that short answers do not actually help beginners solve their problems. I share my own tests to save time for others.
@mf Since your first command contains install I did not run it since I had already downloaded the SIF (Singularity Image File) when following the tutorial by Hassan Berro.
I tried to run your first command just now: nothing else was installed, a Python file was created in the folder (salome_meca-lgpl-2022.1.0-1-20221225-scibian-9) and now the second line worked. I looked up “–app install” in the documentation, but it does not explain what it does in details. singularity run -h explains that:
--app string set an application to run inside a container
I do not understand what it means. No mention of “–app install”.
@k_zurawski I managed to do what you did in the PowerShell. When I tried:
singularity run ./salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif shell
again today in the Windows terminal, it worked! So @jeanpierreaubry’s command also works (without the << END). The conda environment approach is interesting.
My problem now is that many of the tests don’t work (forma01a, forma01b, forma02a, adlv100d):
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ <F> <JEVEUX1_71> ║
║ ║
║ La mémoire totale de 256.00 Mo allouée à l'étude est insuffisante, il est nécessaire ║
║ de disposer d'au moins 688.39 Mo uniquement pour démarrer l'exécution. ║
║ ║
║ ║
║ Cette erreur est fatale. Le code s'arrête. ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
This solved the problem (as described in the error message). I mentioned it because I was surprised a test would fail in the official container. Dose the required amount of memory change depending on the hardware?..
memjeveux controls the amount of memory (RAM) allocated to the Jeveux memory manager, which is used internally by Code_Aster for managing temporary data structures and computation buffers.
memory_limit is upper limit for the total memory that can be used by the analysis, including Jeveux memory and other memory used by the solver, libraries, and linked modules.
In my opinion, and this is only opinion not based on facts, the same testcase created years ago for standalone Code_Aster might require less memory than run in the latest Salome_Meca in container.