GHC Trac Home
GHC Home
Joining In
Working on GHC
Mailing Lists & IRC
GHC Contributors
Documentation
Status Reports
Repositories
Building Guide
Commentary
Debugging
View Tickets
All Bugs
All Tasks
All Feature Req's
All Proposals
My Tickets
Tickets I Created
By Milestone
By OS
By Architecture
Patches for review
Create Ticket
New Bug
New Task
New Feature Req
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
View Tickets
Dashboard
Blog
Context Navigation
Back to Ticket #5226
Ticket #5226
: LoopPar.sh
File LoopPar.sh,
336 bytes
(added by dreixel,
2 years
ago)
Line
1
#!/bin/bash
2
ghc-7.1 -fforce-recomp --make -threaded -feager-blackholing -rtsopts -O1 LoopPar
3
for
i in
{
1..10000
}
4
do
5
for
n in
{
8..8
}
6
do
7
./LoopPar +RTS -N
$n
-RTS
8
if
[
$?
-ne 0
]
9
then
10
echo
"Failed after $i tries, with $n cores."
11
exit
1
12
fi
13
done
14
done
15
echo
"Did not fail."
Download in other formats:
Original Format