I post this stuff here in case someone may find this useful :
This is about installing Salome Platform , an oustanding CAD environment, Pre-Post processing tool created by EDF Recherche to help Engineers analyze stuff.
You should get this version from here :
You want the Debian Etch 64bit version... ( works for me... so... )
Did not try the 5.1.3 version yet...
It will create geometries, mesh them, and analyze the results issued from some Open Source ( but also proprietary ) analysis packages like
Think of Ansys, only without the solvers... with the ability to run Python scripts...
Yeah... Figure yourself this... instead of doing some time consuming repetitive tasks involved in creating your design, you can automate such things with scripts... and parametrize lots of features in your design...
Can you do this Ansys guys... ??
I am in the process of designing an aircraft in Salome Platform...
[RANT] In Salome-Platform's Forum, I asked repeatedly how I could solve the issues that came along when trying to install it in Slackware... nobody seemed to care... well...
...I just did it anyway... BANZAI
What you will need :
Salome Platform Tarball
As to Python you can downgrade it to the version of Slackware 12.x, and it will behave nicely...
so... You untar the package, cd into it and run
iskandhar:/home/alex/Desktop/Newdat/CDSal/InstallWizard_5.1.2_Debian_4.0_64bit# ls -la
drwxr-xr-x 7 alex alex 4096 2009-07-29 14:06 .
drwxr-xr-x 4 alex alex 4096 2009-12-17 22:27 ..
drwxr-xr-x 3 alex alex 4096 2009-07-06 12:50 bin
-rwxr-xr-x 1 alex alex 28140 2009-07-29 09:47 config_Debian_4.0_64bit.xml
drwxr-xr-x 3 alex alex 4096 2009-07-06 12:50 config_files
drwxr-xr-x 2 alex alex 4096 2009-07-06 12:50 doc
drwxr-xr-x 4 alex alex 4096 2009-07-06 12:49 Products
-rwxr-xr-x 1 alex alex 20815 2009-07-06 12:50 README
-rwxr-xr-x 1 alex alex 52735 2009-07-06 12:50 runInstall
-rwxr--r-- 1 alex alex 449541 2009-07-29 14:04 SALOME_5_1_2_Release_Notes.pdf
drwxr-xr-x 2 alex alex 4096 2009-07-06 12:50 src
iskandhar:/home/alex/Desktop/Newdat/CDSal/InstallWizard_5.1.2_Debian_4.0_64bit# ./runInstall -b -t <your target dir>
default target dir is $HOME/salome_5.1.2
Failure to use the switch -b ( batch mode ) will default the install process to the -g ( GUI mode ) mode, and it will fail, because the installer gui executable was compiled for 32 bits...
So if you have multilib enabled, shouldn't make any difference to use -b or not... but if you have Slackware64 13 pure, use -b.
It will make a question about which version to install, choose the only one available Debian Etch... since i installed it as root, I choose /opt/salome_5.1.2...
Once it stops, you should cd into your install dir, and perform a bit of a hackery...
Since libgfortran.so.1 does not exist, you must lie to Salome binaries...
iskandhar:~/salome_5.1.2# ln -s /usr/lib64/libgfortran.so.3 libgfortran.so.1
2.1. Setting of the environment for SALOME
Installation Wizard creates some environment files to simplify
the procedure of launching SALOME. These shell scripts set all
necessary environment variables for all products you have installed.
These files are:
* env_products.csh + env_products.sh in the target directory;
these files can be used for the launching of SALOME.
* salome.csh + salome.sh in the KERNEL module's sources/binaries
root directories; these files are the copies of the
corresponding env_products.* files.
* env_build.csh + env_build.sh in the target directory;
these files contain minimal environment settings necessary
to build SALOME packages from sources (see paragraph 4).
To set SALOME environment just type in the terminal window:
where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.
KERNEL_5.1.2 for the 5.1.2 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.2/bin/salome for the version
5.1.2) by using of 'cd' command and then type:
This will start SALOME according to the launching parameters which
are described in the configuration files: SalomeApp.xml in the
<GUI_ROOT_DIR>/share/salome/resources/gui folder and
.SalomeApprc.<version_number> file, located in your home
directory (where <version_number> is SALOME version number).
If the user configuration file does not exist, it is automatically
created when exiting SALOME GUI.
So in your calling script, something like
echo 'export LD_LIBRARY_PATH=/path/to_salome/root/dir:$LD_LIBRARY_PATH&&. <source salome environment script>&&<call to the launching script of salome source tree>' > /usr/local/bin/salome&&chmod +x /usr/local/bin/salome
Would be enough for you to call salome from bash as user...
One step remains though ... libg2c.so.0
For this you can grab an rpm for 64bits arch from centOS here... :
and run rpm2tgz over this... it will create a package containing the lib and a symlink to it... installpkg it, and you will be done here.
Failure to perform this last step will hider the ability of Salome platform to build meshes.
... Well, guess this is all for now...
PS This work would not have been possible without the hint from user knudfl, he gave me the hint on how to get libg2c.so.0 from the rpm from CentOS. Once again thanks Knudfl