salome-meca2007 ubuntu 7.10

More
16 years 4 months ago #1568 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:salome-meca2007 ubuntu 7.10
Ok, now I have it...

you should modify the following files:
/opt/SALOME-MECA-2007.1-GPL/postintall/orig/prefs
/opt/SALOME-MECA-2007.1-GPL/aster/ASTK/ASTK_CLIENT/lib/ASTK/astkrc

and modify/add the following lines:
remote_copy_protocol : SCP
remote_shell_protocol : SSH

Then delete .astkrc & .astkrc-salome in your home folder and rerun the postinstall.py script in /opt/SALOME-MECA-2007.1-GPL/postintall

Additionnally, you have to be sure that you can use ssh without password. You can use the ssh-setup script posted above to configure ssh-client. To check this, try to copy a test file:
scp one_test_file username@localhost:/tmp

This should normally work if my doc is complete.

Good luck

Joel Cugnoni
www.caelinux.com

Joël Cugnoni - a.k.a admin
www.caelinux.com

Please Log in or Create an account to join the conversation.

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1589 by yann pasco
Replied by yann pasco on topic Re:salome-meca2007 ubuntu 7.10
Hi Joel,

I did what you explained.
what i understand is that i have to configure the "prefs" files in both directory to have all work with ssh.

The fact is that it is still not working.

but i have some good news :
- when i export the model in astk, i am able to calculate something. In the Flasheur directory, i can find the "*.e" and "*.o" files. performing a modal analysis, in the "*.o" file, i can find some results... the main trouble is now to configure the ssh server because it does not copy the results files in the model directory.

- all commands are using a "xterm -display "computername":0.0" using a @D alias for the computername...

in my case, computername = yadoum-laptop.

but a manual command line like "ssd -n -l yadoum yadoum-laptop xterm -display yadoum-laptop:0.0 echo HELLO" is not working. the way i can run it is to substitute the yadoum-laptop name by localhost... When using yadoum-laptop the answer is that the display is not set...

any ideas ?

i did allow TCP for X, and did allow X11forwarding...


Yann

Please Log in or Create an account to join the conversation.

  • yann pasco
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 4 months ago #1590 by yann pasco
Replied by yann pasco on topic Re:salome-meca2007 ubuntu 7.10
Problem is solved :
I had to authorized my host to display a graphical X session...

I used "Xhosts + "my_host_name"


thanks

Yann

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #1663 by Serge Montagnac
Replied by Serge Montagnac on topic Re:salome-meca2007 ubuntu 7.10
Concerning your local server connection, I got the same problem you had, working with standalone Salome-Meca on a fast Dell-620/laptop which hostname is "dualstar"

I found no install problems and all tests with Wizard pressure applications worked perfectly....
... But, proceeding on nodal forces applications I got ASTK communication problems with local server so,

1) I installed rsh-server in my Mandriva-2008 (I was not using it but ssh...) and checked "Start when requested" on rexec, rlogin, rsh, in Computer configuration --> services.

2) I configured ASTK in Configuration --> Servers -> local :
name or IP : localhost
login : serge
répertoire HOME : /home/serge
and checked in Interface : rsh and rcp.

3) added in my home directory /home/serge a .rhosts file containing
only : dualstar serge

It was enough for me to launch ASTK from Salome, indicate a Chemin de base, load a .comm file, a <mesh>.med file and launch the job.

... I got ASJOB interface, job terminated, I experimented emacs editing on .comm file, etc ....

I am very happy to have a true FEM tools of this quality, and thanks
to everybody who helped.

I'm also using Castem-2000 and will compare results. For information,
I'm using Varicad-3.03 for solid design ... A great tool for a fraction of Solid-Works price !!

Best regards,
Serge

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.118 seconds
Powered by Kunena Forum