Hello,
I am trying to compile parallel version of nab using scalapack. From the
previous mails I understand that its more easy to use intel mkl libraries.
However I was not successful in installing those.
I installed scalapack and mpi separately and added -scalapack the
config_at for gcc part as follows (Thanks for pointing out in the previous
discussions)
if [ $scalapack = "yes" ]; then
cc="mpicc"
fc="mpif77"
mpi_flag="-DSCALAPACK"
flibs_arch="$flibs_arch -lmpi"
fi
This worked fine.
Later, I tried to compile, but got the following error.
mpicc -c -m64 -DBINTRAJ -DSCALAPACK -o nab2avs.o nab2avs.c
mpicc -c -m64 -DBINTRAJ -DSCALAPACK -o nab2geom.o nab2geom.c
mpicc -c -O3 -m64 -DBINTRAJ -DSCALAPACK nblist.c
nblist.c: In function ‘nblist’:
nblist.c:988: error: ‘gb’ undeclared (first use in this function)
nblist.c:988: error: (Each undeclared identifier is reported only once
nblist.c:988: error: for each function it appears in.)
make[1]: *** [nblist.o] Error 1
make[1]: Leaving directory `/tmp/amber10/src/nab'
make: *** [install] Error 2
I checked on the homepage and there is a bug fixes on the above nblist.c
for a similar issue but with -mpi.
Am I doing something wrong or is it a bug ?
Best Regards,
Chaitanya
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Feb 04 2009 - 01:29:10 PST