Sunday, 2 May 2010

NEW - According to your feedback in the comment list and my own experience, the present tutorial works with SALOME 5.1.5 on Ubuntu 10.10, Kubuntu 10.10 and the latest Ubuntu 11.04.

NEW - As the feedback from vaina, the present tutorial also works with the latest SALOME 5.1.4 on Ubuntu 10.04.

On 23 April 2010, I received the SALOME Newsletter and surprisingly read that they are advising my blog "Free your CFD" for my introduction on SALOME on different platforms. I feel pretty glad and deeply honored because this is definitely the first time I obtain acknowledgement from the SALOME official after my effort during the past more than one years. The part below is from the newsletter.

Welcome to the April 2010 SALOME Newsletter

...

Solvers' corner

...

"Free your CFD"

Have you bookmarked this blog. It provides useful information and tutorials on Code_Saturne and SALOME.

1. Preparation. Although a "Universal binaries for Linux" was released, I still suggest to use the install wizard version to install SALOME, because both of the source code and the corresponding pre-compiled binaries of the necessities are all shipped with the package, and thus it is even possible to share these libraries with Code_Saturne (see "Compile Code_Saturne with SALOME binary libraries").

Install the g++ compiler as SWIG has to be built from source.

:/$ sudo apt-get install build-essential

Replace the executable "sh" with "bash" to avoid some trivial errors.

:/$ sudo rm /bin/sh
:/$ sudo ln -s /bin/bash /bin/sh

Additionally, if it is for a 64 bit Linux, because the install wizard was written for 32 bit, a package ia32-libs is also necessary. It is of course not needed if the Linux environment is 32 bit version.

:/$ sudo apt-get install ia32-libs

Otherwise an error could be encounterred on the console when trying to launch the install wizard.

sh: ./bin/SALOME_InstallWizard: No such file or directory

2. Install. Download the install wizard package and extract it. Ship into the extracted directory and then execute runInstall.

:/$ ./runInstall

Sequentially, the wizard contained 8 steps, for which the screenshots below illustrate. Step 7 is for install progress. After it is started, during the install procedure, there will a warning dialog, shown below as well, poped out, complaining two compulsory libraries, libg2c and libgfortran, haven't been found. Click "OK", ignore the warning and procede until finish the last step of the wizard.

3. Post-install. SALOME has been installed into the $HOME directory; run salome_appli_5.1.3/runAppli to launch the software. However, before the first launch, remember to create a directory USERS under the salome_appli_5.1.3 to avoid an error.

:/$ mkdir salome_appli_5.1.3/USERS
:/$ salome_appli_5.1.3/runAppli &

Up to now, launch SALOME and try to enable the MESH module, an error, shown below, is seen. This is because libg2c and libgfortran are still missing in the system.

To add libgfortran, sequentially execute (note that for Ubuntu 11.04, the libgfortran is in /usr/lib/x86_64-linux-gnu instead of /usr/lib)

To add libg2c, download the packages libg2c0 and gcc-3.4-base (the latter actually provides a dependency for the former one) which suit the system, i386 or amd64, and then install both by dpkg command. For instance, on my Ubuntu 64 bit, execute

Thanks for your early information, Ledru. I even haven't finished this post, but it is a very good piece of news and I also hope the apt-get install approach can someday finalise my series of posts on the installation of SALOME as well as Code_Saturne, because it is definitely easier.

I'll try to install the last salome version with this tutorial (it seems to be easy). For the moment. I learn Salome with the 4.1.4 (installed on CAE Linux).Do you know how modelling boundary layer with salome GUI? Is it simply like Gambit?Thanks for all.

I have a problem when installing salome 5.1.3. I follow your tutorial but the install wizard doesn't find a script (chechSize.sh - indeed the wizard doesn't display the space available on my disk). However the ia32-libs package is installed.

I finally achieve the installation in moving the installation folder (he was in home/xx/Téléchargements and when I move into other folder, it's ok).

I have two other questions:

1- I can't launch salome using runAppli script but only in using Readme instructions (source salome.sh then runSalome in Kernel folder). For information, I install salome in /usr/salome_5.1.3 to avoid to take space in my home folder. I suppose that the probleme is the runAppli folder is not near the Kernel folder (runAppli folder is in my home folder). What do you think about it?

2- When I reinstall salome, I had a message that two libs are missing liBLSurf.so and libcppunit-1.12.so0. Is it necessary to install it?

Thanks for your previous advices and your tutorial.I will now follow the code saturne installation tutorial.

PS: If you are interesting, I had an non-academic problem but geometrically simple to resolve and shortly time to study. It's about chlorine injection for drinking water source.

Glad to hear that you have successfully installed SALOME. Maybe there are some reasons in the directory home/xx/Téléchargements but anyway, we solved it :)

For the questions:

1. I think it is because you installed SALOME into another directory rather than into your home directory. I used to do this once, it brought problems and thus I don't suggest to do that. However, as long as you source salome.sh and can then launch SALOME, it doesn't seem to be necessary to reinstall it.

2. liBLSurf.so and libcppunit-1.12.so.0 are optional, so don't worry about them.

Yes, I am interested and would like to help if I can. My gmail account is salad00 and you can send more explaination about the problem to my gmail if you don't mind.

Sorry to bother you. I did everything written in your procedure and everything went smooth so I think it will work, BUT how I can run Salome. I didn't find it in any menu or... as you know I'm new to this environment.best regardsarturo

