On Wed, 21 Oct 1998 14:25:31 -0400  "Adrian da Cunha" wrote:

> Hello to all,
> 
> Is anyone runnung the mers package on a DECstation?  I am having trouble
> with the Makefile on a DECstation 5000/25 Ultrix 4.3.

I just tried to build mers-4.42 with the following changes to the
Makefile:

balrog:src/mersenne/mers-4.42 16022> diff Makefile.orig Makefile
36c36
< OPT=-O2 -funroll-loops
---
> #OPT=-O2 -funroll-loops
44c44
< #OPT=-O2 -Olimit 2000
---
> OPT=-O2 -Olimit 2000
63c63
< CC=gcc $(WARNINGS) $(DEFINE) $(OPT)
---
> #CC=gcc $(WARNINGS) $(DEFINE) $(OPT)
67c67
< #CC=cc -std1 $(DEFINE) $(OPT)
---
> CC=cc -std1 $(DEFINE) $(OPT)

This works on both Ultrix 4.4 and 4.5 - I don't have anything older.
Note that performance will be not very good at all for mersenne1 -
expect approximately 4 months for a number around 1.45M to complete.

Simon.

Reply via email to