Salome 3.2.1 & Code-Aster
- JMB
- Topic Author
- Visitor
-
18 years 8 months ago #551
by JMB
Salome 3.2.1 & Code-Aster was created by JMB
Hello all,
I am trying to use the new Salome 3.2.1 with Code-Aster 8.2.0 and am running into some problems. I have some very basic questions:
1. Is Salome 3.2.1 compatible with ASTER 8.2.0 07/12/2005?
2. Should one be exporting the Salome mesh for Code-Aster in MED format 2.1 or 2.2?
Thanks
JMB
I am trying to use the new Salome 3.2.1 with Code-Aster 8.2.0 and am running into some problems. I have some very basic questions:
1. Is Salome 3.2.1 compatible with ASTER 8.2.0 07/12/2005?
2. Should one be exporting the Salome mesh for Code-Aster in MED format 2.1 or 2.2?
Thanks
JMB
- João Marcelino
- Topic Author
- Visitor
-
18 years 8 months ago #570
by João Marcelino
Replied by João Marcelino on topic Re:Salome 3.2.1 & Code-Aster
Hi JMB
So far I think they are compatible, but I am not 100% sure. I think you should export in 2.2 format.
See my question below. Any idea?
Dear all,
First of all, thanks to the code-aster group for the wonderful software made available to the community.
Now here is my problem:
I have just installed both Salome 3.2.1 and Code-Aster 8.3. Code-Aster compilation/installation was almost perfect. When i try to run a job with ASTK, the job starts but ends almost immediately. To see what happened I open a console cd to /home/myhomedir/flasheur and try to run the job manually. For example
./barragem.u10833
Here is the message it produces:
[joao@localhost flasheur]$ ./barragem.u10833
/opt/aster/ASTK/ASTK_SERV/conf/aster_profile.sh: line 16: ulimit: core file size: cannot modify limit: Operation not permitted
###############################################
Client name : localhost
Username : joao
Server name : localhost
Username : joao
Node : localhost
Platform : P_LINUX
Code_Aster version : STA8.3
Time (min) : 4
Memory (MB) : 128
Number of processors : 1
Debug mode : nodebug
BTC script : generated
Version ASTK Server : 01.04.00
Version ASTK Client : 01.04.00
###############################################
Code_Aster execution
prepare environment in /tmp/interactif.10833
adding a symbolic link to /opt/aster/STA8.3/asteru... [ OK ]
adding a symbolic link to /opt/aster/STA8.3/commande/cata.py... [ OK ]
copying .../STA8.3/elements [ OK ]
Copying datas
copying .../barragem/barragem.comm [ OK ]
copying .../barragem/barragemmesh.med [ OK ]
Parameters : memory 128 MB - time limit 240 s
Content of /tmp/interactif.10833 before execution
total 6592
drwxr-xr-x 5 joao joao 4096 Aug 10 16:42 .
drwxrwxrwt 63 root root 4096 Aug 10 16:42 ..
-rw-r--r-- 1 joao joao 843 Aug 10 16:42 10833.export
lrwxrwxrwx 1 joao joao 24 Aug 10 16:42 asteru -> /opt/aster/STA8.3/asteru
-rw-r--r-- 1 joao joao 6553604 Aug 10 16:42 elem.1
-rw-r--r-- 1 joao joao 3064 Aug 10 16:42 fort.1
-rw-r--r-- 1 joao joao 145780 Aug 10 16:42 fort.20
drwxr-xr-x 13 joao joao 4096 Aug 10 16:42 Python
drwxr-xr-x 2 joao joao 4096 Aug 10 16:42 REPE_OUT
drwxr-xr-x 2 joao joao 4096 Aug 10 16:42 RESU_ENSIGHT
Traceback (most recent call last):
File \"/opt/aster/ASTK/ASTK_SERV/bin/as_run\", line 123, in ?
meth(run, *args)
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 307, in RunAster
run=run, conf=conf, prof=prof, build=build, exe=exetmp)
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 757, in _execute
_unlimit('core')
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 1216, in _unlimit
resource.setrlimit(param, (-1, -1))
ValueError: not allowed to raise maximum limit
[joao@localhost flasheur]$
It seems that I have a problem of permissions. If I su to root, the job runs OK.
Somebody can help?
So far I think they are compatible, but I am not 100% sure. I think you should export in 2.2 format.
See my question below. Any idea?
Dear all,
First of all, thanks to the code-aster group for the wonderful software made available to the community.
Now here is my problem:
I have just installed both Salome 3.2.1 and Code-Aster 8.3. Code-Aster compilation/installation was almost perfect. When i try to run a job with ASTK, the job starts but ends almost immediately. To see what happened I open a console cd to /home/myhomedir/flasheur and try to run the job manually. For example
./barragem.u10833
Here is the message it produces:
[joao@localhost flasheur]$ ./barragem.u10833
/opt/aster/ASTK/ASTK_SERV/conf/aster_profile.sh: line 16: ulimit: core file size: cannot modify limit: Operation not permitted
###############################################
Client name : localhost
Username : joao
Server name : localhost
Username : joao
Node : localhost
Platform : P_LINUX
Code_Aster version : STA8.3
Time (min) : 4
Memory (MB) : 128
Number of processors : 1
Debug mode : nodebug
BTC script : generated
Version ASTK Server : 01.04.00
Version ASTK Client : 01.04.00
###############################################
Code_Aster execution
prepare environment in /tmp/interactif.10833
adding a symbolic link to /opt/aster/STA8.3/asteru... [ OK ]
adding a symbolic link to /opt/aster/STA8.3/commande/cata.py... [ OK ]
copying .../STA8.3/elements [ OK ]
Copying datas
copying .../barragem/barragem.comm [ OK ]
copying .../barragem/barragemmesh.med [ OK ]
Parameters : memory 128 MB - time limit 240 s
Content of /tmp/interactif.10833 before execution
total 6592
drwxr-xr-x 5 joao joao 4096 Aug 10 16:42 .
drwxrwxrwt 63 root root 4096 Aug 10 16:42 ..
-rw-r--r-- 1 joao joao 843 Aug 10 16:42 10833.export
lrwxrwxrwx 1 joao joao 24 Aug 10 16:42 asteru -> /opt/aster/STA8.3/asteru
-rw-r--r-- 1 joao joao 6553604 Aug 10 16:42 elem.1
-rw-r--r-- 1 joao joao 3064 Aug 10 16:42 fort.1
-rw-r--r-- 1 joao joao 145780 Aug 10 16:42 fort.20
drwxr-xr-x 13 joao joao 4096 Aug 10 16:42 Python
drwxr-xr-x 2 joao joao 4096 Aug 10 16:42 REPE_OUT
drwxr-xr-x 2 joao joao 4096 Aug 10 16:42 RESU_ENSIGHT
Traceback (most recent call last):
File \"/opt/aster/ASTK/ASTK_SERV/bin/as_run\", line 123, in ?
meth(run, *args)
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 307, in RunAster
run=run, conf=conf, prof=prof, build=build, exe=exetmp)
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 757, in _execute
_unlimit('core')
File \"/opt/aster/ASTK/ASTK_SERV/lib/as_exec.py\", line 1216, in _unlimit
resource.setrlimit(param, (-1, -1))
ValueError: not allowed to raise maximum limit
[joao@localhost flasheur]$
It seems that I have a problem of permissions. If I su to root, the job runs OK.
Somebody can help?
- admin
- Topic Author
- Visitor
-
18 years 8 months ago #571
by admin
Replied by admin on topic Re:Salome 3.2.1 & Code-Aster
Yes,
I am not 100% sure, but this can be a problem of access permission in /opt/aster/ASTK directory. Try to chmod ASTK/ASTK_SERV directory to allow rw access to your user.
I am not 100% sure, but this can be a problem of access permission in /opt/aster/ASTK directory. Try to chmod ASTK/ASTK_SERV directory to allow rw access to your user.
- admin
- Topic Author
- Visitor
-
18 years 8 months ago #572
by admin
Replied by admin on topic Re:Salome 3.2.1 & Code-Aster
PS: concerning ASTER 8.2 + SALOME, maybe this could be solved by recompiling aster 8.2 with the med libraries of Salome (modify configurtion of aster build to point to MED / HDF libs of Salome)...
PS2: There is also another BIG BUG in SALOME 3.2.1: there is a large performance issue and memory leak when displaying geometrical objects in a VTK view (already listed in known bugs, in fact, this feature in not coded completely now).
So in this case, just avoid choosing \"Display\" for a geometrical object in the MESH module. If you need to select faces / edges etc.. to create groups of elements/nodes, just prepare GROUPS of geometrical entities in GEOM module (very usefull feature) and select them in the tree from the MESH module.
PS2: There is also another BIG BUG in SALOME 3.2.1: there is a large performance issue and memory leak when displaying geometrical objects in a VTK view (already listed in known bugs, in fact, this feature in not coded completely now).
So in this case, just avoid choosing \"Display\" for a geometrical object in the MESH module. If you need to select faces / edges etc.. to create groups of elements/nodes, just prepare GROUPS of geometrical entities in GEOM module (very usefull feature) and select them in the tree from the MESH module.
- João Marcelino
- Topic Author
- Visitor
-
18 years 8 months ago #573
by João Marcelino
Replied by João Marcelino on topic Re:Salome 3.2.1 & Code-Aster
I “admin” (sorry I don't know your name)
Unfortunately chmod didn't work.
I've issued the command:
chmod -v a+rw ASTK_SERV
inside the /opt/aster/ASTK folder.
I am not an expert in Linux, but I think this was the command you suggested.
Any more clues?
Thanks for your help.
Unfortunately chmod didn't work.
I've issued the command:
chmod -v a+rw ASTK_SERV
inside the /opt/aster/ASTK folder.
I am not an expert in Linux, but I think this was the command you suggested.
Any more clues?
Thanks for your help.
Moderators: catux
Time to create page: 0.157 seconds