Personal tools
You are here: Home Forum Install & build how to install SALOME on ubuntu 9.10

how to install SALOME on ubuntu 9.10

Up to Install & build

how to install SALOME on ubuntu 9.10

Posted by Dipesh Sheth at November 15. 2009 12:12:19

Hello
I extracted the tar.gz file to the desktop and in the readme notes it says to type ./runinstall in the terminal but when i type that i get
"bash: ./runinstall: No such file or directory"

I dont know what to do, im new to the ubuntu system and needed to install it so i can use SALOME.
Any help would be greatly appreciated

Re: how to install SALOME on ubuntu 9.10

Posted by Cee Kay at November 24. 2009 14:58:12

It is ./runInstall and not ./runinstall

Notice the capital "I".

 

Cheers.

Re: how to install SALOME on ubuntu 9.10

Posted by BrendaEM at November 28. 2009 22:18:09

Bitten by (a) camel (case)

Re: how to install SALOME on ubuntu 9.10

Posted by Kjetil Birkeland Moe at December 20. 2009 01:26:14

Previously Dipesh Sheth wrote:

Hello
I extracted the tar.gz file to the desktop and in the readme notes it says to type ./runinstall in the terminal but when i type that i get
"bash: ./runinstall: No such file or directory"

I dont know what to do, im new to the ubuntu system and needed to install it so i can use SALOME.
Any help would be greatly appreciated

 

A smart trick is to use the [tab] to complete commands ... then you usually won't run into typing errors. You could then just type " ./ru " and then press [tab], and the terminal would complete the rest, for you then just to hit Enter.

 

 

Re: how to install SALOME on ubuntu 9.10

Posted by Wayne Wu at December 21. 2009 10:54:40
I wrote some notes on my blog: http://code-saturne.blogspot.com

 

there are some about the installation of SALOME on Ubuntu

 

Hope those help.

 

Best regards,

Wayne

Re: how to install SALOME on ubuntu 9.10

Posted by wwiki at December 31. 2009 21:45:18

Previously Wayne Wu wrote:

I wrote some notes on my blog: http://code-saturne.blogspot.com

 

there are some about the installation of SALOME on Ubuntu

 

Hope those help.

 

Best regards,

Wayne

 

I have completed Salome 5.1.3 on ubuntu 9.10 64 bit . I use you notes as reference.

A summary can be found at this address.

http://wwiki.free.fr/index.php?post/2009/12/31/Install-Salome-513-on-Ubuntu-910-64-bit-Karmic

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 03:45:37

Hello!

I followed the link

http://wwiki.free.fr/index.php?post/2009/12/31/Install-Salome-513-on-Ubuntu-910-64-bit-Karmic

 

for the installation of the Salome_5.1.3 in ubuntu 9.10 64 bit.

The installation finished well without errors, just the libBLSurf  is missing.

However if I try to lanch salome:

 ~/salome_5.1.3

$ source env_products.sh

$ runSalome

 

I obtain:

 

Configure parser: Warning : could not find user configuration file

runSalome running on simone-desktop

Configure parser: Warning : could not find user configuration file

Searching for a free port for naming service: 2810 2811 2812 - OK

Searching Naming Service   found in 0.0 seconds

Searching /Containers/simone-desktop/FactoryServerPy in Naming Service +FactBatchManager of type 'eSGE' inserted into catalog

FactBatchManager of type 'ePBS' inserted into catalog

FactBatchManager of type 'SH' inserted into catalog

FactBatchManager of type 'RSH' inserted into catalog

FactBatchManager of type 'SSH' inserted into catalog

FactBatchManager of type 'eSGE' inserted into catalog

FactBatchManager of type 'ePBS' inserted into catalog

FactBatchManager of type 'SH' inserted into catalog

FactBatchManager of type 'RSH' inserted into catalog

FactBatchManager of type 'SSH' inserted into catalog

+ found in 1.0 seconds

Traceback (most recent call last):

  File "/home/simone/salome_5.1.3/KERNEL_5.1.3/bin/salome/runSalome.py", line 617, in useSalome

    clt = startSalome(args, modules_list, modules_root_dir)

  File "/home/simone/salome_5.1.3/KERNEL_5.1.3/bin/salome/runSalome.py", line 566, in startSalome

    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)

  File "/home/simone/salome_5.1.3/KERNEL_5.1.3/bin/salome/orbmodule.py", line 164, in waitNSPID

    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)

