Closed chapouvalpin closed 6 years ago
I found the error. There is a very old version of NetCDF (1.56) on the system that conflicts with the compilation. I don't need the NetCDF dependency, but autotools detects it. I have installed a modern version which fixes the issue.
Here was the error:
In file included from bp2ncd.c:12:0:
/usr/include/netcdf.h:44:0: note: this is the location of the previous definition
#define MPI_COMM_WORLD 0
Thanks for the note. You can build adios without netcdf by using the configure option --without-netcdf
On Feb 15, 2018 5:39 AM, "chapouvalpin" notifications@github.com wrote:
I found the error. There is a very old version of NetCDF (1.56) on the system that conflicts with the compilation. I don't need the NetCDF dependency, but autotools detects it. I have installed a modern version which fixes the issue.
Here was the error:
In file included from bp2ncd.c:12:0: /usr/include/netcdf.h:44:0: note: this is the location of the previous definition
define MPI_COMM_WORLD 0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornladios/ADIOS/issues/167#issuecomment-365888649, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGMLbtEXkRFa6Gq_Jf1LFRpgHjMe6lDks5tVAlXgaJpZM4SGnk3 .
Hi,
I get the following error while compiling ADIOS 1.13.0:
System configuration:
If I am correct, the compilation fails when it compiles a nompi version of bp2ncd. Therefore, it is not a OpenMPI version issue but a compiler issue, but I have no problem to compile ADIOS on another system with the same compiler.
Antoine