Coder Social home page Coder Social logo

Comments (6)

chapouvalpin avatar chapouvalpin commented on August 24, 2024

I think that the version of gcc is not relevant. The bug appears when I compile under my Arch Linux machine. With my Gentoo machine, ADIOS compiles with no error. The gcc version is the same (5.3.0). However, the glibc version differs. On Arch Linux, the version of glibc is 2.23 and on Gentoo it is 2.22.

from adios.

Jorispilot avatar Jorispilot commented on August 24, 2024

Got the same error message.

I use archlinux version 4.4.5-1-ARCH on a x86_64 architecture. I have glibc v2.23,gcc 5.3.0 and ADIOS 1.8.0.

from adios.

pnorbert avatar pnorbert commented on August 24, 2024

Hi, can you please try to build the master branch with this compiler/glibc combo? I fixed this issue there based on torch/torch7#355

from adios.

chapouvalpin avatar chapouvalpin commented on August 24, 2024

Hi, I confirm that the problem is fixed in the master branch. Thank you!

Now I have this error when I compile with hdf5. Without hdf5 support there is no error.

/usr/include/mpi.h:324:30: erreur : conflicting types for ‘MPI_Offset’
 typedef OMPI_MPI_OFFSET_TYPE MPI_Offset;
                              ^
In file included from ../../src/public/adios_mpi.h:13:0,
                 from ../../src/public/adios_read_v1.h:19,
                 from ../../src/public/adios_read.h:15,
                 from bp2h5.c:36:
../../src/public/mpidummy.h:29:18: note : previous declaration of ‘MPI_Offset’ was here
 typedef uint64_t MPI_Offset;
                  ^

from adios.

pnorbert avatar pnorbert commented on August 24, 2024

Please use
export CC=gcc
export MPICC=mpicc
before configuring adios

If you get this error when building bp2h5, then this is an error due to
trying to build it with parallel hdf5. Use --without-hdf5
--with-phdf5=

On Tue, Mar 15, 2016 at 11:11 AM, chapouvalpin [email protected]
wrote:

Hi, I confirm that the problem is fixed in the master branch. Thank you!

Now I have this error when I compile with hdf5. Without hdf5 support there
is no error.

/usr/include/mpi.h:324:30: erreur : conflicting types for ‘MPI_Offset’
typedef OMPI_MPI_OFFSET_TYPE MPI_Offset;
^
In file included from ../../src/public/adios_mpi.h:13:0,
from ../../src/public/adios_read_v1.h:19,
from ../../src/public/adios_read.h:15,
from bp2h5.c:36:
../../src/public/mpidummy.h:29:18: note : previous declaration of ‘MPI_Offset’ was here
typedef uint64_t MPI_Offset;
^


You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#63 (comment)

from adios.

chapouvalpin avatar chapouvalpin commented on August 24, 2024

Please use export CC=gcc export MPICC=mpicc before configuring adios If you get this error when building bp2h5, then this is an error due to trying to build it with parallel hdf5. Use --without-hdf5 --with-phdf5=

Thank you! I forgot I just installed the parallel version of hdf5.

from adios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.