Problem building

Wei-keng Liao wkliao at eecs.northwestern.edu
Mon Aug 19 22:21:33 CDT 2019


Hi, Henrik

I guess the errors you are encountering is caused by
the version of shell that does not support some
operators, such as “+=“. Can you run command "echo $0”?

In the meantime, can you try using bash to build PnetCDF
and let me know if that works for you?

Wei-keng

> On Aug 19, 2019, at 3:16 AM, Henrik Uggla <Henrik.Uggla at kristianstad.se> wrote:
> 
> Here you are. Thanks for your time.
> 
> Regards
> /Henrik
> 
> ________________________________________
> Från: Wei-keng Liao <wkliao at eecs.northwestern.edu>
> Skickat: den 16 augusti 2019 18:17:41
> Till: Henrik Uggla
> Kopia: parallel-netcdf at lists.mcs.anl.gov
> Ämne: Re: Problem building
> 
> Hi, Henrik
> 
> The error messages indicate some constants set at the configure time
> are incorrect. Please send me the file ‘config.log’ of both your configures.
> 
> Wei-keng
> 
>> On Aug 16, 2019, at 10:15 AM, Henrik Uggla via parallel-netcdf <parallel-netcdf at lists.mcs.anl.gov> wrote:
>> 
>> H!
>> When I try to build Pnetcdf 1.11.2 it fails with the following error:
>> 
>> ...
>> make[4]: Entering directory '/builddir/pnetcdf-1.11.2/src/drivers/common'
>> CC utf8proc.lo
>> CC mem_alloc.lo
>> CC dtype_decode.lo
>> CC create_imaptype.lo
>> CC error_mpi2nc.lo
>> CC check_name.lo
>> CC pack_unpack.lo
>> CC utils.lo
>> CC error_posix2nc.lo
>> CC hash_map.lo
>> CC ncx.lo
>> ncx.c:28:10: fatal error: nc3dispatch.h: No such file or directory
>> #include "nc3dispatch.h"
>> ^~~~~~~~~~~~~~~
>> compilation terminated.
>> 
>> When I try to configure Pnetcdf master from git it fails with the following error:
>> 
>> ...
>> checking for MPI_Comm_rank... yes
>> checking for MPI_File_open... yes
>> checking MPI C compiler base... GCC
>> checking MPI version... 3.1
>> checking whether MPICH_VERSION is declared... no
>> checking whether MPICH2_VERSION is declared... no
>> checking whether OMPI_MAJOR_VERSION is declared... yes
>> checking whether MVAPICH2_VERSION is declared... no
>> checking MPI vendor... ./configure: line 1: syntax error: unexpected "&"
>> 
>> Any idea how I can get Pnetcdf to build?
>> 
>> Thanks
>> /Henrik
> 
> <1.11.2-config.log><gitmaster-config.log>



More information about the parallel-netcdf mailing list