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.
...To thank you for your support and to celebrate the recent release of the latest Ubuntu 10.04 LTS, I summarise the two previous posts "Installation of SALOME 5.1.1 on Ubuntu 9.04" and "Installation of SALOME 5.1.2 on (K)Ubuntu 9.10 64 bit", test the installation procedure of SALOME version 5.1.3 on Ubuntu 10.04 (64 bit), hereby share my experience and hope it truly helps.
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)
:/$ sudo apt-get install gfortran
:/$ sudo ln -s /usr/lib/libgfortran.so.3 /usr/lib/libgfortran.so.1
:/$ sudo ldconfig
:/$ sudo updatedb
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
:/$ sudo dpkg -i gcc-3.4-base_3.4.6-8ubuntu2_amd64.deb libg2c0_3.4.6-8ubuntu2_amd64.deb
Finally SALOME is supposed to work well.
FYI, Salome has just been uploaded into Debian.
ReplyDeleteCode Saturne is already available in Debian testing while Code Aster is currently under review.
That means that since Ubuntu synchronizes regularly against Debian, these packages should be available in Ubuntu 10.10.
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.
ReplyDeleteThanks for paying attention on my posts. Happy to communicate.
Best regards,
thanks for your step-by-step instructions, i perfectly installed salome on ubuntu 10.04 :-)
ReplyDeleteHi manuel,
ReplyDeleteYou and your support are welcome. :)
Best regards,
Hello,
ReplyDeleteI'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.
Hi Gaëtan,
ReplyDeleteIf you have experience of Gambit, I guess the two posts,
http://code-saturne.blogspot.com/2010/03/gambit-example-model-2d-channel.html
and
http://code-saturne.blogspot.com/2010/02/cfd-example-laminar-flow-along-2d.html
could be helpful for you to compare between Gambit and SALOME. Both posts are on the same case, which is as simple as possible.
If you get problems, please communicate. Good luck!
Best regards,
Hello
ReplyDeleteI'll follow the posts. Thanks
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.
Thanks for your response.
Best Regards
I add that if I launch the script checSize.sh, it returns 'wrong paramaters'
ReplyDeleteBest Regards
Hi Gaëtan,
ReplyDeleteI guess, probably, the problem is not related to ia32-libs. It is better check if you have an executive permisson on the file 'checkSize.sh' first.
Please read the comment list following the post at
http://code-saturne.blogspot.com/2009/07/installation-of-salome-414-on-ubuntu.html
to find my answer to Don Toben; at the moment it is the last comment of the post. Hope that would solve your problem.
Good luck :)
I have already read this post and verify the executive permission and it's done. What do you think about the response of the script : "wrong parameter"?
ReplyDeleteGreat article! Thanks a lot.
ReplyDeleteYou are welcome, crincher.
ReplyDeleteHi Gaëtan,
It feels strange. Can you provide more information? I don't know about CAE Linux. Are you using Ubuntu? Maybe you can take screenshots and email to me, salad00 /a/ gmail dot com. I will try to help.
Regards,
Hello salad,
ReplyDeleteI 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.
Hi Gaëtan,
ReplyDeleteGlad 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.
Best regards,
Hey thanks a lot salad,installed salome 5.1.4,now on ubuntu 10.04 64bit,i want to learn it,can u suggest me some tutorials?
ReplyDeleteHello Anand,
ReplyDeleteI wrote a brief tutorial on modelling a 2D channel between two parallel plates. Although it is simple, I believe it is a good point to start with. You can try to read it first
http://code-saturne.blogspot.com/2010/02/cfd-example-laminar-flow-along-2d.html
If there are problems, don't hesitate to ask.
Best regards,
Hey - thanks for the tutorial and discussions. I couldn't have installed Salome without looking here.
ReplyDeleteHi,
ReplyDeleteYou are welcome. I am also glad that my works do help.
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.
ReplyDeletebest regards
arturo
Great writeup...thanks very much! Very helpful for linux novices like myself
ReplyDeleteHi Arturo,
ReplyDeletePlease see the section 3. Post-install. You can input command at your home directory
:/$ salome_appli_5.1.4/runAppli &
to launch the SALOME program.
Good luck :)
Dear Wayne
ReplyDeletemmm 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
Hi Arturo,
ReplyDeleteNo problem. Don't worry.
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.
Good luck and leave a comment if you meet with a problem.
Regards,
Hi Salad,
ReplyDeletei 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 wishes
Arturo
Hi Arturo,
ReplyDeleteYes, 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
http://code-saturne.blogspot.com/2010/01/navigator-post-recommended-to-read.html
I do hope they help.
The problem is always my lacking of time. Life is always busy and it really takes time to write good tutorials. However, I'll keep trying to make it.
I also thank you for your support. Please help let others know this blog if you feel it useful. Thanks a lot.
Best regards,
Hello Salad,
ReplyDeleteI 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 manager
The files are not found
And the Salome POST PRO module cannot be run
Can you help me?
Thanks
Guerri
Hello Guerri,
ReplyDeleteSorry for the late reply. Regarding libg2c please see the last bit of this post. Because it has been thrown, you have to download the deb packages and install them manually.
Good luck :)
Best regards,
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
ReplyDelete:/$ sudo apt-get install gfortran
:/$ sudo ln -s /usr/lib/libgfortran.so.3 /usr/lib/libgfortran.so.1
:/$ sudo ldconfig
:/$ sudo updatedb
'
But I get " Can not load library libsmesh.so.libgfortran.so.1"
I've also noticed that libgfortran.so.3 is a symbolic link to libgfortran.so.3.0.0
Any thoughts or help would be appreciated.
Hello,
ReplyDeleteGood to hear that this post helps :)
Did you also add libg2c? It is necessary as well besides libgfortran. For example,
:/$ sudo dpkg -i gcc-3.4-base_3.4.6-8ubuntu2_amd64.deb libg2c0_3.4.6-8ubuntu2_amd64.deb
Please see the paragraph after the 4 commands to add libgfortran for details.
Good luck :)
Best regards,
Hi,
ReplyDeleteCould you please help. I have followed your steps and get to step 7 in the installation but then nothing happens. In the 'Installation Status' box it says 'tcltk processing' but it never finishes.
I am using Salome 5.1.4 and have tried on Linux 10.04 LTS and 10.10
^^ see post above,
ReplyDeleteI dont't know what the problem was but after countless restarts it seems to be working on both Ubuntu platforms. Thanks for the great guide.
Hello,
ReplyDeleteSorry for the late reply.
I am glad to see that it finally worked. Probably it was due to some incompleted processes running at the background.
Best regards,
Hi,
ReplyDeleteI tried to run SALOME on Ubuntu 10.10 and failed.
each time an error occurs if i use Geometry modul,
but on Debian GNU/Linux squeeze works everything perfectly :)
Great post.
TRIED and installed 5.1.4 on ubuntu 10.10 32bit following this tutorial..in the end just install gcc-4.5 instead of 3.4 for meshing..works perfectly
ReplyDeleteCongratulations on your success :)
ReplyDeleteBest wishes,
Hi, salad.
ReplyDeleteI'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?
Maurizio
Hi Maurizio,
ReplyDeleteThanks for reminding me that the links I have given are outdated. We can actually find the packages from even older versions, e.g. hardy
http://packages.ubuntu.com/hardy/libg2c0
http://packages.ubuntu.com/hardy/gcc-3.4-base
You can try them and I would be glad if you share your feedback.
Best regards,
Hi, salad.
ReplyDeleteI downloaded and installed:
libg2c0_3.4.6-6ubuntu3_amd64.deb
gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb
there 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.
Maurizio
Hi Maurizio,
ReplyDeleteGood to hear you completed this successfully.
It doesn't matter 6ubuntu3 or 8ubuntu2, as long as you can use SALOME now. Actually it is because the previous packages are from jaunty but these two are from hardy.
Best regards,
hello,
ReplyDeletei am new to linux (ubuntu),so i am using it from usb key.
i have put install files in "downloads"
from there, i've tried ./runInstall but i got
bash: ./runInstall: Permission denied
it took me a while to figure out, so for others who might get that, you may have to change permission, with:
chmod 700 ./runInstall
and you may also have to do it again for SALOME_instalWizard file
Hi,
ReplyDeleteAfter 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,
ReplyDeletePlease review the comments above and find some on the error of checkSize.sh. I hope they can help you.
Best regards,
Hello,
ReplyDeleteinstallation worked on Linux Mint 10 64bit using the tutorial and libg2c0 and gcc-3.4 from hardy.
Salome started and seems to work.
Best regards
Hello,
ReplyDeleteI 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.
maurizio
It's me again. If it can helps, I type in the embedded python terminal import SMESH box and obtain:
ReplyDeletehttp://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.
ReplyDeleteOtherwise these steps worked fine for me.
Hello everyone,
ReplyDeleteI 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 ... :)
Thanks a lot for all your support!
Best regards,
I just succeeded in instaling 5.1.5 onto Ubuntu 11.04.
ReplyDeleteThanks.
Hi there, I have sucessfully installed Salome-P 5.1.5 on Kubuntu 10.10, the following dpkg line wors also:
ReplyDeletesudo dpkg -i --ignore-depends=gcc-3.4-base gcc-3.4-base_3.4.6-6ubuntu5_amd64.deb libg2c0_3.4.6-6ubuntu5_amd64.deb
Thanks!
Hi all,
ReplyDeleteI am truly glad to hear your feedback. I just updated my SALOME to version 5.1.5 also and it works very well.
Thanks a lot.
Best regards,
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
ReplyDeletehttp://packages.ubuntu.com/hardy/libicu38-dbg
Thanks for the helpful blog.
ReplyDeleteInstalled Salome 5.1.5 on natty. Worked fine.
Now tried the same with Salome 6.3.0. Still all the packages for installation of Salome 5.1.5 are available.
It installed but said that libicu...so.38 is missing.
With natty comes already libicu...so.44. Certainly I can get the package as Hari S Goripati described.
I used another way:
in usr/lib: ln -s libicuuc.so.44.2 libicuuc.so.38
ln -s libicui18n.so.44.2 libicui18n.so.38 and
ln -s libicudata.so.44.2 libicudata.so.38
Now Salome 6.3.0 works fine
Rainer
hi
ReplyDeletehow to install salome on ubuntu 11.04
Hi salad,
ReplyDeleteI'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.
I'm trying to install SALOME 5.1.5 on ubuntu 11.10 32 bit. I've created the "USERS" directory, installed gfortran, libg2c0 and gcc-3.4-base. But there's always an error during SALOME launch, with KeyError : 'LOGNAME'
Do you have any idea of how could i fix it ?
Jean-Pierre
Hi salad,
ReplyDeleteworks good, I just installed salome 6.5.0 on Ubuntu 10.04 LTS.
Please keep in mind: actually libicu-dev are only at level libicu*.so.42 on Ubuntu 10.04 LTS
I do not know yet how this affects salome, keep you informed
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.
ReplyDeletehttp://buysizegeneticsonline.tumblr.com/
brave and beautiful frolic in the water blog site insomnia what is it,insomnia mod 1.0.0,insomnia netflix,insomnia zippy tiesto,insomnia 6 dpo,insomnia 614,insomnia emedicine,insomnia yoga
ReplyDelete