CAELinux2010: password for CodeAster jobs
- JMB
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 166
- Thank you received: 0
14 years 11 months ago #4447
by JMB
CAELinux2010: password for CodeAster jobs was created by JMB
Hello All,
I recently, installed CAELinux2010 on a PC and ran into some troubles which I worked my way through. I am documenting them for anybody else who might need to do the same.
1. A default text based install from the DVD failed, so I had to use the GUI method of installation. My guess is the existing partition (Ubuntu 9.04) prevented CAELinux2010 partitioning/ ext4 formatting and to choke on itself?
2. When installing via the GUI method, I chose to call my PC something other than 'caelinux' (say 'ubuntu'). That causes ASTK jobs and CodeAster to prompt for the user's password for every job! I lived with it for a while until I decided to compile CodeAster 10.2 and run the 30 odd tests. Big mistake! I got tired to giving it my password 30+ times...
Here is the fix (assuming 'ubuntu' is the name of your PC):
[code:1]
sudo cp /opt/aster/etc/codeaster/astkrc/config_serveurs /opt/aster/etc/codeaster/astkrc/config_serveurs.orig
sudo sed --in-place 's/caelinux/ubuntu/g' /opt/aster/etc/codeaster/astkrc/config_serveurs
sudo cp /opt/aster/etc/codeaster/asrun /opt/aster/etc/codeaster/asrun.orig
sudo sed --in-place 's/caelinux/ubuntu/g' /opt/aster/etc/codeaster/asrun
[/code:1]
Hope this helps!
Regards,
JMB
Post edited by: JMB, at: 2010/07/20 00:11<br /><br />Post edited by: JMB, at: 2010/07/20 00:11
I recently, installed CAELinux2010 on a PC and ran into some troubles which I worked my way through. I am documenting them for anybody else who might need to do the same.
1. A default text based install from the DVD failed, so I had to use the GUI method of installation. My guess is the existing partition (Ubuntu 9.04) prevented CAELinux2010 partitioning/ ext4 formatting and to choke on itself?
2. When installing via the GUI method, I chose to call my PC something other than 'caelinux' (say 'ubuntu'). That causes ASTK jobs and CodeAster to prompt for the user's password for every job! I lived with it for a while until I decided to compile CodeAster 10.2 and run the 30 odd tests. Big mistake! I got tired to giving it my password 30+ times...
Here is the fix (assuming 'ubuntu' is the name of your PC):
[code:1]
sudo cp /opt/aster/etc/codeaster/astkrc/config_serveurs /opt/aster/etc/codeaster/astkrc/config_serveurs.orig
sudo sed --in-place 's/caelinux/ubuntu/g' /opt/aster/etc/codeaster/astkrc/config_serveurs
sudo cp /opt/aster/etc/codeaster/asrun /opt/aster/etc/codeaster/asrun.orig
sudo sed --in-place 's/caelinux/ubuntu/g' /opt/aster/etc/codeaster/asrun
[/code:1]
Hope this helps!
Regards,
JMB
Post edited by: JMB, at: 2010/07/20 00:11<br /><br />Post edited by: JMB, at: 2010/07/20 00:11
- Claus
-
- Offline
- Moderator
-
Less
More
- Posts: 670
- Thank you received: 34
14 years 11 months ago #4448
by Claus
Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Replied by Claus on topic Re:CAELinux2010: password for CodeAster jobs
Or set up password-less SSH login


Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
- JMB
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 166
- Thank you received: 0
14 years 11 months ago #4451
by JMB
Replied by JMB on topic Re:CAELinux2010: password for CodeAster jobs
Claus wrote:
I tried that and at that time for me it did not prevent CodeAster from asking for password, so I modified the CodeAster/ASTK config files. I think they both assume that the current PC is 'caelinux' and therefore any job to be placed on 'ubuntu' must require a login. That was my theory. I may be wrong, but for now it works and I am happy...
JMB
Or set up password-less SSH login
![]()
I tried that and at that time for me it did not prevent CodeAster from asking for password, so I modified the CodeAster/ASTK config files. I think they both assume that the current PC is 'caelinux' and therefore any job to be placed on 'ubuntu' must require a login. That was my theory. I may be wrong, but for now it works and I am happy...
JMB
Moderators: catux
Time to create page: 0.149 seconds