I wanted to download SALOME 9.15 to install on ubuntu 22.04, in the link it only downloaded SALOME-9.15.0-native-UB22.04-SRC.tar.gz, is there any way to download the SALOME-9.15.0-native-UB22.04.tar.gz?
I tried to install SALOME-9.15.0-native-UB22.04-SRC.tar.gz
install_bin.sh completes.
sat launcher SALOME-9.15.0-native returns:
SatException(‘KERNEL is not installed’)
find INSTALL -maxdepth 3 | grep KERNEL
returns nothing.
what can I do?
If you intend to use SALOME as it is, you do not need to run install_bin.sh , as that is only for setting up development mode. You only need to run the following command lines to ensure that all system prerequisites are installed:
SALOME-9.15.0-native-UB22.04-SRC/sat/sat config SALOME-9.15.0-native --check_system
Then launch SALOME : SALOME-9.15.0-native-UB22.04-SRC/salome
You can also use the universal binary, which includes all necessary prerequisites and which makes things more confortable. To launch SALOME, here you need to run:
SALOME-9.15.0/run_salome.sh
If you still want to run install_bin.sh, here are the command lines which I tested:
tar zxf SALOME-9.15.0-native-UB22.04-SRC.tar.gz
cd SALOME-9.15.0-native-UB22.04-SRC
./install_bin.sh
sat/sat launcher SALOME-9.15.0-native
One can also do (better):
tar zxf SALOME-9.15.0-native-UB22.04-SRC.tar.gz
mv SALOME-9.15.0-native-UB22.04-SRC SALOME-9.15.0-native-UB22.04
cd SALOME-9.15.0-native-UB22.04
./install_bin.sh
cd ..
# clone SAT and SAT_SALOME
git clone https://github.com/SalomePlatform/sat.git SAT
git clone https://github.com/SalomePlatform/sat_salome.git SAT_SALOME
# expose SAT_SALOME to SAT
SAT/sat init --add_project $PWD/SAT_SALOME/salome.pyconf
# clone ALL SALOME products from GitHub
SAT/sat -o "APPLICATION.properties.git_server='github'" prepare SALOME-9.15.0-native --properties 'is_SALOME_product:yes'
# run a compilation of all SALOME products
SAT/sat -o "APPLICATION.properties.git_server='github'" compile SALOME-9.15.0-native --properties 'is_SALOME_product:yes' --clean_all
# in case you want to clone/compile SHAPER only
SAT/sat -o "APPLICATION.properties.git_server='github'" prepare SALOME-9.15.0-native -p CONFIGURATION,SHAPER
# compile SHAPER only
SAT/sat -o "APPLICATION.properties.git_server='github'" compile SALOME-9.15.0-native -p SHAPER --clean_all
# generate a launcher
SAT/sat launcher SALOME-9.15.0-native
# run SHAPER tests to check your implementation is consistent
SALOME-9.150-native-UB22.04/salome test -R SHAPER
# launch SALOME
SALOME-9.15.0-native-UB22.04/salome
You can also do everything from scratch by following the recipe at this link :
Hi Nabil. Thank you for the response i could install Salome 9.15, and it worked Ok. Thank you very much.
I did this:
SALOME-9.15.0-native-UB22.04-SRC/sat/sat config SALOME-9.15.0-native --check_system
→ ./sat config SALOME-9.15.0-native --check_system
/usr/bin/env: «python»: does not exist
Python should be = python3
sudo apt install python-is-python3
./sat config SALOME-9.15.0-native --check > depend.txt
grep “KO” depend.txt
grep “KO” depend.txt > missing.txt
in this file, I had to leave the only the packages that are missing (that was manual work) I erased the text :
python3-babel python3-pytest-cython python3-jinja2 python3-pyqt5 python3-pyqt5.qtsvg pyqt5-dev pyqt5-dev-tools python3-pygments python3-sphinx python3-alabaster libboost-all-dev python3-cftime libcppunit-dev python3-cycler python3-docutils doxygen libeigen3-dev libfreeimage3 libfreeimage-dev graphviz libgraphviz-dev python3-h5py libhdf5-dev
python3-imagesize libjsoncpp-dev python3-kiwisolver liblapack3 liblapacke liblapack-dev liblapacke-dev libxml2-dev clang llvm-dev python3-matplotlib libmetis5 libmetis-dev python3-mpi4py python3-netcdf4 libnlopt0 libnlopt-cxx0 python3-nlopt libnlopt-dev libnlopt-cxx-dev python3-nose python3-numpy python3-numpydoc python3-packaging python3-pandas python3-patsy python3-patsy python3-psutil python3-pytest libqwt-qt5-6
libqwt-qt5-dev libfftw3-double3 libdc1394-25
libopenexr25 gfortran-11 libilmbase25 libffi7 openmpi-bin libgdal30 libopenblas0-serial libxml++2.6-2v5 libncurses5 libssl-dev libfontconfig1-dev libxcb-dri2-0-dev libxkbcommon-dev libxkbcommon-x11-dev libxi-dev libxt-dev libxmu-dev libxpm-dev libxft-dev libjpeg-dev libicu-dev libopenmpi-dev libreadline-dev libhwloc-dev libsqlite3-dev libcurl4-openssl-dev libxcursor-dev cython3 libopenblas-dev qttools5-dev libqt5svg5-dev libqt5x11extras5-dev qtxmlpatterns5-dev-tools libtiff5-dev libgeotiff-dev libgif-dev libgeos-dev libgdal-dev dvipng libxml++2.6-dev libgmp-dev libmpfr-dev python3-scipy python3-sip python3-sip-dev python3-stemmer python3-sphinx-rtd-theme
python3-sphinxcontrib.websupport sphinx-intl python3-statsmodels
python3-statsmodels swig tcl-dev libtk tk-dev python3-toml libdc1394-25 libqwt-qt5-dev
re run the check
****used:
sudo apt install …all the missing packages
Then launch SALOME : SALOME-9.15.0-native-UB22.04-SRC/salome
Salome worked ok.
Thank you very much.
Andrés E. Prato
1 Like