A few hints to work with fcc and pramsim:
----------------------------------------

To call the Fork95 compiler I always use make.

To call the SBPRAM simulator with different numbers of processors
and memory sizes I currently use the following aliases on my machine 
(256 MB main memory):

alias p1	$FORKDIR/bin/pram-run -physnum 1 -virtnum 1 -sheap 20000000 -pstack 40000000
alias p2	$FORKDIR/bin/pram-run -physnum 1 -virtnum 2 -sheap 8000000 -pstack 20000000
alias p4 	$FORKDIR/bin/pram-run -physnum 1 -virtnum 4 -sheap 8000000 -pstack 10260000
alias p8 	$FORKDIR/bin/pram-run -physnum 1 -virtnum 8 -sheap 8000000 -pstack 10260000
alias p16	$FORKDIR/bin/pram-run -physnum 1 -virtnum 16 -sheap 10000000 -pstack 2570000
alias p32	$FORKDIR/bin/pram-run -physnum 1 -virtnum 32 -sheap 10000000 -pstack 2570000
alias p64	$FORKDIR/bin/pram-run -physnum 2 -virtnum 32 -sheap 10000000 -pstack 1280000
alias p128	$FORKDIR/bin/pram-run -physnum 4 -virtnum 32 -sheap 10000000 -pstack 640000
alias p256	$FORKDIR/bin/pram-run -physnum 8 -virtnum 32 -sheap 10000000 -pstack 320000
alias p512 	$FORKDIR/bin/pram-run -physnum 16 -virtnum 32 -sheap 10000000 -pstack 160000
alias p1024	$FORKDIR/bin/pram-run -physnum 32 -virtnum 32 -sheap 10000000 -pstack 80000
alias p2048 	$FORKDIR/bin/pram-run -physnum 64 -virtnum 32 -sheap 10000000 -pstack 40000
alias p4096	$FORKDIR/bin/pram-run -physnum 128 -virtnum 32 -sheap 10000000 -pstack 20000

Then it suffices to say  "p64 hello" to run the "hello world" demo 
on 64 processors.

Memory requirements should be adjusted to your machine's memory size.
The simulator will abort immediately if the maximum memory size is exceeded.

Good luck!

--- Christoph W. Kessler
    University of Trier, Germany
    kessler@psi.uni-trier.de
