bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] errors in latest SVN


From: Peter Teeson
Subject: Re: [Bug-apl] errors in latest SVN
Date: Wed, 17 Sep 2014 15:09:11 -0400

Hi Jürgen:
I did a locate pthread* and there are only 3 .h files that show up for OS X 10.8 and 10.9 in the SDKs. 

Attachment: OS X pthread*.h files.zip
Description: Zip archive


I happen to be coding in APL something that would greatly benefit from parallel capability.
My machine only has 2 x 2.66 Quad-Core Intel Nehalem  processors and each core can run 2 threads.
But most of the time most of the cores are idle.
Except in my case with the APL solution to my problem because it uses fairly deep recursion.
My thinking is that the ¨ (each) primitive would be a candidate for trying out a parallel approach.

Of course given an APL capability for parallelism one could perhaps consider a different algorithm.

(Historical note: At IPSA when we had a dual processor IBM Model 158 we did experiment with co-routines.)

On 2014-09-17, at 12:39 PM, Juergen Sauermann <address@hidden> wrote:

Hi Peter,

fixed in SVN 478.

Looks like your box is lacking some functions like pthread_getaffinity_np() (or they have different argument types).
This could become a problem for parallel APL later, so maybe you want to grep -r  for them in /usr/include or find
out how core affinities are set on your box.

/// Jürgen


On 09/16/2014 07:25 PM, Peter Teeson wrote:
/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/Parallel.cc:181:1: Unknown type name 'cpu_set_t'
/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/Parallel.cc:197:55: Use of undeclared identifier 'cpu_set_t'
/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/Parallel.cc:323:1: Unknown type name 'cpu_set_t'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]