Dear Waynemmm I'm so sorry to waste your time. I made it but didn't work. So, I think the best idea is to make all new and retry. I'm going to erase all the path I created and reinstall the software again.Ok!, my mind is stacked on Windows SO yet, but I ask : why at the end of the installation we can't find into Application menu something related to Salomone?Thank you very much for your attention to a newbie as I am.Enjoy your life.Arturo

Make sure you installed SALOME directly into your HOME directory. If not there, you must go to the installation location to launch SALOME. I strongly suggest to install into the HOME directory.

SALOME installation wizard doesn't give a shortcut icon on desktop or in the applications menu. You could create one by yourself, but it doesn't seem to be quite necessary. There are quite a lot of console applications in Linux - Code_Saturne and ParaView also don't give a quick launch icon and thus you probably have to launch them from a command line.

Hi Salad,i begin to understand sth in ubuntu SO. I've reinstalled all from the beginning and now it goes like oil.I would like to ask you a big effort. As you've made this wonderful tutorial to install the software could you make a step by step guide how to learn and master Salome. I would mean:1- read this file ...2- follow this tutorial ...and so on. Not just for me... but for every newbies that visit your blog.thanks a lot for having given me the opportunity to explore this software.While waiting ... best wishesArturo

Yes, I understand what you mean. As I wrote in the top post, I expect I could write more tutorials to guide beginners. I also met with loads of problems when I tried to install SALOME and started using it, so I felt what you are feeling actually. That is the motivation of this blog.

In my blog, up to now, I finished some tutorials, as you can read from the top post

Hello Salad,I followed your step-by-step instructions for installing salome_5.1.4 on ubuntu 10.04 .However, I cannot download libg2c with the dpkg command or with Synaptic managerThe files are not foundAnd the Salome POST PRO module cannot be runCan you help me?ThanksGuerri

Your post has been very helpful, I've gotten farther with installing salome_5.1.4 on Ubuntu 10.04 than I would have otherwise. However, I'm still having some problems with the mesh module. I have done these steps

Hi, salad.I'm try to install Salome 5.1.5 on Ubuntu 10.04 LTS, following your instructions. I think there's a problem with libg2c0 and gcc-3.4-base links (an error page opens). Can I download both .deb files from http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/ or could you suggest other alternative (and more recent) packages?

Hi, salad.I downloaded and installed:libg2c0_3.4.6-6ubuntu3_amd64.debgcc-3.4-base_3.4.6-6ubuntu3_amd64.debthere is a slight difference in '6ubuntu3' with your instructions, but i guess it doesn't matter. Anyway, the new Salome 5.1.5 on Ubuntu 10.04 LTS 64-bit works. Thank you very much.

Hi, After applying the commands you written, i opened SALOME_instalWizard and began to follow the steps. However, on the 5th step, it did not show any numbers near the "Available disk space" and displayed an error indicating that there is no free space in my disk while there is over 150 GB free space. Thank you for your help.

Hello,I have a strange error with Salome 5.1.5 on Ubuntu 10.04 64-bit. A few weeks ago, I installed Salome 5.1.5 on a new laptop, I already used previous releases on other computers. Today I started a new project but I found out the mesh module is not working. It opens but no 'nodes' appear in the object browser (sidebar), so I can't mesh anything. I tried to open old projects, containing meshed elements, and somewhat appears in the object browser (i think it's a little slow anyway). How can I fix the problem? Does anyone have my same troubles?I also posted on Salome forum but nobody replied, so I tried here. Thank you for your attention.

It's me again. If it can helps, I type in the embedded python terminal import SMESH box and obtain:http://www.salome-platform.org/forum/forum_14/229372965][please, see this post on the official forum, i can't copy here the code]:

I was able to get your instructions to work on a completely fresh install of Ubuntu 10.10 (32-bit) with Salome 5.1.5. I did not perform any of the steps to install "libg2c" as that package was apparently already present.

I have been busy so didn't reply your comments in time. Sorry for that :(

1. I am glad to see we can also use the instruction for Mint 10. Mint is derived from Ubuntu and thus should work properly with this post.

2. Maurizio, sorry for my late reply. I just read your post on SALOME forum; I hope that has solved your problem. Sometimes, a fresh re-install is an easier way than to find a solution, especially when we are lacking of time. Certainly we learn more while we figure out the underlying reasons of problems.

3. Hi Joe, Congratulations on your successful installation. It is good for you to already have libg2c; by default, it shouldn't be there - I am not sure why you have it. Anyway, as long as we can use SALOME ... :)

I installed Salome 6.3.0 on natty. IT works just fine for now. Make sure that u have gfortran and libicu38 installed. Gfortran is not available in all ubuntu repositories (at least in JAPAN). Always better include ubuntu main repository. libicu38 is available at

I'm very interested in learning CFD and thanks to your blog i've discovered that i can do it with free software. However i'm a total beginner in the linux/ubuntu world, so i cannot understand why the procedure is not working.

An erotic sizegenetics is something for you to can ask for when dealing with how you want within the gay sizegenetics. You can easily look at a profiles and as well photos belonging to the sizegeneticss who offer these services to men then take your pick of men and women that you like. You may wish to try different men ever so often or you can aspire to stick along with the same person every time you might need a sizegenetics. This is really safe and secure. There are certainly even prices available which may tell you what to anticipate with regard to the services basically want performed at the course in the sizegenetics. http://buysizegeneticsonline.tumblr.com/