Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] CMake: parallel builds?

And some more CMake errors:
Apparently, the variables NetCDF* were renamed netCDF* recently.
Unfortunately, the renaming wasn't done consistently, resulting in
funny errors. Check out

$ find -name "CMakeLists.txt" | xargs grep NetCDF 2> /dev/null
./liblib/CMakeLists.txt: VERSION ${NetCDF_VERSION}
./liblib/CMakeLists.txt: SOVERSION ${NetCDF_VERSION_MAJOR})
./ncgen3/CMakeLists.txt:IF(NOT EXISTS
${NetCDF_SOURCE_DIR}/ncgen3/ncgentab.c AND NOT EXISTS
./ncgen3/CMakeLists.txt: ${NetCDF_SOURCE_DIR}/ncgen3/ncgentab.h)
./ncgen3/CMakeLists.txt: COMMAND bison -pncg -d
${NetCDF_SOURCE_DIR}/ncgen3/ncgen.y
./ncgen3/CMakeLists.txt: COMMAND mv ncgen.tab.c
${NetCDF_SOURCE_DIR}/ncgen3/ncgentab.c
./ncgen3/CMakeLists.txt: COMMAND mv ncgen.tab.h
${NetCDF_SOURCE_DIR}/ncgen3/ncgentab.h
$

--Nico

On Tue, Feb 19, 2013 at 10:09 PM, Ward Fisher <wfisher@xxxxxxxxxxxxxxxx> wrote:
> Hi Nico,
>
> This was an oversight and will be corrected; thanks for pointing it out!
>
> -Ward
>
>
> On 2/19/13 1:25 PM, Nico Schlömer wrote:
>>
>> I noticed another thing about netcdf with CMake and parallel:
>> The file include/Makefile.am contains the lines
>>
>> if BUILD_PARALLEL
>> include_HEADERS += netcdf_par.h
>> endif
>>
>> which appear like they are responsible for installing netcdf_par.h. I
>> don't see an equivalent for this in the CMake build, and in fact that
>> file isn't installed. Any config option I'm missing here?
>>
>> --Nico
>>
>>
>>
>> On Thu, Feb 7, 2013 at 5:31 PM, Ward Fisher <wfisher@xxxxxxxxxxxxxxxx>
>> wrote:
>>>
>>> Good morning Nico,
>>>
>>> Originally, the ENABLE_PNETCDF flag in the CMake builds was meant to
>>> enable
>>> parallel netCDF, but after revisiting the issue I see I need to go back
>>> and
>>> refactor the parallel support in CMake.  I have started this work in the
>>> 'netcdf-cmake' branch and will try to have it merged into the trunk
>>> sometime
>>> this afternoon or tomorrow morning. Thanks for pointing this out!
>>>
>>> -Ward
>>>
>>>
>>> On 2/7/13 2:59 AM, Nico Schlömer wrote:
>>>>
>>>> Also: Is there an equivalent of --enable-parallel for CMake builds?
>>>> I'm not quite sure what to do other than changing the C compiler to
>>>> mpicc.
>>>>
>>>> --Nico
>>>>
>>>> _______________________________________________
>>>> netcdfgroup mailing list
>>>> netcdfgroup@xxxxxxxxxxxxxxxx
>>>> For list information or to unsubscribe,  visit:
>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>
>>>
>>> _______________________________________________
>>> netcdfgroup mailing list
>>> netcdfgroup@xxxxxxxxxxxxxxxx
>>> For list information or to unsubscribe,  visit:
>>> http://www.unidata.ucar.edu/mailing_lists/
>
>



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