Page 1 of 1

Help needed for Windows build

Posted: Thu Apr 28, 2022 4:43 am
by ywan459
Hi,

I have complied my one on Windows Subsystem for Linux (Ubuntu 20.04 LTS). There is no tricky issues, just simply follow the given the code_saturne instruction. Yes user has to install some library and tools before compilation, such as bulid essential package, OpenMPI and Qt etc.. For GUI, I am using MobaXterm. User just launch the WLS on MobaXterm, the GUI should pop up as on the native platform.

Regards
ywan459

Help needed for Windows build

Posted: Sun May 08, 2022 2:40 pm
by roberto.bernetti
Hello
under the WSL2 and ubuntu it is possible to install the version 6.0.2-1 available as a package in the ubuntu repository.
The GUI work out-of-the box with no need for a swparate xserver.

P.S. The version does not have the bug-fix for the compressible Module.

Re: Help needed for Windows build

Posted: Sun May 08, 2022 5:06 pm
by roberto.bernetti
I tried to install code_saturne-7.0.4 on ubuntu WSL2.

I got the following error and warning:

Code: Select all

config.status: error: in `/home/robber/saturneCode/saturneBiuld/prod':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details

Code: Select all

configure: WARNING: no MPI support
configure: WARNING: no HDF5 file support
configure: WARNING: no hdf5 library found; will not search for MED
configure: WARNING: no MEDCoupling file support
configure: WARNING: doxygen not found
configure: WARNING: dot not found
Please can someone point me to the ubuntu package name nedded?

Re: Help needed for Windows build

Posted: Sun May 08, 2022 5:58 pm
by roberto.bernetti
I resort to the semi-automatic installation and it works fine.
I summarize my step:
  • after the installation of the ubuntu WSL2 on a windows 11 using apt-get I installed a program that uses a GUI (i.e. gedit) to install all the necessary library

    set up in the home user directory the installation manual indication about the built directory structure

    install build packages by

    Code: Select all

    sudo apt-get install build-essential
    move on the build directory and first run of

    Code: Select all

    ../../code_saturne-7.0.4/install_saturne.py
    modify the setup file requesting the library that it is needed

    second run of

    Code: Select all

    ../../code_saturne-7.0.4/install_saturne.py
The GUI works fine, I am in the process of testing the solver