Re: [netcdfgroup] Cannot compile netcdf 4.4.1.1 parallel tests

Hi Mark,

see here: https://github.com/Unidata/netcdf-c/issues/343 
<https://github.com/Unidata/netcdf-c/issues/343> 

Cheers

Dom

> On 7/02/2017, at 1:18 PM, Mark Dixon <m.c.dixon@xxxxxxxxxxx> wrote:
> 
> Hi,
> 
> I'm trying to build netcdf 4.4.1.1 and am having trouble compiling the 
> parallel tests - can anyone help, please? They compile in 4.4.1 with the same 
> method.
> 
> Doing this on a centos7 x86_64 machine with the OS-bundled copy of GCC 4.8.5 
> and copies of openmpi 2.0.1 and hdf5 1.8.17 (with PHDF5 enabled) that I built 
> myself:
> 
>  export CC=mpicc
>  export CXX=mpicxx
>  export FC=mpif90
>  export F77=mpif90
>  export F90=mpif90
>  ./configure --disable-dap-remote-tests --enable-parallel-tests
>  make
>  make check
> 
> Results in "make check" failing at:
> 
> mpicc -DHAVE_CONFIG_H -I. -I..  -I../include -I../oc2     -MT tst_h_par.o -MD 
> -MP -MF $depbase.Tpo -c -o tst_h_par.o tst_h_par.c &&\
> mv -f $depbase.Tpo $depbase.Po
> tst_h_par.c: In function ‘main’:
> tst_h_par.c:89:55: error: ‘ERR’ undeclared (first use in this function)
>       if ((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0) ERR;
>                                                       ^
> tst_h_par.c:89:55: note: each undeclared identifier is reported only once for 
> each function it appears in
> tst_h_par.c:226:7: error: ‘SUMMARIZE_ERR’ undeclared (first use in this 
> function)
>       SUMMARIZE_ERR;
>       ^
> tst_h_par.c:231:7: error: ‘FINAL_RESULTS’ undeclared (first use in this 
> function)
>       FINAL_RESULTS;
>       ^
> make[2]: *** [tst_h_par.o] Error 1
> make[2]: Leaving directory `/tmp/issmcd/p/netcdf-4.4.1.1/h5_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/tmp/issmcd/p/netcdf-4.4.1.1/h5_test'
> make: *** [check-recursive] Error 1
> 
> 
> Any ideas, please?
> 
> Thanks,
> 
> Mark_______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
> 
> 
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/

  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: