Installation of Parallel netCDF
Wei-keng Liao
wkliao at eecs.northwestern.edu
Fri May 23 10:09:34 CDT 2014
Thanks, Cecilia
From the log file you sent, I am seeing the configure did find
valid "bison" and "flex" and they are defined as
YACC='bison -y'
LEX='flex'
Maybe this log file is generated after you installed the Debian package?
In any case, I will fix the problem in the next release of PnetCDF, so
flex and bison are no longer required. 1.5.0 will be released soon.
(I am resending the log file to PnetCDF mailing list just for the record.
Please CC the list, so other subscribers can also help.)
Wei-keng
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 174610 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20140523/02fa3cbf/attachment-0001.bin>
-------------- next part --------------
On May 23, 2014, at 9:15 AM, clopezsisterna at casleo.gov.ar wrote:
> Hi, Wei-keng
>
> I attached the file config.log .
>
>
>> 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
>>
>>
> <config.log>
More information about the parallel-netcdf
mailing list