RuntimeError: Process 3945 for /Kernel/Session not found

Searching /Kernel/Session in Naming Service

 

--- Error during Salome launch ---

 

Any idea?

Thanks

Simo2777

Re: how to install SALOME on ubuntu 9.10

Posted by BrendaEM at January 06. 2010 05:09:04

Simo, Your problem looks somewhat similar to: http://www.salome-platform.org/forum/forum_9/992311600

I guess they didn't fix it.

Re: how to install SALOME on ubuntu 9.10

Posted by Cacciatorino at January 06. 2010 13:08:53

Previously simo2777 wrote:


However if I try to lanch salome:

 ~/salome_5.1.3

$ source env_products.sh

$ runSalome

 

I obtain:

 


 

Any idea?

Thanks

Simo2777

 

I created this simple script:

 

#!/bin/bash
source /opt/salome_4.1.4/env_products.sh
source /opt/salome_4.1.4/KERNEL_4.1.4/salome.sh
/opt/salome_4.1.4/KERNEL_4.1.4/bin/salome/runSalome

Make it executable and launch it, and it will launch Salome (I use it on a Mandriva 64bit).

You have to adapt it to your paths of course. Hope this help.

Regards.

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 14:39:46

Previously BrendaEM wrote:

Simo, Your problem looks somewhat similar to: http://www.salome-platform.org/forum/forum_9/992311600

I guess they didn't fix it.

Thanks for the info.

I can't understand why, but I red it can run in ubuntu 9.10 64bit.

Enigma!!!

Simo2777

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 14:41:18

Previously Cacciatorino wrote:

Previously simo2777 wrote:


However if I try to lanch salome:

 ~/salome_5.1.3

$ source env_products.sh

$ runSalome

 

I obtain:

 


 

Any idea?

Thanks

Simo2777

 

I created this simple script:

 

#!/bin/bash
source /opt/salome_4.1.4/env_products.sh
source /opt/salome_4.1.4/KERNEL_4.1.4/salome.sh
/opt/salome_4.1.4/KERNEL_4.1.4/bin/salome/runSalome

Make it executable and launch it, and it will launch Salome (I use it on a Mandriva 64bit).

You have to adapt it to your paths of course. Hope this help.

Regards.

I tried with:

#!/bin/bash
source ~/salome_5.1.3/env_products.sh
source ~/salome_5.1.3/KERNEL_SRC_5.1.3/salome.sh
~/salome_5.1.3/KERNEL_SRC_5.1.3/bin/runSalome

I got the same error message.

Thanks

Simo2777

Re: how to install SALOME on ubuntu 9.10

Posted by Cacciatorino at January 06. 2010 15:18:24

Previously simo2777 wrote:

I tried with:

#!/bin/bash
source ~/salome_5.1.3/env_products.sh
source ~/salome_5.1.3/KERNEL_SRC_5.1.3/salome.sh
~/salome_5.1.3/KERNEL_SRC_5.1.3/bin/runSalome

I got the same error message.

Thanks

Simo2777

 

I think you have to insert in the script the entire path of the commands.

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 15:34:37

Same error!

#!/bin/bash
source /home/simone/salome_5.1.3/env_products.sh
source /home/simone/salome_5.1.3/KERNEL_SRC_5.1.3/salome.sh
/home/simone/salome_5.1.3/KERNEL_SRC_5.1.3/bin/runSalome

However ~/ means /home/simone/.

In the wersion 5.1.3 the folder salome in

/KERNEL_4.1.4/bin/salome/runSalome

is not present.So I used:/KERNEL_SRC_5.1.3/bin/runSalome

Regards
Simo2777

Re: how to install SALOME on ubuntu 9.10

Posted by wwiki at January 06. 2010 15:41:57

Please can you check SHELL=/bin/bash with env

 

And follow the README.

 

 To set SALOME environment just type in the terminal window:

 

               cd <KERNEL_ROOT_DIR>

               source salome.sh

          or

               cd <KERNEL_ROOT_DIR>

               source salome.csh

 

          where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.

          KERNEL_5.1.3 for the 5.1.3 version.

 

     2.2. Launching of SALOME

   

          After you set environment you can start SALOME. Go to the KERNEL

          module's binaries directory (KERNEL_5.1.3/bin/salome for the version

          5.1.3) by using of 'cd' command and then type:

 

               runSalome [<parameters>]

 

 

