Skip to content
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

Error in installation #129

Closed
physixfan opened this issue May 5, 2017 · 4 comments
Closed

Error in installation #129

physixfan opened this issue May 5, 2017 · 4 comments

Comments

@physixfan
Copy link

physixfan commented May 5, 2017

Hi,

I used the following command to install adios-1.11.0:

cd adios
mkdir build
cd build
../configure -prefix=/turquoise/users/xfan/local CFLAGS=-fPIC
make clean
make 
make install

But when I execute "make", I get the following error:

In file included from ../../../src/public/adios_mpi.h:13,
from ../../../src/core/adios_transport_hooks.h:15,
from ../../../utils/bp2ncd/bp2ncd.c:14:
../../../src/public/mpidummy.h:27: error: two or more data types in declaration specifiers
../../../src/public/mpidummy.h:27: warning: useless type name in empty declaration
../../../src/public/mpidummy.h:30: error: two or more data types in declaration specifiers
../../../src/public/mpidummy.h:30: warning: useless type name in empty declaration
In file included from ../../../src/public/adios_mpi.h:13,
from ../../../src/core/adios_transport_hooks.h:15,
from ../../../utils/bp2ncd/bp2ncd.c:14:
../../../src/public/mpidummy.h:53:1: warning: "MPI_COMM_WORLD" redefined
In file included from ../../../utils/bp2ncd/bp2ncd.c:12:
/usr/include/netcdf.h:44:1: warning: this is the location of the previous definition
make[3]: *** [bp2ncd-bp2ncd.o] Error 1
make[3]: Leaving directory '/turquoise/users/xfan/adios-1.11.0/build/utils/bp2ncd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/turquoise/users/xfan/adios-1.11.0/build/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/turquoise/users/xfan/adios-1.11.0/build'
make: *** [all] Error 2

What should I do to make correctly?

@pnorbert
Copy link
Contributor

pnorbert commented May 5, 2017 via email

@physixfan
Copy link
Author

physixfan commented May 5, 2017

Thanks for your instant reply! After I used --without-netcdf in my configuration, the previous error is gone. However, I get this error instead:

make[4]: Leaving directory '/turquoise/users/xfan/adios-1.10.0/build/tests/suite/programs'
make[4]: Entering directory '/turquoise/users/xfan/adios-1.10.0/build/tests/suite'
test "../../../tests/suite" = "." || ln -sf ../../../tests/suite/reference .
ln: './reference': cannot overwrite directory
make[4]: *** [all-local] Error 1
make[4]: Leaving directory '/turquoise/users/xfan/adios-1.10.0/build/tests/suite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/turquoise/users/xfan/adios-1.10.0/build/tests/suite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/turquoise/users/xfan/adios-1.10.0/build/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/turquoise/users/xfan/adios-1.10.0/build'
make: *** [all] Error 2

@pnorbert
Copy link
Contributor

pnorbert commented May 5, 2017 via email

@physixfan
Copy link
Author

Thanks! Now it is installed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants