[mpich-discuss] Benchmark IC of NAS

William Gropp wgropp at illinois.edu
Fri Jun 17 17:04:33 CDT 2011


I don't have that problem, but randlc is in old-style format - try  
changing the declaration to

double randlc( double *X, double *A )

instead of

double randlc( X, A )
double *X;
double *A;

Bill

On Jun 16, 2011, at 9:29 AM, marcia nasare wrote:

> Hi everybody
>
> I'm trying execute the benchmark IC of NAS parallel benchmark. And  
> when I try compile the same, the error bellow occurs:
>
> is.c: In function ‘randlc’:
> is.c:292: error: argument ‘X’ doesn’t match prototype
> is.c:219: error: prototype declaration
> is.c:292: error: argument ‘A’ doesn’t match prototype
> is.c:219: error: prototype declaration
> is.c:325: error: invalid type argument of ‘unary *’ (have ‘int’)
> is.c:328: error: invalid type argument of ‘unary *’ (have ‘int’)
> is.c:334: error: invalid type argument of ‘unary *’ (have ‘int’)
> is.c:337: error: invalid type argument of ‘unary *’ (have ‘int’)
> is.c:346: error: invalid type argument of ‘unary *’ (have ‘int’)
> is.c:347: error: invalid type argument of ‘unary *’ (have ‘int’)
>
> Someone used this bachmark?
> If already, how did you do to generate the executable code?
>
> Thank you
>
> Márcia Silva
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

William Gropp
Director, Parallel Computing Institute
Deputy Director for Research
Institute for Advanced Computing Applications and Technologies
Paul and Cynthia Saylor Professor of Computer Science
University of Illinois Urbana-Champaign





More information about the mpich-discuss mailing list