Contrib:KeesWouters/installproblems
Contents
[hide]- 1 Installation & problems
- 2 Ubuntu 14.04 LTS
- 3 ASTK
- 4 Installation of openFoam & paraFoam
- 5 Linux Mint 14 Nadia - 64-bit - Mate
- 6 Linux Mint 14 Nadia - 64-bit - Mate
- 7 Ubunty Natty 10.04
- 8 October 2010 - installation of Salome Meca - upgrade to Ubuntu 10.10
- 9 Update Salome5.1.4 (from 5.1.3) under Ubuntu Lucid Lynx 10.04 LTS 64bit
- 10 Update OS to Ubuntu Lucid Lynx 10.04 LTS 64bit
- 11 Salome5.1.3 on Ubuntu Karmic 9.10 64bit
- 12 SalomeMeca2009 on Ubuntu Karmic [9.10 64bit]
- 13 Aster10.1 on Ubuntu Karmic [9.10 64bit]
Installation & problems
- Continuously under construction
- pc running Ubuntu 14.04 LTS - fresh install
- My problems as well as general remarks regarding Salome, ASTK and Code Aster with respect to this OS are described here.
Ubuntu 14.04 LTS
Installation of Salome7.4.0
December 2014
Previously installed Salome7.4.0 from Minst doesnot run properly.</br>
A fresh install of Salome7.4.0 complains about the following libraries not available:
- libglut.so.3 and
- libgd.so.2 (critical) as well as
- libcppunit-1.12.so.1 (not critical), see below:
Remedy on http://stackoverflow.com/questions/13081854/cannot-install-cuda-5-samples-on-ubuntu-12-04 (see also http://packages.ubuntu.com/precise/amd64/freeglut3/filelist):</br>
- for libglut:
- sudo apt-get install freeglut3
- for libgd: Goemetry and Mesh modulus do run ....
ASTK
ASTK runs with previously installed Linux Mint Version, but;</br> ASTK complains about .rhosts files (maybe need to fix that):
Installation of openFoam & paraFoam
August 2013
[My installation & install problems of openFoam]
Linux Mint 14 Nadia - 64-bit - Mate
June 2013 - new install Salome7.2.0
Installing Salome 7.2.0 on Linux Mint 14 Nadia - current Salome version 6.6.0.
After downloading Salome720 and during instalation I got the following warnings/errors:
The libglut.so.3 causes immediate problems: after the Salome splash screen running from 0 to 100 % the system halts with an error indicating libglut.so.3 is not available. Installing this library by (see [foldit])
sudo apt-get install freeglut3
gives a runnable system as far as I have tested it now.
Note that post-pro is not available anymore in this version. You have to switch to Paraview.
My start-up file:
#!/bin/bash # start salome7.2.0 echo start salome7.2.0
cd /cae_sg500/salome/salome720/SalomeRun/KERNEL_7.2.0 source salome.sh cd /cae_sg500/salome/salome720/SalomeRun/KERNEL_7.2.0/bin/salome ./runSalome
Linux Mint 14 Nadia - 64-bit - Mate
December 2012 - new install Salome6.6.0
Linux Mint 14 Nadia (rc at this moment) - based on Ubuntu 12.10
So I changed to Linux Mint - because of Ubuntu's new unity interface.
Once again I followed this upgrade sequence by Free your CFD, up to and including step 2:
sudo apt-get install build-essential
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
For a 64 bit system only:
sudo apt-get install ia32-libs
to avoid the error: sh: ./bin/SALOME_InstallWizard: No such file or directory
install gcc (by synaptic/software centre)
to avoid: libg2c.so.1: cannot open shared object file
install gfortran (by synaptic/software centre)
to avoid: libgfortran.so.1: cannot open shared object file and
link the file:
ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3 /usr/lib/x86_64-linux-gnu/libgfortran.so.1
and my start up script:
#!/bin/bash #start salome6.6.0 echo start salome6.6.0
cd /cae_sg500/salome6/salome660/salomeRun/KERNEL_6.6.0 source salome.sh #cd bin/salome cd /cae_sg500/salome6/salome660/salomeRun/KERNEL_6.6.0/bin/salome ./runSalome
So far - so good!
We continue with Code-Aster. I use the old Ubuntu script to start the old Ubuntu install - and guess what? It runs. Well, nearly. Three problems occur:
- of course SSH does not run: follow this hint on SSH - dead link. From Public-Key Authentication onwards, running in a standard terminal:
- [remove ~/.ssh/known_hosts]
- ssh-keygen -t dsa
- enter for passphrase
- enter for passphrase
- ssh-copy-id -i ~/.ssh/id_dsa.pub <name>@localhost or
- ssh-copy-id -i ~/.ssh/id_dsa.pub <name>@<pcname>
First time ASTK asks for 'yes'/'no'. Select 'yes'. Thereafter it runs without aksing the user.
- the correct terminal program is not available. Apparently C-Aster insists on xterm despite any terminal defined by ASTK: Configuration --> Server --> Terminal.
So run:
sudo apt-get install xterm
to install xterm (after trying xfce4-terminal - default Mint and gnome-terminal [sudo apt-get install gnome-terminal])).
We have C-Aster running on Linux Mint Nadia 14:
- but Numpy is not standardly installed on Mint and parts of the *.comm file do not run. So install numpy:
- sudo apt-get install python-numpy
Ubunty Natty 10.04
December 2011 - upgrade Salome6.4.0 [from version 6.3.1]
Compilation runs fine.
At runtime the libic* files are not found:
Ubuntu Natty (10.04) provides version *.44, Salome asks for *.36.
Just use locate libicu in a terminal to find your version.
I created the following symlinks in /usr/lib:
- ln -s /usr/lib/libicuuc.so.44 /usr/lib/libicuuc.so.36
- ln -s /usr/lib/libicui18n.so.44 /usr/lib/libicui18n.so.36
- ln -s /usr/lib/libicudata.so.44 /usr/lib/libicudata.so.36
In the synaptic packagemanager the libicu-dev package has been selected:
Development files for International Components for Unicode
ICU is a C++ and C library that provides robust and full-featured
Unicode and locale support. This package contains the development
files for ICU along with programs used to manipulate data files found
in the ICU sources.
August 2011 - upgrade to Code Aster 11.0 - Salome6.3.1
SalomeMeca (still?) does not run under Natty(?). Problem not solved as far as I know; see [here.]
Download CodeAster11.0.10 and Salome6.3.1
I changed in setup.cfg:
- PREFER_SHARED_LIBS=False # False/True (no change)
- ASTER_ROOT='/cae/caster11010' (C-Aster path)
- or call: python setup.py install --prefix=/cae/caster11010
- or call: python setup.py install --prefix=/cae/caster11010
and added in setup.cfg:
- MATHLIB="-llapack -lblas" (see thank you B-O)
- MATHLIB="-llapack -lblas -lgfortran"
CodeAster 10.2 does run the test files.
ASTK runs fine.
I didnot check Eficas.
Salome6.3.1 has the usual libg2c0.so.x.y.z and libgfortran.so.x.y.z offense, see comment for May 2011 - upgrade to Ubuntu 11.04 Natty
Then cd back to download directory of Salome6.3.1 and
- $ python ./runInstall (-b)
and all goes fine, closing with a warning:
=== WARNING: Some libraries are absent! ===
see image below:
Remarks:
ASTK/ASJOB menu entries now in English.
and interactive follow up in action:
Running the install without the -b flag (batch mode, not GUI) doesnot start the installer on my system. Weird.
May 2011 - upgrade to Ubuntu 11.04 Natty
SalomeMeca does not run. Problem not solved as far as I know; see [here.]
Then download CodeAster10.2.x and Salome5.1.5
I changed in setup.cfg:
- PREFER_SHARED_LIBS=True # False/True
- ASTER_ROOT='/cae/caster103' (C-Aster path)
- or call: python setup.py install --prefix=/cae/caster103
- or call: python setup.py install --prefix=/cae/caster103
CodeAster 10.2 doesnot compile
ASTK has SSH issues:
(this is a bit complicated because CodeAster 10.2 actually did compile once, crashed and after re-install it did not compile anymore ...)
SSH
See SSH for details. From Public-Key Authentication onwards, running in a standard terminal:
- [remove ~/.ssh/known_hosts]
- ssh-keygen -t dsa
- enter for passphrase
- enter for passphrase
- ssh-copy-id -i ~/.ssh/id_dsa.pub <name>@localhost or
- ssh-copy-id -i ~/.ssh/id_dsa.pub <name>@<pcname>
First time ASTK asks for 'yes'/'no'. Select 'yes'. Thereafter it runs without aksing the user.
Salome5.1.5 has the usual libg2c0.so.x.y.z and libgfortran.so.x.y.z offense.
I followed JMB's advise to just copy the following files from Salome5.1.4 to /usr/lib (sorry Claus, next time I have a copy of these files ready and paste them there ;-)), see [here] or [here]:
- libg2c.so.0
- libg2c.so.0.0.0
- libgfortran.so.1 and
- libgfortran.so.1.0.0
[to be precise:
- $ locate libg2c
- $ cd to the directory
- $ sudo cp libg2c.so.0 /usr/lib
- $ sudo cp libg2c.so.0.0.0 /usr/lib
- $ locate libgfortran
- $ cd to the directory
- $ sudo cp libgfortran.so.1 /usr/lib
- $ sudo cp libgfortran.so.1.0.0 /usr/lib]
Since computers are just computers, searching for libg2c.so is not the same libg2c.so.0, I created a symlink:
- ln -s /usr/lib/libg2c.so.0 /usr/lib/libg2c.s0
Then cd back to download directory of Salome5.1.5 and
- $ python ./runInstall (-b)
and all goes fine, closing with a warning:
=== WARNING: Some libraries are absent! === One or several OPTIONAL libraries listed below are not found. This does not affect on the correct work of SALOME platform. libBLSurf.so libcppunit-1.12.so.0
BTW: the absence of libgfortran causes the cannot load library libSMESH.so error in the mesh module.
October 2010 - installation of Salome Meca - upgrade to Ubuntu 10.10
Installation of SalomeMeca is flawless. SalomeMeca runs without problem right out of the box.
Upgrade and later complete new installation of Ubuntu Maverick Meerkat (10.10) also alright.
Start file:
#!/bin/bash # start salomeca2010 # echo start salome
cd /cae/salome514/salomeca/ ./runSalomeMeca
Except avi recording. Remedy:
- check with which jpeg2yuv whether jpeg2yuw is present. Not in my case
- install mjpegtools via synaptic package manager
- check again: which jpeg2yuv, now it is: /usr/bin/jpeg2yuv
- you can check avi recording in Salome now (red button). Not in my case
- In a terminal copy and paste:
- sudo mv /bin/sh /bin/sh.orig
- sudo ln -s /bin/bash /bin/sh
- sudo dpkg-reconfigure dash (needed? I didnot check inbetween)
- you can check avi recording in Salome now (red button). Now it does.
Update Salome5.1.4 (from 5.1.3) under Ubuntu Lucid Lynx 10.04 LTS 64bit
august 2010
I followed the upgrade guidelines by Free your CFD (you need to be 'invited' now), up to and including step 2.
The initial problems with fd disappeared. Some replacements for 64bits libraries are needed.
All running well now.
New start up file:
#!/bin/bash # start salome5.1.4 # echo start salome
cd /cae/salome514/salome514/KERNEL_5.1.4 source salome.sh cd bin/salome ./runSalome
Update OS to Ubuntu Lucid Lynx 10.04 LTS 64bit
may 2010
The upgrade from 9.10 to 10.04 poses no problems on the use of Salome 5.1.3, ASTK 1.8.0 and Code Aster 10.1.19.
Salome5.1.3 on Ubuntu Karmic 9.10 64bit
january 2010
Salome, Code Aster, ASTK, OS (Ubuntu)
OS: Ubuntu Karmic 64bit, 9.10
See also Code Aster wiki:
http://www.code-aster.org/wiki/doku.php?id=en:p02_install:compil_ubuntu
See CA forum, eg: http://www.code-aster.org/forum2/viewtopic.php?id=13574
Salome5.1.3 Mesh module reports error on folowing libs not found:
- libSMEHS.so
- libg2c.so.0 not found
missing libg2c file
This can be solved by:
Append at the end of the file /etc/apt/sources.list by issuing the following command
- sudo gedit /etc/apt/sources.list
then add
- deb http://nl.archive.ubuntu.com/ubuntu hardy-updates main universe
save this file
libgfortran.so.1 not found, see:
http://caelinux.com/CMS/index.php?option=com_joomlaboard&Itemid=52&func=view&id=3261&catid=4#msg3261
Fix for: /usr/lib/libgfortran.so.1 not found during meshing Netgen-1D-2D-3D algorithm
sudo ln -s /usr/lib/libgfortran.so.3.0.0 /usr/lib/libgfortran.so.1
[in my setup libgfortran.so.3 links to libgfortran.so.3.0.0 but does not work ....]
Synaptic package manager
Update the synaptic package manager and search for libg2c0.
Then add:
- libg2c0
- libg2c0-dev
Remove the added line in the /etc/apt/sources.list, to prevent different versions of the OS to collide.
This solved both the libg2c and libSMESH problem.
See eg: http://caelinux.com/CMS/index.php?option=com_joomlaboard&Itemid=52&func=view&id=3603&catid=3#msg3603
Installation procedure of Salome5.1.3 on Ubuntu Karmic:
Create eg following directories
- /cae/salome513
- /cae/salome513/install
- /cae/salome513/salome513
Download Salome5.1.3 [Debian Etch 4.0 64bit] and save in /cae/salome513/install.
cd /cae/salome513/install
extract downloaded file
cd /cae/salome513/install/InstallWizard_5.1.3_Debian_4.0_64bit
run <python ./runInstall -d /cae/salome513/salome513> and follow instructions
At the end notice the remarks on libBLsurf.so and libcppunit-1.12.so.0 not present and finish.
create text file with content:
#!/bin/bash # start salome5.1.3 # echo start salome
cd /cae/salome513/salome513/KERNEL_5.1.3 source salome.sh cd bin/salome ./runSalome
save (as S513karmic.sh on DeskTop)
[donot forgot to allow Execution by Properties, Permisisons]
double click (on S513karmic.sh) --> Salome5.1.3 running
See also:
http://code-saturne.blogspot.com/
http://code-saturne.blogspot.com/2009/07/installation-of-salome-414-on-ubuntu.html
SalomeMeca2009 on Ubuntu Karmic [9.10 64bit]
After installation of Ubuntu9.10 Karmic 64bit problems with 32/64 bit libraries occur.
Problems with 64bit versions of libstc++ and libstdc++
libstdc++ and libstdc++.so.5
I followed the suggestion by Artificial Intelligence, saying that: So you need to install the 32-bit version of libstdc++5 on your 64-bit system.
cd ~/Desktop wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb sudo dpkg -i getlibs-all.deb getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb
See eg: on http://ubuntuforums.org/showthread.php?t=1243005&highlight=%26quot%3Blibstdc+.so.5%26quot%3B
libg2c file missing - see also installation of Salome5.1.3
Add at the end of the file /etc/apt/sources.list: deb http://nl.archive.ubuntu.com/ubuntu hardy-updates main universe Update the synaptic package manager and search for libg2c0. Then add: - libg2c0 - libg2c0-dev Removed the last line in the /etc/apt/sources.list (ie the line just added to prevent collisions between Ubuntu versionn next time you have an OS update): See eg: http://caelinux.com/CMS/index.php?option=com_joomlaboard&Itemid=52&func=view&id=3603&catid=3#msg3603
Aster10.1 on Ubuntu Karmic [9.10 64bit]
General guidelines see:
- Code_Aster 10.1 on Ubuntu 9.10 «Karmic Koala» (CAwiki)
- Code Aster Installation on Ubuntu 9.10-64 (CAforum)
Aster10.1
- code_aster_forum missing python.h during compilation, install python-dev package by the repository.
Maximum memory
to increase the memory above 2 Gb (by JMB [1]): Edit the config file in [ASTER-ROOT]/etc/codeaster/asrun ([ASTER-ROOT]/ASTK/ASTK_SERV/config in Ver 9 or older).
There is a memory limit variable that needs to be modified to 4096 (or higher as one chooses).
- (sudo) cp [ASTER-ROOT]/etc/codeaster/asrun /opt/aster/etc/codeaster/asrun.saved
- (sudo) gedit [ASTER-ROOT]/etc/codeaster/asrun
Change the value for memory limit as shown below (around line 100):
- interactif_memmax : 4096
- and save file
- in ASTK update server configuration: Configuration --> servers --> Refresh now
Eficas: for Eficas to work properly I had to install python-tk from the repository