On 10/01/2015 15:42, John Nelson wrote:

Hi John,
> Not so sure about WSPR 4889 on a Mac.   MEM and RPVRT from "top" continue to 
> grow, this after about 3 hours.   The program is stable but I am surprised 
> about the size of memory requirements.
>
> Bill might comment...
Hmmm, this is unknown territory for me. The potential issue might be 
related to mixed languages combined with thread support.

I suspect the issues on the Raspberry Pi may have been related to an old 
pthread implementation using LinuxThreads rather than the newer NPTL 
POSIX compliant threads implementation (I have not verified this but the 
code Joe changed that fixed the issue looked fine to me before the 
change, so something related to quality of implementation of the tools 
seems to be relevant). The older LinuxThreads implementation was pretty 
buggy especially in the area of signal handling.

On Mac there are other complications in that WSPR uses a Fortran routine 
compiled with gfortran as a thread main function but that function is 
launched from a clang compiled C function. On top of that the whole lot 
is launched from Python which also has pthread dependencies. I don't 
know for sure that this combination of mixed languages and threading is 
even valid.

One thing is certain, care must be taken to make sure everything is 
compiled with thread support turned on. That normally means passing 
'-pthread' to the compiler for EVERY compilation unit of an MT application.
>
> --- John G4KLA
73
Bill
G4WJS.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to