Re: how to install SALOME on ubuntu 9.10

Posted by Cacciatorino at January 06. 2010 16:07:04

Previously wwiki wrote:

Please can you check SHELL=/bin/bash with env

 


 

 

Hi wwiki,

I needed to create the script due to the fact that the "source" commands were forgotten at each reboot of the operating system.

This is surely true for 4.1.4, but to be honest I didn't test on 5.1.3 to see if it is unnecessary now.

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 21:07:24
  • Please can you check SHELL=/bin/bash with env

I don't understand; env is a program? where can I find it?

  • To set SALOME environment just type in the terminal window:

                    cd <KERNEL_ROOT_DIR>

                   source salome.sh

              or

                   cd <KERNEL_ROOT_DIR>

                   source salome.csh

              where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.

              KERNEL_5.1.3 for the 5.1.3 version.

The only kernel dir I have is KERNEL_SCR_5.1.3 under the installation directory salome_5.1.3 and the file salome.sh was not executable. I used chmod for this.

  • Launching of SALOME

I didn't have this path:KERNEL_5.1.3/bin/salome

Using the command ./runSalome under the path ~/salome_5.1.3/KERNEL_SRC_5.1.3/bin

I obtain:

riga 24: /bin/salome/envSalome.py: Nessun file o directory

Thanks

Simo2777

 

Re: how to install SALOME on ubuntu 9.10

Posted by wwiki at January 06. 2010 21:10:09

Previously Cacciatorino wrote:

Previously wwiki wrote:

Please can you check SHELL=/bin/bash with env

 


 

 

Hi wwiki,

I needed to create the script due to the fact that the "source" commands were forgotten at each reboot of the operating system.

This is surely true for 4.1.4, but to be honest I didn't test on 5.1.3 to see if it is unnecessary now.

Cacciatorino ,

For 4.1.4 you set your env.

For 5.1.3 you have to set your env , but no with env of 4.1.4 .

This comes with shell concept .

Re: how to install SALOME on ubuntu 9.10

Posted by Cacciatorino at January 06. 2010 21:33:23

Previously wwiki wrote:


Cacciatorino ,

For 4.1.4 you set your env.

For 5.1.3 you have to set your env , but no with env of 4.1.4 .

This comes with shell concept .

this is obvious, I just copied and pasted the old script for 4.1.4, and assumed the the user was smart enough to understand and modify it as needed.

Re: how to install SALOME on ubuntu 9.10

Posted by simo2777 at January 06. 2010 21:53:55

In this way?

SHELL=/bin/bash

source /home/simone/salome_5.1.3/env_products.sh

source /home/simone/salome_5.1.3/KERNEL_SRC_5.1.3/salome.sh

/home/simone/salome_5.1.3/KERNEL_SRC_5.1.3/bin/runSalome

 

Same error.

Simo2777

Re: how to install SALOME on ubuntu 9.10

Posted by Fabian Hampp at January 14. 2010 08:50:27

I had a similar problem and found following. I don't know exactly what it does, but it has worked for me.

set "ForwardX11 yes"  in /etc/ssh/ssh_config

or look here

http://www.salome-platform.org/forum/forum_9/992311600

 

bests, Fabian

 

Re: how to install SALOME on ubuntu 9.10

Posted by Fabian Hampp at January 16. 2010 14:46:31

Sorry, this apparently worked only temporarily. I have the error again. 

Fabian

Re: how to install SALOME on ubuntu 9.10

Posted by MIke T at February 08. 2010 23:46:36

in a terminal => go to the file directory where the .tgz is

su (or maybe "sudo")

(password)

alien - k Salome_5.1.3_32bits.tgz

(wait a few minutes)

alien make in the file directory a new package named : salome-5.1.3-32bits_1-1_all.deb

klic on the package for install

the package is installed in : /Salome_5.1.3

you can move the file in the /opt file directory

for run salome, a simple shortcut => /opt/Salome_5.1.3/SALOME5/V5_1_3/runSalome-debianForSalome (valid the case "run in a terminal")

I have do it in LinuxMint 7 and im think  it is the same for Ubuntu

i made an icon for the shortcut.

Sorry for my very bad english but i am french.

Michmich

 

 

 

 

 

 

 

Attachments
Powered by Ploneboard
Document Actions