Installation of Parallel netCDF

Wei-keng Liao wkliao at eecs.northwestern.edu
Thu May 22 12:31:04 CDT 2014


Hi, Cecilia

Can you send us the file config.log?

I plan to add a test for flex and bison, so building
ncmpigen can be skipped if they are missing.

Wei-keng

On May 22, 2014, at 11:25 AM, Rob Latham wrote:

> 
> 
> On 05/22/2014 10:42 AM, clopezsisterna at casleo.gov.ar wrote:
>> Dear Robl,
>> 
>> I have been trying to install parallel netCDF on a computer that works
>> with Debian. I succeed in configure PnetCDF, but I can't build it. After
>> doing "make" the next message shows:
>> 
>> ": -Pncmpi ./ncmpigen.l; \
>> 	cp -f lex.ncmpi.c ncmpigenyy.c
>> cp: no se puede efectuar `stat' sobre «lex.ncmpi.c»: No existe el fichero
>> o el directorio "
>> 
> 
> That is unexpected, for certain.
> 
> Configure should have looked for a lexer (either flex or lex) and a compiler-compiler (either bison or yacc).  It appears configure found neither, but proceeded anyway.
> 
>> It seems the problem is that I don't have the file lex.ncmpi.c nor
>> ncmpigenyy.c (I already look for them on the libraries).
>> In any case of having relevance, I need parallel to run the Flash Code.
>> Therefore any assist on this will help me greatly.
> 
> The lex.ncmpi.c and ncmpigenyy.c files are generated from ./src/utils/ncmpigen/ncmpigen.y and ./src/utils/ncmpigen/ncmpigen.l
> 
> I would like to draw your attention to this section of the README:
> 
>    - To build parallel-netcdf you will need some additional programs:
>        - either yacc or bison
>        - either lex or flex
>      These are usually part of your operating system's development tools.
> 
> On debian, those packages would be 'flex' and 'bison' and you may as well install 'build-essential'
> 
> the good news is that those tools are only needed for ncmpigen.  If you really truly cannot install flex and bison, ncmpigen is not needed for libpnetcdf.a and pnetcdf.h to function.
> 
> ==rob
> 
>> 
>> I apologise for any inconvenience. Yours sincerely,
>> 
>> Cecilia Lopez
>> 
>> 
>> 
>> 
> 
> -- 
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA



More information about the parallel-netcdf mailing list