how to install SALOME on ubuntu 9.10
Up to Install & build
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
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.
there are some about the installation of SALOME on Ubuntu
Hope those help.
Best regards,
Wayne
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
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
Simo, Your problem looks somewhat similar to: http://www.salome-platform.org/forum/forum_9/992311600
I guess they didn't fix it.
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.
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
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
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/runSalomeI got the same error message.
Thanks
Simo2777
I think you have to insert in the script the entire path of the commands.
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
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>]
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.
- 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/binI obtain:
riga 24: /bin/salome/envSalome.py: Nessun file o directory
Thanks
Simo2777
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 .
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.
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
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
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
