<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/blockit/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/blockit/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 16 Nov 2012 12:29:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/blockit/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>possible to template pure procedures?</title><link>https://sourceforge.net/p/blockit/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a template that works successfully when I am using a normal function definition:&lt;/p&gt;
&lt;p&gt;function my_function(X) no_mangle&lt;/p&gt;
&lt;p&gt;when I add the pure keyword:&lt;/p&gt;
&lt;p&gt;pure function my_function(X) no_mangle&lt;/p&gt;
&lt;p&gt;it seems PyF95++ no longer recognises it as a function (the no_mangle clause is not removed so I get a compiler error).&lt;/p&gt;
&lt;p&gt;I don't know any other syntax for declaring a function pure. In this case I can just remove the no_mangle clause and things seem to work - but I guess this means it is not possible to fully template (with name mangling) pure functions or subroutines?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thrope</dc:creator><pubDate>Fri, 16 Nov 2012 12:29:04 -0000</pubDate><guid>https://sourceforge.netecbd64128852a90e912b54c00473bd8f8fc03cec</guid></item><item><title>templates non instantiating correctly</title><link>https://sourceforge.net/p/blockit/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to use the attached template to template some functions. The template has 3 parameters - I am instantiating 3 different times with the last parameter different. However, in the generated code I am only getting one instantiation. &lt;/p&gt;
&lt;p&gt;Below is the output. ('real', 'c_double', '2') is generated correctly, but then ('real', 'c_double', '1') and ('real', 'c_double', '0') are loaded from cache (even though I deleted the disk cache beforehand) and in fact come out the same as ('real', 'c_double', '2')&lt;/p&gt;
&lt;p&gt;Any help appreciated...&lt;/p&gt;
&lt;p&gt;(null):MatlabAPI2 robince$ PyF95++ --sources='MatlabAPImx.F90T' -x -p ./&lt;br /&gt;
................................................................................&lt;br /&gt;
PyF95++ Preprocessor                            &lt;br /&gt;
................................................................................&lt;br /&gt;
(0) Processing file: MatlabAPImx.F90T&lt;br /&gt;
Resolving template dependencies...&lt;br /&gt;
Instantiating templates...&lt;br /&gt;
From blk: template_4316103760&lt;br /&gt;
Instantiating (fpGetPr_,fpDeallocate_) with parameters ('real', 'c_double', '2')&lt;br /&gt;
From blk: template_4316103760&lt;br /&gt;
Instantiating (fpGetPr_,fpDeallocate_) with parameters ('real', 'c_double', '0')&lt;br /&gt;
-&amp;gt; Found cached instantiation...&lt;br /&gt;
From blk: template_4316103760&lt;br /&gt;
Instantiating (fpGetPr_,fpDeallocate_) with parameters ('real', 'c_double', '1')&lt;br /&gt;
-&amp;gt; Found cached instantiation...&lt;br /&gt;
Creating instantiated template file(s)...&lt;br /&gt;
Repopulating global symbol table...&lt;br /&gt;
Building dependency graph...&lt;br /&gt;
Could not find symbol fpGetPr__real_c_double_0 in table&lt;br /&gt;
Could not find symbol c_ptr in table&lt;br /&gt;
Could not find symbol fpGetPr__real_c_double_1 in table&lt;br /&gt;
Resolving internal file dependencies...&lt;br /&gt;
Creating file: /Users/robince/git/MatlabAPI2/MatlabAPImx.F90&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thrope</dc:creator><pubDate>Mon, 12 Nov 2012 16:14:18 -0000</pubDate><guid>https://sourceforge.net950f9cddc54614b8b57cde7017d995a97bef099f</guid></item><item><title>multiprocessing.Queue.qsize not available on Mac OS X</title><link>https://sourceforge.net/p/blockit/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am interested to try using PyF95++. &lt;/p&gt;
&lt;p&gt;When I try to run it on a Mac I get the following error:&lt;/p&gt;
&lt;p&gt;................................................................................&lt;br /&gt;
PyF95++ Preprocessor                            &lt;br /&gt;
................................................................................&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File "/Users/robince/slash/bin/PyF95++", line 1074, in &amp;lt;module&amp;gt;&lt;br /&gt;
multiParseFiles()&lt;br /&gt;
File "/Users/robince/slash/bin/PyF95++", line 466, in multiParseFiles&lt;br /&gt;
for i in xrange( min( nthreads, fileQueue.qsize() ) ):&lt;br /&gt;
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/multiprocessing/queues.py", line 143, in qsize&lt;br /&gt;
return self._maxsize - self._sem._semlock._get_value()&lt;br /&gt;
NotImplementedError&lt;/p&gt;
&lt;p&gt;It seems qsize is not implemented on the Mac platform. Is there any workaround?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thrope</dc:creator><pubDate>Mon, 12 Nov 2012 13:02:29 -0000</pubDate><guid>https://sourceforge.net67143f6dc4bd92a08db5f694c906d35ddcd1048e</guid></item></channel></rss>