Yes, Alfredo
adding -lpthread works fine. Yesterday Jullien suggest me such idea,
Thanks a lot. But, problems follows as I try said to you in spanish
my nature language, sorry.
I'm trying to use prebuilded libs for scalapack extension of ACML
provided by AMD
http://developer.amd.com/tools/acml/dow ... chive.aspx
But, first of all it is needed to have mpich libs not provided by AMD
Then, I did it, I got from Argone web site the source code for mpich2
and built those libs. But, when I try to do
gfortran -m64 example1.f -L/opt/acml3.1.0/gfortran64/lib/ -lscalapack -lblacsF77init -lblacs -lblacsF77init -lacml -lacml_mv -L$MPIDIR/lib -lmpich -lpthread -lrt -lgfortranbegin -lgfortran
I obtain:
/opt/acml3.1.0/gfortran64/lib//libscalapack.a(pxerbla.o): In function `pxerbla_':
pxerbla.f:(.text+0x36): undefined reference to `_gfortran_filename'
pxerbla.f:(.text+0x47): undefined reference to `_gfortran_line'
pxerbla.f:(.text+0x54): undefined reference to `_gfortran_ioparm'
pxerbla.f:(.text+0x61): undefined reference to `_gfortran_ioparm'
pxerbla.f:(.text+0x76): undefined reference to `_gfortran_ioparm'
That is all
You have an idea where obtain these missing libs?
or where looking for?
thank a lot,
g.