Building ndp Problem
Dominic Steinitz
dominic.steinitz at blueyonder.co.uk
Sat Jun 7 04:04:57 EDT 2008
Manuel M T Chakravarty wrote:
> Dominic Steinitz:
>> I wanted to try out data parallel haskell. I followed the instructions
>> on http://haskell.org/haskellwiki/Data_Parallel_Haskell/PackageNDP but I
>> get the following error:
>>
>>> dom at lagrange:~/ghc/libraries> make make.library.ndp
>>> make: *** No rule to make target `build.library.ndp', needed by
>>> `make.library.ndp'. Stop.
>
> The ndp libraries are currently undergoing a fundamental restructure.
> We'll update the instructions once matters settle down. Sorry for the
> inconvenience.
>
> Manuel
>
>
>
Manuel,
I think I have things working now but the "make" system seems to have
problems. I followed the instructions here:
http://www.haskell.org/haskellwiki/Data_Parallel_Haskell/PackageNDP
but got the messages below.
On the other hand this worked:
ghc --make -o dotp dotp.hs -package ndp -i../lib -threaded
and then running
dom at lagrange:~/ghc/libraries/ndp/examples/dotp> ./dotp 100000
--threads=1 --runs=10 +RTS -N1
N = 100000: 125/124 126/126 129/132
dom at lagrange:~/ghc/libraries/ndp/examples/dotp> ./dotp 100000
--threads=2 --runs=10 +RTS -N2
N = 100000: 80/116 86/142 96/156
which seemed to indicate I was getting a performance improvement on my
dual core machine.
Would you like me to raise a ticket?
Dominic.
dom at lagrange:~/ghc/libraries/ndp/examples> make
Makefile:14: warning: overriding commands for target `bench'
mk/test.mk:28: warning: ignoring old commands for target `bench'
Makefile:17: warning: overriding commands for target `clean'
mk/test.mk:10: warning: ignoring old commands for target `clean'
make -C lib
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
for i in concomp dotp primes smvm qsort barneshut primespj ; do \
make -C $i ; \
done
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/concomp'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: *** No rule to make target `Graph.hi', needed by `mkg.o'. Stop.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/concomp'
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/dotp'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/dotp'
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/primes'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: *** No rule to make target `H98.hi', needed by `primes.o'. Stop.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/primes'
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/smvm'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: *** No rule to make target `SMVMPar.hi', needed by `smvm.o'. Stop.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/smvm'
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/qsort'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: *** No rule to make target `QSortPar.hi', needed by `QSort.o'.
Stop.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/qsort'
make: *** barneshut: No such file or directory. Stop.
make[1]: Entering directory `/home/dom/ghc/libraries/ndp/examples/primespj'
cd ../lib && make
make[2]: Entering directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/lib'
make[1]: *** No rule to make target `PrimesVect.hi', needed by
`PrimesPJ.o'. Stop.
make[1]: Leaving directory `/home/dom/ghc/libraries/ndp/examples/primespj'
make: *** [all] Error 2
More information about the Glasgow-haskell-users
mailing list