[Dune-devel] Update in psurface convert
Xiaoxue Gong
xiaoxue198912 at gmail.com
Mon Sep 2 13:33:33 CEST 2013
Hi, I have merged the test in hdf5.m4 into the configure.ac file in
psurface folder and changed Makefile.am. Now we can test hdf5 library
successfully during configure.
The psurface folder could now be cloned to another computed and compiled
there. I have test it with my friend's computer. In order to compile the
folder, you need to:
1. Install the hdf5 library using the source code down load from here
http://www.hdfgroup.org/ftp/HDF5/current/src/
The compile it with the commend:
./configure --prefix=/usr/local/hdf5
make
make check
make install
sudo make install
I have problem testing the library when I use the pre-built binary
distributions. So don't use the pre-built binary distributions to install
hdf5.
2. use
sudo ./configure --prefix=psurface_install_folder
--with-amiramesh=amira_install_folder -with-hdf5=/usr/local/hdf5/(hdf5
folder) --disable-shared
Best,
Xiaoxue
On Fri, Aug 30, 2013 at 6:15 AM, Markus Blatt <markus at dr-blatt.de> wrote:
> Hi,
>
> where do I find the code? Somehow how failed to see your recent commits in
> gitorious.
>
> On Fri, Aug 30, 2013 at 05:13:58AM -0400, Xiaoxue Gong wrote:
> > Hi!
> >
> > Last week I was polishing the psurface-convert code.
> > Now the code could work. I have update both the source
> > code(psurface_convert.cpp and psurface_convert.h) and the executable
> > file(psurface_convert) into my git directory.
> > (I will remove the executable file after my code could be compiled on
> other
> > computer. You could now download the executable file and test it.)
>
> I highly doubt that this will work as I assume that it is partially
> linked dynamically. What does ldd <binary> output?
>
> You should really remove ASAP. Binaries should never be in a
> repository.
>
> > Currently there are other problems with compiling the code after moving
> all
> > static path in Makefile.am. Although I can compile it on my computer, it
> > could not be compiled successfully on other computer. In fixing that, I
> > have to write a hdf5 test in configure.ac and test it on another
> computer.
>
> Don't reinvent the wheel and waste time. There is a test in
> dune-common/m4/hdf5.m4. Please copy that one.
>
> Markus
> --
> Do you need more support with DUNE or HPC in general?
>
> Dr. Markus Blatt - HPC-Simulation-Software & Services
> http://www.dr-blatt.de
> Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
> Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20130902/98a0075e/attachment.htm>
More information about the Dune-devel
mailing list