Re: [Haskell-cafe] GHCi runtime linker: fatal error (was Installing REPA)

2012-04-11 Thread Sajith T S
Ben Lippmeier b...@ouroborus.net wrote:

 I pushed Repa 3.1 to Hackage on the weekend. It has a *much* cleaner API. I 
 can't recommend continuing to use Repa 2. You will just run into all the 
 problems that are now fixed in Repa 3. 

How do you do things like 'force delayed array to manifest array' in
Repa 3?  The function 'force' seems to have disappeared.

-- 
the lyf so short, the craft so long to lerne.
 -- Chaucer.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] GHCi runtime linker: fatal error (was Installing REPA)

2012-04-10 Thread Sajith T S
Ben Lippmeier b...@ouroborus.net wrote:

 I pushed Repa 3.1 to Hackage on the weekend. It has a *much* cleaner API. I 
 can't recommend continuing to use Repa 2. You will just run into all the 
 problems that are now fixed in Repa 3. 
 

I was going to ask about the wiki page, and saw that you've posted a
note there.  Nice!  Now only if someone would update it... :)

http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_Tutorial

Is the differences between Repa 2 and Repa 3 documented somewhere?
I'm having trouble with running examples from the Repa paper...

Thanks,
Sajith.

-- 
the lyf so short, the craft so long to lerne.
 -- Chaucer.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Google Summer of Code: a NUMA wishlist!

2012-03-25 Thread Sajith T S
Dear Cafe,

It's last minute-ish to bring this up (in my part of the world it's
still March 25), but graduate students are famously a busy and lazy
lot. :)  I study at Indiana University Bloomington, and I wish to
propose^W rush in this proposal and solicit feedback, mentors, etc
while I can.

Since student application deadline is April 6, I figure we can beat
this into a real proposal's shape by then.  This probably also falls
on the naive and ambitious side of things, and I might not even know
what I'm talking about, but let's see!  That's the idea of proposal,
yes?

Broadly, idea is to improve support for NUMA systems.  Specifically:

 -- Real physical processor affinity with forkOn [1].  Can we fire all
CPUs if we want to?  (Currently, the number passed to forkOn is
interpreted as number modulo the value returned by
getNumCapabilities [2]).

 -- Also kind of associated with the above: when launching processes,
we might want to specify a list of CPUs rather than the number of
CPUs.  Say, a -N [0,1,3] flag rather than -N 3 flag.  This shall
enable us to gawk at real pretty htop [3] output.
 
 -- From a very recent discussion on parallel-haskell [4], we learn
that RTS' NUMA support could be improved.  The hypothesis is that
allocating nurseries per Capability might be a better plan than
using global pool.  We might borrow/steal ideas from hwloc [5] for
this.

 -- Finally, a logging/monitoring infrastructure to verify assumptions
and determine if/how local work stays.

(I would like to acknowledge my fellow conspirators and leave them
unnamed, lest they shall be embarrassed by my... naivete.)

Thanks,
Sajith.

[1] 
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Concurrent.html#v:forkOn
[2] 
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Concurrent.html#v:getNumCapabilities
[3] http://htop.sourceforge.net/
[4] 
http://groups.google.com/group/parallel-haskell/browse_thread/thread/7ec1ebc73dde8bbd
[5] http://www.open-mpi.org/projects/hwloc/

-- 
the lyf so short, the craft so long to lerne.
 -- Chaucer.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] We *have* been accepted into the Google Summer of Code

2012-03-17 Thread Sajith T S
Heinrich Apfelmus apfel...@quantentunnel.de wrote:

 Just for reference, here the direct link that is now online:
 
   http://www.google-melange.com/gsoc/org/google/gsoc2012/haskell

How up-to-date/relevant are the projects in the ideas page?  

http://hackage.haskell.org/trac/summer-of-code/report/1

(For example, I believe build multiple Cabal packages in parallel is
a successful project from last year's summer of code.)

Also, why is Mentor: not-accepted for many (all?) of them?

-- 
the lyf so short, the craft so long to lerne.
 -- Chaucer.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe