Small memory problem with piston tutorial
- Poddey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
10 years 3 months ago #7738
by Poddey
Small memory problem with piston tutorial was created by Poddey
Hi all,
I decided to test salome / code aster on my machine which has only 500 Mb.
When solving the piston example, the aster run gives me the below shown error.
Are the 762 Mb absolutely necessary or is this a configurational issue?
I found the configuration for as run and set the memmax to 256 (as you can see below for the limit of available memory).
Can I configure something somewhere to tell salome to request less tha 762 Mb?
By the way, shoul I jsut ignore the warning concernin ASTK server and client versions or do I have to do something else?
Thank You!
Alex
I decided to test salome / code aster on my machine which has only 500 Mb.
When solving the piston example, the aster run gives me the below shown error.
Are the 762 Mb absolutely necessary or is this a configurational issue?
I found the configuration for as run and set the memmax to 256 (as you can see below for the limit of available memory).
Can I configure something somewhere to tell salome to request less tha 762 Mb?
By the way, shoul I jsut ignore the warning concernin ASTK server and client versions or do I have to do something else?
Thank You!
Alex
######################################################################
WARNING : ASTK Server version 1.13.4 differs from
ASTK Client version 1.10.0.
An update from Server or Client is necessary.
This execution may fail !
If it works results should be correct.
######################################################################
###############################################
Client name : debianPC
Username : alexp
-----------------------------------------------
Server name : localhost
Username : alexp
Node : localhost
Platform : LINUX64
-----------------------------------------------
Code_Aster version : /home/alexp/salome/V2014_2/tools/Code_aster_frontend_20142/../Code_aster_stable_1160/share/aster
-----------------------------------------------
Time (min) : 10
Memory (MB) : 762.0
Number of processors : 1 (OpenMP)
Number of nodes : (MPI)
Number of processors : (MPI)
Mode : interactif
-----------------------------------------------
Debug mode : nodebug
-----------------------------------------------
BTC script : generated
-----------------------------------------------
Version ASTK Server : 1.13.4
Version ASTK Client : 1.10.0
###############################################
--------------------------------------------------------------------------------
Code_Aster execution
<INFO> prepare environment in /tmp/alexp-debianPC-interactif.0007-11556-debianPC
copying .../aster/elements... [ OK ]
--------------------------------------------------------------------------------
Copying datas
copying .../test1/study1.comm... [ OK ]
copying .../test1/linear-static.mmed... [ OK ]
<INFO> Parameters : memory 762 MB - time limit 600 s
<E>_INCORRECT_PARA Requested memory (762.0 MB) is higher than the limit (256 MB)
- Claus
- Offline
- Moderator
Less
More
- Posts: 670
- Thank you received: 34
10 years 3 months ago #7741
by Claus
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Replied by Claus on topic Re: Small memory problem with piston tutorial
You can use a - *shutter* - swap file/partition to increase your memory, or decrease the number of elements in the model.
/C
/C
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- Poddey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
10 years 3 months ago - 10 years 3 months ago #7743
by Poddey
Replied by Poddey on topic Re: Small memory problem with piston tutorial
Sorry for the late answer, I seem to have damaged my RAM while unmounting to see if I could upgrade it. Now I have 1Gb running, a 2nd Gb will follow.
Where can I find some documentation on how to do this ( *shutter* - swap file/partition )?
I searched the official docu, but did not find anything.
Is it a code_aster or salome setting?
Can i find the docu in a single pdf file, so that one can easily search through the complete contents?
Tanks a lot and sorry for the newbie questions....
Alex
Where can I find some documentation on how to do this ( *shutter* - swap file/partition )?
I searched the official docu, but did not find anything.
Is it a code_aster or salome setting?
Can i find the docu in a single pdf file, so that one can easily search through the complete contents?
Tanks a lot and sorry for the newbie questions....
Alex
Last edit: 10 years 3 months ago by Poddey.
- Claus
- Offline
- Moderator
Less
More
- Posts: 670
- Thank you received: 34
10 years 3 months ago #7745
by Claus
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Replied by Claus on topic Re: Small memory problem with piston tutorial
A swap file or partition is not specific to Code_Aster or other. It is part of the operating system, so you have to find out how to create one.
It is fairly easy with few commands and can be done on the fly, but try to find directions specific to your distribution.
/C
It is fairly easy with few commands and can be done on the fly, but try to find directions specific to your distribution.
/C
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- Poddey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
10 years 3 months ago #7746
by Poddey
Replied by Poddey on topic Re: Small memory problem with piston tutorial
oh, a linux swap parttition? I have one, for sure.
The problem is that it isn't used.
My question was related to the *shutter* comment. Do I have to make a setting somewhere for salome/meca/code aster to use the swap partition?
Alex
The problem is that it isn't used.
My question was related to the *shutter* comment. Do I have to make a setting somewhere for salome/meca/code aster to use the swap partition?
Alex
- Claus
- Offline
- Moderator
Less
More
- Posts: 670
- Thank you received: 34
10 years 3 months ago #7749
by Claus
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Replied by Claus on topic Re: Small memory problem with piston tutorial
If you have an active swap partition, then Linux will automatically use all available ram/swap
I wrote *shutter* because swaps has a huge negative impact on performance.
Depending on the size of your swap, you could still be running out of memory when you have a desktop environment and Salomé running along with Code_Aster. Use the command 'free' to see what you have available.
The answer is still the same as before: Decrease the number of elements in the model if you want it to use less RAM.
/C
I wrote *shutter* because swaps has a huge negative impact on performance.
Depending on the size of your swap, you could still be running out of memory when you have a desktop environment and Salomé running along with Code_Aster. Use the command 'free' to see what you have available.
The answer is still the same as before: Decrease the number of elements in the model if you want it to use less RAM.
/C
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Moderators: catux
Time to create page: 0.195 seconds