Do you have MPI installed?
Dana Robinson Software Developer The HDF Group after reading you message I did issue sudo apt-get install mpich mpich-doc this did some :) and now the first search for "error": gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) configure:4514: $? = 0 configure:4503: mpicc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4514: $? = 1 configure:4503: mpicc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4514: $? = 1 configure:4534: checking whether the C compiler works configure:4556: mpicc conftest.c >&5 configure:4560: $? = 0 configure:4608: result: yes ______________________________________________________ and a few lines down configure:5370: mpicc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5370: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "HDF5" | #define PACKAGE_TARNAME "hdf5" | #define PACKAGE_VERSION "1.10.1" | #define PACKAGE_STRING "HDF5 1.10.1" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define PACKAGE "hdf5" | #define VERSION "1.10.1" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5399: checking for grep that handles long lines and -e configure:5457: result: /bin/grep configure:5462: checking for egrep configure:5524: result: /bin/grep -E configure:5529: checking for ANSI C header files configure:5549: mpicc -c conftest.c >&5 configure:5549: $? = 0 configure:5622: mpicc -o conftest conftest.c >&5 configure:5622: $? = 0 configure:5622: ./conftest configure:5622: $? = 0 configure:5633: result: yes ______________________________________________________________ configure:5669: mpicc -c conftest.c >&5 conftest.c: In function 'main': conftest.c:57:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:5669: $? = 1 On Fri, Jun 16, 2017 at 11:36 PM, Dana Robinson <[email protected]> wrote: > > > > *From: *Hdf-forum <[email protected]> on behalf of > Muhammad ILYAS <[email protected]> > *Reply-To: *HDF List <[email protected]> > *Date: *Friday, June 16, 2017 at 11:06 > *To: *HDF List <[email protected]> > *Subject: *[Hdf-forum] compiling for the first time from source code > > > > Hello, > > > > This is my first attempt of building some software from source, so please > bear with me. On a Ubuntu 16.04 installation I issued the following command: > > > > ./configure --prefix=/usr/local/HDF5 --enable-parallel > > > > in the config.log I see these lines > > > > configure:4603: error: in `/home/.../packages/hdf5-1.10.1': > > configure:4605: error: C compiler cannot create executables > > See `config.log' for more details > > > > the C compiler exists, as I have compiled zlib-1.2.11 and boost_1_64_0 > > > > Kindly guide me. > > > > Thanks in advance, > > MI > > ᐧ > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 > ᐧ
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
