<div dir="ltr"><div>After you have download the git-master of dune-common and dune-grid from <a href="https://github.com/dune-project/">https://github.com/dune-project/</a> and create a new module using duneproject, it will ask me the project version,<br>
3) Project/Module version? <br> what should I give as the project version?<br></div>xiaoxue<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 2:44 PM, Markus Blatt <span dir="ltr"><<a href="mailto:markus@dr-blatt.de" target="_blank">markus@dr-blatt.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On Fri, Jul 26, 2013 at 01:58:15PM -0400, Xiaoxue Gong wrote:<br>
> It is not only a c++ version of the previous code. I have made use of some<br>
> vtu writer classes defined in  dune-grid/dune-grid/io/file/vtk. So I have<br>
> to include the dune-grid liabrary.<br>
<br>
<br>
</div>Ok. But then you should at least only checkin stuff that is<br>
needed. One should never ever check libraries. I see a libpsurface.so<br>
in your repository. This will not work. PSurface is availabel to the<br>
buildsystem in the variable LIBPSURFACE_CFLAGS (contains the include path)<br>
LIBPSURFACE_LIBS (contains the libraries. See the buildsystem howto on<br>
how to use them.<br>
<br>
Given that you based your code on 2.1.1 I would propose the following<br>
procedure.<br>
<br>
After you have download the git-master of dune-common and dune-grid,<br>
you create a new module using duneproject. Before adding or changing<br>
anything in the module you create a new repository and push the<br>
current status. Then you remove the new module and check it out from<br>
the repository and build it. All newly created files (listed by git<br>
status) should be marked as ignorable to git (that is be listed in a<br>
file .gitignore in the top level source directory of the module, see<br>
e.g. dune-common).<br>
<br>
Now you can add the source files from your bogus repository to the new<br>
module and make it compile again. If it does commit and<br>
push. Additional check that everything works for you with a newly<br>
checkout version of your module.<br>
<br>
Then make your module even cleaner by removing the<br>
dune_psurface_convert.cc file and adjust the buildsystem. As it is not<br>
used it just confuses people.<br>
<br>
Afterwards you should probably delete the now bogus project from<br>
gitorious. (But only after you are _really_ sure the new one works!)<br>
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
Markus<br>
<br>
--<br>
Do you need more support with DUNE or HPC in general?<br>
<br>
Dr. Markus Blatt - HPC-Simulation-Software & Services <a href="http://www.dr-blatt.de" target="_blank">http://www.dr-blatt.de</a><br>
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany<br>
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658<br>
<br>
_______________________________________________<br>
Dune-devel mailing list<br>
<a href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
<a href="http://lists.dune-project.org/mailman/listinfo/dune-devel" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
</div></div></blockquote></div><br></div>