<![CDATA[Multiwfn forum / make noGUI]]> - //www.umsyar.com/wfnbbs/viewtopic.php?id=666 Mon, 16 May 2022 04:18:41 +0000 FluxBB <![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2491#p2491 Dear Igor,

I have renamed, it is a typo. Redundant files have been removed.

Best,

Tian

]]>
Mon, 16 May 2022 04:18:41 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2491#p2491
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2489#p2489 Dear Tian Lu,

Thank you so much!

I think now old noGUI-related files can be just dropped.

BTW, could you please rename COMPLIATION_METHOD.txt to COMPILATION_METHOD.txt?

Best regards,
Igor

]]>
Mon, 16 May 2022 01:56:29 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2489#p2489
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2488#p2488 Dear Igor,

I just uploaded new source code package of Multiwfn to official site. Your patch has been applied, with minor modifications (compilation arguments of dummy interface, file extension, position of disiln .a file).

Best regards,

Tian

]]>
Sun, 15 May 2022 08:15:37 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2488#p2488
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2487#p2487 Dear Tian Lu,

I checked the applicability of the patch to the current version of Multiwfn. I used command

patch < 0001-make-noGUI-target.patch

for applying the patch under Linux. Most of the changes are done successfully, except moving of `dislin_d-11.0.a` to `GUI/dislin_d-11.0.a` and, unfortunately, it creates `dislin_d_empty.F90` in the main source directory, not in `noGUI/dislin_d_empty.F90`, as I expected, so, the moving of this file is also required.

Best regards,
Igor

]]>
Sun, 15 May 2022 01:07:03 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2487#p2487
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2486#p2486 Dear Igor,

I will test the compliation after applying the patch recently when I have spare time; if there is no exception, I will incorporate the change into official code in the next update.

Best,

Tian

]]>
Fri, 13 May 2022 17:02:43 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2486#p2486
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2485#p2485 By the way, on the top of this patch, I wrote the CMake build system, so, module-dependency is solved automatically :-) Also, it works fine for Windows (at least, with noGUI version).

Best regards,
Igor

]]>
Fri, 13 May 2022 16:02:37 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2485#p2485
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2484#p2484 Dear Tian Lu,

What is the problem with new file dependency? It is active only for noGUI version.

Usually, I'm developing noGUI version, so, for me, it would be extremely greater if I won't be needed to have a preprocessing script. That was the idea of the patch.

Best regards,
Igor

]]>
Fri, 13 May 2022 15:52:48 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2484#p2484
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2480#p2480 Dear Igor,

Because I think the current compilation procedure is convenient enough, while the patch will introduce new file dependency, therefore I prefer to keep the current Makefile unchanged.

Best regards,

Tian

]]>
Fri, 13 May 2022 14:01:41 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2480#p2480
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2478#p2478 Dear Tian Lu,

Will you incorporate this patch into the official source code of Multiwfn?

Best regards,
Igor

]]>
Thu, 12 May 2022 19:02:39 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2478#p2478
<![CDATA[Re: make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2462#p2462 Nice idea!

]]>
Tue, 10 May 2022 06:33:12 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2462#p2462
<![CDATA[make noGUI]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2461#p2461 Dear Tian Lu,

I want to have a simple building system for Multiwfn, so I created the following patch:
0001-make-noGUI-target.patch.txt

It adds two targets:
1. `make GUI` which creates Multiwfn with GUI
2. `make noGUI` which creates Multiwfn_noGUI without GUI

Simple running of `make` creates both executables.

I created a dummy implementation of DISLIN library in noGUI/dislin_d_empty.F90. It has an additional routine doesnotexist which can show the calling of DISLIN routines if this file is compiled with -DDEBUG flag. This allows me to not process each source file for removing GUI-related lines of code.

Best regards,
Igor

]]>
Tue, 10 May 2022 05:51:26 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2461#p2461