-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #211
Comments
Did you configure with mpicc or gcc? |
My setup on Rhea is:
|
Oh, I've just used the plain CC=gcc/CXX=g++ . I've changed the compilers but still get the errors Configuring on traverse adios configured as follows:
-- Configuring done build$ make |
Do you have HAVE_MPI on? $ grep HAVE_MPI config.h Actually, I see the reason for the error when compiling with gcc (not mpicc) and so should always see the error when building the non-mpi version of the library. But your error message is when building the MPI version. |
Ah, this was not defined. I've defined HAVE_MPI. Now there are lots of errors in the HDF5 part of adios: Scanning dependencies of target bp2h5 In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, In file included from /home/rkube/repos/ADIOS/src/public/adios_mpi.h:13, In file included from /usr/local/hdf5/gcc/openmpi-4.0.3rc1/1.10.5/include/H5public.h:60, |
I did not mean you to define it. This should have been automatic, when using the mpi compiler. |
Hi,
I'm trying to compile ADIOS1 using gcc8. I'm getting the following error:
[ 11%] Building C object src/CMakeFiles/adios.dir/write/adios_mpi_amr.c.o
[ 11%] Building C object src/CMakeFiles/adios.dir/write/adios_posix.c.o
/home/rkube/repos/ADIOS/src/write/adios_posix.c: In function ‘adios_posix_write_pg’:
/home/rkube/repos/ADIOS/src/write/adios_posix.c:739:32: error: ‘struct adios_POSIX_data_struct’ has no member named ‘rank’
fd->name, p->rank, strerror(errno));
^~
/home/rkube/repos/ADIOS/src/write/adios_posix.c:746:32: error: ‘struct adios_POSIX_data_struct’ has no member named ‘rank’
fd->name, p->rank, to_write, wrote);
^~
make[2]: *** [src/CMakeFiles/adios.dir/build.make:1090: src/CMakeFiles/adios.dir/write/adios_posix.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: src/CMakeFiles/adios.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The text was updated successfully, but these errors were encountered: