A list for the developers of CellML tools

Text archives Help


[cellml-dev] [cellml-discussion] CellML API 1.10rc2 available now


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-dev] [cellml-discussion] CellML API 1.10rc2 available now
  • Date: Tue, 13 Sep 2011 07:00:56 +1200

On 07/09/11 18:23, Tommy Yu wrote:
> Hi Andrew,
>
> The source for this rc2 appears to be broken. I was able to do what I
> did below in 1.10rc1 but not 1.10rc2.

Hi all,

The problem Tommy reports was because the CellML Context was not
properly updated when I changed how the reference counting worked to fix
a bug found in rc1.

The CellML Context is not included in the binary builds, and this is a
fairly minor change that only affects code that has few users at
present, so I don't think it is worth formally making a release
candidate. Instead, could anyone who was affected by this issue please
try this source tarball:
http://sourceforge.net/projects/cellml-api/files/CellML-API-Nightly/1.10/20110913/src/cellml-api-1.10.tar.bz2/download

If all is fine with this source build, we can probably release the
binaries from rc2 + this source tree (which is identical to the one used
to build the binaries in respect of all code that is actually used in
the binaries) tomorrow as 1.10.

Best wishes,
Andrew

>
> Regards,
> Tommy
>
> ----------
>
> $ cmake -G 'Unix Makefiles' -DENABLE_EXAMPLES:BOOL=ON
> -DCHECK_BUILD:BOOL=OFF -DENABLE_ANNOTOOLS:BOOL=ON -DENABLE_CCGS:BOOL=ON
> -DENABLE_CELEDS:BOOL=ON -DENABLE_CELEDS_EXPORTER:BOOL=ON
> -DENABLE_CEVAS:BOOL=ON -DENABLE_CIS:BOOL=ON -DENABLE_CONTEXT:BOOL=ON
> -DENABLE_CUSES:BOOL=ON -DENABLE_GSL_INTEGRATORS:BOOL=ON
> -DENABLE_MALAES:BOOL=ON -DENABLE_PYTHON:BOOL=ON -DENABLE_RDF:BOOL=ON
> -DENABLE_SPROS:BOOL=ON -DENABLE_SRUS:BOOL=ON -DENABLE_TELICEMS:BOOL=ON
> -DENABLE_VACSS:BOOL=ON
> ... output snipped ...
> $ make
> ... output snipped ...
> [ 8%] Building CXX object
> CMakeFiles/cellml.dir/sources/dom/DOMBootstrap.cpp.o
> [ 8%] Building CXX object CMakeFiles/cellml.dir/sources/dom/DOMWriter.cpp.o
> [ 8%] Building CXX object
> CMakeFiles/cellml.dir/sources/dom_direct/DOMImplementation.cpp.o
> [ 9%] Building CXX object
> CMakeFiles/cellml.dir/sources/dom_direct/DOMLoader.cpp.o
> [ 9%] Building CXX object
> CMakeFiles/cellml.dir/sources/cellml/CellMLBootstrap.cpp.o
> [ 9%] Building CXX object
> CMakeFiles/cellml.dir/sources/cellml/CellMLImplementation.cpp.o
> [ 10%] Building CXX object
> CMakeFiles/cellml.dir/sources/cellml/CellMLEvents.cpp.o
> [ 10%] Building CXX object
> CMakeFiles/cellml.dir/sources/mathml/MathMLImplementation.cpp.o
> [ 11%] Building CXX object
> CMakeFiles/cellml.dir/sources/rdf/RDFImplementation.cpp.o
> [ 11%] Building CXX object
> CMakeFiles/cellml.dir/sources/cellml_context/CellMLContextImplementation.cpp.o
>
> In file included from
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:4:
>
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.hxx:
> In constructor ?CDA_TypeAnnotationManager::CDA_TypeAnnotationManager()?:
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.hxx:70:
> error: no matching function for call to ?CDA_RefCount::CDA_RefCount(int)?
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:367:
> note: candidates are: CDA_RefCount::CDA_RefCount()
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:365:
> note: CDA_RefCount::CDA_RefCount(const CDA_RefCount&)
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:
> In constructor
> ?CDA_CellMLModuleIterator::CDA_CellMLModuleIterator(CDA_ModuleManager*,
> std::list<iface::cellml_context::CellMLModule*,
> std::allocator<iface::cellml_context::CellMLModule*> >&)?:
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:62:
> error: no matching function for call to ?CDA_RefCount::CDA_RefCount(int)?
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:367:
> note: candidates are: CDA_RefCount::CDA_RefCount()
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:365:
> note: CDA_RefCount::CDA_RefCount(const CDA_RefCount&)
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:
> In constructor
> ?CDA_ModelNodeIterator::CDA_ModelNodeIterator(CDA_ModelList*,
> std::list<CDA_ModelNode*, std::allocator<CDA_ModelNode*> >&)?:
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:95:
> error: no matching function for call to ?CDA_RefCount::CDA_RefCount(int)?
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:367:
> note: candidates are: CDA_RefCount::CDA_RefCount()
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:365:
> note: CDA_RefCount::CDA_RefCount(const CDA_RefCount&)
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:
> In constructor ?CDA_ModuleManager::CDA_ModuleManager()?:
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:121:
> error: no matching function for call to ?CDA_RefCount::CDA_RefCount(int)?
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:367:
> note: candidates are: CDA_RefCount::CDA_RefCount()
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:365:
> note: CDA_RefCount::CDA_RefCount(const CDA_RefCount&)
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:
> In constructor ?CDA_CellMLContext::CDA_CellMLContext()?:
> /home/tyu030/download/cellml-api-1.10rc2/sources/cellml_context/CellMLContextImplementation.cpp:1087:
> error: no matching function for call to ?CDA_RefCount::CDA_RefCount(int)?
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:367:
> note: candidates are: CDA_RefCount::CDA_RefCount()
> /home/tyu030/download/cellml-api-1.10rc2/sources/Utilities.hxx:365:
> note: CDA_RefCount::CDA_RefCount(const CDA_RefCount&)
> make[2]: ***
> [CMakeFiles/cellml.dir/sources/cellml_context/CellMLContextImplementation.cpp.o]
> Error 1
> make[1]: *** [CMakeFiles/cellml.dir/all] Error 2
> make: *** [all] Error 2
>
> Andrew Miller wrote:
>> Hi all,
>>
>> I have just made release candidate 2 for the CellML API, version 1.10.
>>
>> This release candidate will become the CellML API 1.10 if no-one finds
>> any problems with it by next Wednesday (New Zealand time).
>>
>> Please try it out and let me know if there are any problems with it.
>>
>> The page about the release candidate:
>> http://www.cellml.org/tools/downloads/cellml_api/releases/1.10rc2
>>
>> Changes since rc1:
>> =============================================
>> A reference counting race condition with CIS and SRuS was fixed by
>> making reference counting threadsafe everywhere.
>>
>> The .hg subdirectory containing the revision history is no longer
>> packaged up into the source tarball, making it much smaller.
>>
>> The binary installers no longer force you to click through the
>> license, making it easier to automate installation (there is no actual
>> change to the license, just how it is displayed).
>>
>> The Linux SDK packages now include the processor type in the file name.
>>
>> Best wishes,
>> Andrew Miller
>> _______________________________________________
>> cellml-discussion mailing list
>> cellml-discussion at cellml.org
>> http://lists.cellml.org/mailman/listinfo/cellml-discussion
>





Archive powered by MHonArc 2.6.18.

Top of page