Re: [AMBER] nab compile error with -scalapack

From: chaitanya koppisetty <ashok.chalmers.se>
Date: Tue, 3 Feb 2009 19:52:54 +0100 (CET)

Thanks dac...as you have mentioned I came across more of similar kind. I
would get in touch with Russ Brown soon.
I will keep posted how it goes.

Chaitanya.



>>
>> I am trying to compile parallel version of nab using scalapack.
>> mpicc -c -O3 -m64 -DBINTRAJ -DSCALAPACK nblist.c
>> nblist.c: In function ‘nblist’:
>> nblist.c:988: error: ‘gb’ undeclared (first use in this function)
>
> It's a bug, caused by trying to split of the nblist stuff into a
> separate file.
>
> Assuming that you are always going to use gb, you could just define a
> local variable "gb" in nblist.c...for example, at about line 24, add:
>
> static int gb=1;
>
> However, expect other problems as well, since (as far as I know) only
> Russ Brown has every used this. You might want to contact him directly,
> russ.brown AT sun.com, but I don't know if he will have time to help
> or not.
>
> ...dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Feb 04 2009 - 01:32:54 PST
Custom Search