Dear Vuong Van,

did you modify anything in your CMakeLists.txt file? You said the test ran successfully so the executable in |dumux/dumux/build-cmake/test/porousmediumflow/1p" was build successfully?|

|Best wishes
Kilian
|

On 18.11.21 07:53, Pham, Vuong Van wrote:

Dear Kilian,

Still following the Cmake command (i.e., make name_of_executable), I attempted to do so in the Ubuntu command window, however I received this error as attached:

The picture indicated that for some reasons the command “dune_symlink_to_source_files” is unknown to Cmake. Besides, what I observed was that, the commands that are relevant to DUNE, somehow are unknown by Cmake and cause incomplete configuration. Please assist me on this error.

/Best regards,/

*Vuong Van Pham**//*

Graduate Research Assistant (GRA)

Department of Chemical and Petroleum Engineering (CPE), University of Kansas

Email: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu>

Phone: +1-(785)-979-2664

*From:* Kilian Weishaupt <kilian.weisha...@iws.uni-stuttgart.de>
*Sent:* Thursday, November 18, 2021 12:42 AM
*To:* Pham, Vuong Van <vuongvanp...@ku.edu>
*Cc:* DuMux User Mailing List <dumux@listserv.uni-stuttgart.de>
*Subject:* Re: [DuMux] (no subject)

Dear Vuong Van,

I'm glad the installation worked now.

1.)

CMakeLists.txt is a configuration file read by CMake, a build system generator. If configured correctly,
you compile your source code just by calling

make name_of_the_executable

If you make any changes to CMakeLists.txt, a simple

make

will update the build configuration.

Have a look at the tests or at our course exercises here https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/-/tree/master/exercises/exercise-basic <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.iws.uni-stuttgart.de%2Fdumux-repositories%2Fdumux-course%2F-%2Ftree%2Fmaster%2Fexercises%2Fexercise-basic&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787571602%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=0Tkpc95zcjNvA%2Ff8hGE%2BTVYS3pUhlvQHvkbttwa2N%2FY%3D&reserved=0> to get more information
on how to properly use CMakeLists.txt

2.) You may either just use a simple text editor such as Atom or notepad++ or you can try setting up VS Code (an IDE) which however, is a little bit more involved to configure. Note that you can either edit your files under Windows (as shown in the windows explorer) or using the Ubuntu subsytem. Whatever works better for you.

See Point 3 in our wiki on how to get VS Code https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/wikis/Windows-Subsystem-for-DuMux <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.iws.uni-stuttgart.de%2Fdumux-repositories%2Fdumux%2F-%2Fwikis%2FWindows-Subsystem-for-DuMux&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787581598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=TALYTVQT7PYjIs14jR34uKgVTmaybRTCJk3NnZh0v8M%3D&reserved=0>

PS: Please always respond to the mailing list (dumux@listserv.uni-stuttgart.de <mailto:dumux@listserv.uni-stuttgart.de>, I also forgot to do that in my first mail) such that others can profit from our discussion, too.

Best wishes
Kilian

On 17.11.21 20:56, Pham, Vuong Van wrote:

    Dear Kilian,

    I am glad to receive your swift response. Following the use of
    DuMuX (at this point I installed all folders and ran the test
    successfully), I have the concerns listed as below:

    1.The core structure of a “DuMux” job contains files as the
    attached figure. I believe that I have to compile the
    “CMakeLists.txt” using CMake prior to any further execution. May
    you assist me how to compile such that “CMakeLists.txt” properly?

    2.By far, I only know how to modify contents in a file (within
    Ubuntu subsystem) using Vim editor. However, I may need either
    Python/C++ later to modify such files. May you suggest me an IDE
    to use with C++ in Ubuntu subsystem?

    I hope that my concerns are appropriate.

    /Best regards,/

    *Vuong Van Pham*

    Graduate Research Assistant (GRA)

    Department of Chemical and Petroleum Engineering (CPE), University
    of Kansas

    Email: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu>

    Phone: +1-(785)-979-2664

    *From:* Kilian Weishaupt <kilian.weisha...@iws.uni-stuttgart.de>
    <mailto:kilian.weisha...@iws.uni-stuttgart.de>
    *Sent:* Wednesday, November 17, 2021 10:28 AM
    *To:* Pham, Vuong Van <vuongvanp...@ku.edu>
    <mailto:vuongvanp...@ku.edu>
    *Subject:* Re: [DuMux] (no subject)

    Dear Vuong Van,

    we recently updated our wiki for installing Dumux under Windows 10.

    There seems to be an issue with git clone which can be fixed as
    described in the wiki.

    
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/wikis/Windows-Subsystem-for-DuMux
    
