Ticket #5226: LoopPar.sh

File LoopPar.sh, 336 bytes (added by dreixel, 2 years ago)
Line 
1#!/bin/bash
2ghc-7.1 -fforce-recomp --make -threaded -feager-blackholing -rtsopts -O1 LoopPar
3for 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
14done
15echo "Did not fail."