[CIG-MC] Citcom Installation

tan2 tan2tan2 at gmail.com
Thu Sep 29 20:31:30 PDT 2016


Hi Lukas,

The error is due to an incompatible change in HDF5 library.
https://support.hdfgroup.org/HDF5/doc/RM/H5G/H5Gopen.htm

If you don't plan to use HDF5 file for the output, you can avoid the error
by adding a flag to configure:
   ./configure --without-hdf5


Cheers,

On Fri, Sep 30, 2016 at 6:01 AM, Lukas Fuchs <lukas_fuchs84 at outlook.com>
wrote:

> Dear CIG Team,
>
> I tried to install CitcomS on my local working machine (Fedora24). The
> configuration seemed to be fine, however, make was not successful (see
> config.log in the attachment) and I received the following error:
>
> make[3]: Entering directory '/home/staff/lfuchs/Numerics/CitcomS-
> 3.3.1/visual'
> mpicc -DHAVE_CONFIG_H -I. -I..   -DUSE_GZDIR   -g -O2 -MT h5tocap.o -MD
> -MP -MF .deps/h5tocap.Tpo -c -o h5tocap.o h5tocap.c
> h5tocap.c: In function ‘main’:
> h5tocap.c:74:9: warning: implicit declaration of function ‘strcmp’ [-
> Wimplicit-function-declaration]
>      if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0)
>          ^~~~~~
> In file included from /usr/include/openmpi-x86_64/H5public.h:34:0,
>                  from /usr/include/openmpi-x86_64/hdf5.h:24,
>                  from h5tocap.c:22:
> /usr/include/openmpi-x86_64/H5version.h:285:17: error: too few
> arguments to function ‘H5Gopen2’
>  #define H5Gopen H5Gopen2
>                  ^
> h5tocap.c:122:13: note: in expansion of macro ‘H5Gopen’
>      input = H5Gopen(h5file, "input");
>              ^~~~~~~
> In file included from /usr/include/openmpi-x86_64/hdf5.h:31:0,
>                  from h5tocap.c:22:
> /usr/include/openmpi-x86_64/H5Gpublic.h:78:14: note: declared here
>  H5_DLL hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id);
>               ^~~~~~~~
> Makefile:615: recipe for target 'h5tocap.o' failed
>
> Do you have any suggestions on how to solve this issue?
>
> Thanks in advance.
>
> Greetings,
>
> Lukas
>
>
> --
> Lukas Fuchs
> ----------------
> 3605 Steck Ave. #1104
> Austin, TX 78759
> Email: lukas_fuchs84 at outlook.com
> Phone: +1 (512) 987-3427
>
> _______________________________________________
> CIG-MC mailing list
> CIG-MC at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-mc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-mc/attachments/20160930/a455c74f/attachment.html>


More information about the CIG-MC mailing list