<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.iws.uni-stuttgart.de%2Fdumux-repositories%2Fdumux%2F-%2Fwikis%2FWindows-Subsystem-for-DuMux&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787581598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=TALYTVQT7PYjIs14jR34uKgVTmaybRTCJk3NnZh0v8M%3D&reserved=0>

    Best wishes
    Kilian

    On 12.11.21 01:39, Pham, Vuong Van wrote:

        /To the DuMux development team,/

        My name is VUONG VAN PHAM and I am an interested DuMux user
        for my research purpose. When I was tempted to install the
        simulator using installdumux.py, the installation was paused
        and the .log file is attached.

        Please assist me on how to install DuMux correctly. Also
        please note that I was tempted to install in ubuntu subsystem
        within Windows 10 (I do not know whether that impacts the
        installation process, however, I inform that fact just in case).

        /Best regards,/

        *Vuong Van Pham*

        Graduate Research Assistant (GRA)

        Department of Chemical and Petroleum Engineering (CPE),
        University of Kansas

        Email: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu>

        Phone: +1-(785)-979-2664




        _______________________________________________

        DuMux mailing list

        DuMux@listserv.uni-stuttgart.de  
<mailto:DuMux@listserv.uni-stuttgart.de>

        https://listserv.uni-stuttgart.de/mailman/listinfo/dumux  
<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.uni-stuttgart.de%2Fmailman%2Flistinfo%2Fdumux&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787591589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=UY%2Fp0iomOdvEzdjqnlA4YnO1DuXj9NDf5DOyTWophwI%3D&reserved=0>

--
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    Kilian Weishaupt

    Institut für Wasser- und Umweltsystemmodellierung (IWS)

    Lehrstuhl für Hydromechanik und Hydrosystemmodellierung

    Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart

    Email:kilian.weisha...@iws.uni-stuttgart.de  
<mailto:kilian.weisha...@iws.uni-stuttgart.de>

    Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430

    http://www.hydrosys.uni-stuttgart.de  
<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hydrosys.uni-stuttgart.de%2F&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787591589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=dL%2BOM5xnSGZ%2FgAQF15DWrbIY8ShHRXX%2F%2BL4Ov6U%2BOgw%3D&reserved=0>

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Kilian Weishaupt
Institut für Wasser- und Umweltsystemmodellierung (IWS)
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart
Email:kilian.weisha...@iws.uni-stuttgart.de  
<mailto:kilian.weisha...@iws.uni-stuttgart.de>
Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430
http://www.hydrosys.uni-stuttgart.de  
<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hydrosys.uni-stuttgart.de%2F&data=04%7C01%7Cvuongvanpham%40ku.edu%7C5dc0965bc6d3418fab4c08d9aa5e928c%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637728146787601580%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=0sLIa2ps38R4va6g8eRukHEWt02ZJWUmwo%2FSVLFKTpo%3D&reserved=0>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Kilian Weishaupt
Institut für Wasser- und Umweltsystemmodellierung (IWS)
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart
Email: kilian.weisha...@iws.uni-stuttgart.de
Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430
http://www.hydrosys.uni-stuttgart.de
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

_______________________________________________
DuMux mailing list
DuMux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to