CAELinux 2013: development and testing
- Stefan
- Offline
- Junior Member
- Posts: 20
- Thank you received: 0
Setting up code-aster-11.3-mpi (0.1-cae2013) ...
/var/lib/dpkg/info/code-aster-11.3-mpi.postinst: line 2: desktop-file-install: command not found
/var/lib/dpkg/info/code-aster-11.3-mpi.postinst: line 3: desktop-file-install: command not found
dpkg: error processing code-aster-11.3-mpi (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
code-aster-11.3-mpi
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don' t know if it's related to the fact that I'm using kubuntu instead of ubuntu
After you have done that, close and restart ASTK and it should work. Also to use the most ot of your computer's resources, you can edit /opt/aster113/etc/codeaster/aster-mpi-hostlist (or something close) to specify the right number of available cores (called slots in openmpi jargon) on your machine(s).
it appears that changing the hostname change is mandatory not optional. Without changing I get an "hostname unknown" error calling
as_run ../STA11.3/forma01a.export
It would be good to make the installation hostname independent (but I guess you considered this already^^)
with changing the hostname as_run works fine.
Edit: I tried your suggestions but not a chance with astk:
###############################################
Client name : kubuntu
Username : kubuntu
-----------------------------------------------
Server name : localhost
Username : kubuntu
Node : kubuntu
Platform : LINUX64
-----------------------------------------------
Code_Aster version : /opt/aster113/testing
-----------------------------------------------
Time (min) : 1
Memory (MB) : 80000.0
Number of processors : 1 (OpenMP)
Number of nodes : 1 (MPI)
Number of processors : 1 (MPI)
Mode : interactif
-----------------------------------------------
Debug mode : nodebug
-----------------------------------------------
BTC script : generated
-----------------------------------------------
Version ASTK Server : 1.11.0
Version ASTK Client : 1.11.0
###############################################
--------------------------------------------------------------------------------
Code_Aster execution
<INFO> prepare environment in /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global
adding a symbolic link /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global/asteru to /opt/aster113/testing/asteru...
[ OK ]
<INFO> no catalogue found for language 'en', use standard (fr) one...
adding a symbolic link /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global/Python/Cata/cata.py to /opt/aster113/testing/commande/cata.py...
[ OK ]
copying .../testing/elements... [ OK ]
--------------------------------------------------------------------------------
Copying datas
copying .../astest/forma01a.comm... [ OK ]
copying .../astest/forma01a.mmed... [ OK ]
<INFO> Parameters : memory 80000 MB - time limit 60 s
--------------------------------------------------------------------------------
Content of /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global before execution
total 19305
drwx------ 1 kubuntu kubuntu 472 Jun 10 09:39 .
drwx------ 1 kubuntu kubuntu 144 Jun 10 09:39 ..
-rw------- 1 kubuntu kubuntu 1193 Jun 10 09:39 27764-kubuntu.export
lrwxrwxrwx 1 kubuntu kubuntu 64 Jun 10 09:39 asteru -> /opt/aster113/testing/asteru
-rw------- 1 kubuntu kubuntu 6838 Jun 10 09:39 config.txt
-rw------- 1 kubuntu kubuntu 19660808 Jun 10 09:39 elem.1
-rw------- 1 kubuntu kubuntu 4253 Jun 10 09:39 fort.1.1
-rw------- 1 kubuntu kubuntu 78561 Jun 10 09:39 fort.20
drwx------ 1 kubuntu kubuntu 440 Jun 10 09:39 Python
drwx------ 1 kubuntu kubuntu 0 Jun 10 09:39 REPE_OUT
drwx------ 1 kubuntu kubuntu 0 Jun 10 09:39 RESU_ENSIGHT
--------------------------------------------------------------------------------
Code_Aster run
<INFO> Command line 1 :
<INFO> ./asteru Python/Execution/E_SUPERV.py -eficas_path ./Python -commandes fort.1 -num_job 27764-kubuntu -mode interactif -rep_mat /opt/aster113/STA11.3/materiau -rep_outils /opt/aster113/outils -rep_dex /opt/aster113/testing/datg -suivi_batch -memjeveux 10000.0 -tpmax 60
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not access
or execute an executable:
Executable: /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global/mpi_script.sh
Node: kubuntu
while attempting to start process rank 0.
--------------------------------------------------------------------------
EXIT_COMMAND_27854_00000017=131
<INFO> Code_Aster run ended, diagnostic : <F>_ABNORMAL_ABORT
--------------------------------------------------------------------------------
Content of /media/data/tmp/kubuntu-kubuntu-interactif.27764-kubuntu/global after execution
.:
total 19318
drwx------ 1 kubuntu kubuntu 472 Jun 10 09:39 .
drwx------ 1 kubuntu kubuntu 144 Jun 10 09:39 ..
-rw------- 1 kubuntu kubuntu 1193 Jun 10 09:39 27764-kubuntu.export
lrwxrwxrwx 1 kubuntu kubuntu 64 Jun 10 09:39 asteru -> /opt/aster113/testing/asteru
-rw------- 1 kubuntu kubuntu 6838 Jun 10 09:39 config.txt
-rw------- 1 kubuntu kubuntu 19660808 Jun 10 09:39 elem.1
-rw------- 1 kubuntu kubuntu 4253 Jun 10 09:39 fort.1
-rw------- 1 kubuntu kubuntu 4253 Jun 10 09:39 fort.1.1
-rw------- 1 kubuntu kubuntu 78561 Jun 10 09:39 fort.20
-rw------- 1 kubuntu kubuntu 21 Jun 10 09:39 fort.6
-rw------- 1 kubuntu kubuntu 21 Jun 10 09:39 fort.8
-rw------- 1 kubuntu kubuntu 21 Jun 10 09:39 fort.9
-rw------- 1 kubuntu kubuntu 2199 Jun 10 09:39 mpi_script.sh
drwx------ 1 kubuntu kubuntu 440 Jun 10 09:39 Python
drwx------ 1 kubuntu kubuntu 0 Jun 10 09:39 REPE_OUT
drwx------ 1 kubuntu kubuntu 0 Jun 10 09:39 RESU_ENSIGHT
REPE_OUT:
total 0
drwx------ 1 kubuntu kubuntu 0 Jun 10 09:39 .
drwx------ 1 kubuntu kubuntu 472 Jun 10 09:39 ..
--------------------------------------------------------------------------------
Size of bases
--------------------------------------------------------------------------------
Copying results
copying .../fort.6... [ OK ]
copying .../fort.8... [ OK ]
copying .../fort.9... [ OK ]
<F>_ABNORMAL_ABORT Code_Aster run ended
---------------------------------------------------------------------------------
cpu system cpu+sys elapsed
---------------------------------------------------------------------------------
Preparation of environment 0.00 0.10 0.10 0.56
Copying datas 0.01 0.00 0.01 0.03
Code_Aster run 0.00 0.02 0.02 0.02
Copying results 0.00 0.00 0.00 0.02
---------------------------------------------------------------------------------
Total 0.09 0.13 0.22 0.78
---------------------------------------------------------------------------------
(*) cpu and system times may be not correctly counted using mpirun.
as_run 1.11.0
------------------------------------------------------------
--- DIAGNOSTIC JOB : <F>_ABNORMAL_ABORT
------------------------------------------------------------
EXIT_CODE=4
I even tried to kick out caelinux from all files via
grep -rl "caelinux" /opt/aster113/* | xargs sed -i 's/caelinux/kubuntu/g'
please help I have no Idea where to look ...
Please Log in or Create an account to join the conversation.
- Joël Cugnoni
- Topic Author
- Offline
- Moderator
Thanks for reporting the error on desktop-file-install.. this seems specific to kubuntu. I will try to fix this in future packages.
Concerning the hostname in sarin, now it seems to be fine. The future packages will take care of this automatically.
For your runtime problem, this seems that it is linked to the fact that you don't have execution rights in
the /media/data/tmp folder that aster is using.
Usually default rights for removable media prevent execution on those drives. You should try to mount the drive with the 'exec' option or use another tmp directory.
Regards
Joël Cugnoni - a.k.a admin
www.caelinux.com
Please Log in or Create an account to join the conversation.
- Stefan
- Offline
- Junior Member
- Posts: 20
- Thank you received: 0
The hint worked fine.
I never had problems with the user rights
in the old caelinux 2011 ...
I'm currently working with low disk space, and thus had to use this trick
with an external hard drive. I hope to get new hardware soon.
Then I should also be able to make a full installation of kubuntu and should have less troubles =)
Another thing: I currently wrote an aster mode for emacs.
I want to package it in the near future. Is there the possibility
to add new packages to the caelinux project? (I don't want to
open a repository on Github for a single Lisp file ...)
Please Log in or Create an account to join the conversation.
- Stefan
- Offline
- Junior Member
- Posts: 20
- Thank you received: 0
jcugnoni wrote: Hi again,
Thanks for reporting the error on desktop-file-install.. this seems specific to kubuntu. I will try to fix this in future packages.
Regards
I had now the same problem testing the salome meca package.
After some searching: Post installing desktop-file-utils did the trick:
sudo apt-get install desktop-file-utils
Maybe this package is standard in ubuntu but not in kubuntu. I guess adding it to the dependencies of the cae linux packages should resolve this issue on kubuntu
SALOME MECA pacgage now installs and works fine
Please Log in or Create an account to join the conversation.
- stephen
- Offline
- New Member
- Posts: 8
- Thank you received: 0
I have just tried to install a program , ( mate desktop ) and all manner of problems with the update
to the point Im going to have upgrade to at least 12:04
this killed Salome last time and I couldn't reinstall , just wouldn't work for me
average Linux skills !
Stephen
Please Log in or Create an account to join the conversation.
- Daniel Stadlmayr
- Offline
- New Member
- Posts: 2
- Thank you received: 0
I just worked my way through this thread and the sourceforge-page.
Am I right, that there are currently only AMD64 packages abailable, but no EM64. ...
Is there any Intel 64bit package available? I can only find i386 which should be 32bit ...
Best regards from Austria
Please Log in or Create an account to join the conversation.