×

Notice

The forum is in read only mode.

CAELinux2010: password for CodeAster jobs

More
14 years 11 months ago #4447 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
More
14 years 11 months ago #4448 by Claus
Or set up password-less SSH login :whistle: ;)

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
More
14 years 11 months ago #4451 by JMB
Claus wrote:

Or set up password-less SSH login :whistle: ;)


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
Powered by Kunena Forum