ScaLAPACK Archives

[Scalapack] Makefile for PBLAS/TESING in scalapack-2.0.1

In the
scalapack-2.0.1/PBLAS/TESTING/Makefile you have
PB_Cwarn.o:
     $(CC) -c $(CCFLAGS) -I../SRC -o PB_Cwarn.o -DTestingPblas
../SRC/PTOOLS/PB_Cwarn.c

PB_Cabort.o:
     $(CC) -c $(CCFLAGS) -I../SRC -o PB_Cabort.o -DTestingPblas
../SRC/PTOOLS/PB_Cabort.c

but it must be
PB_Cwarn.o:
     $(CC) -c $(CCFLAGS) $(CDEFS) -I../SRC -o PB_Cwarn.o -DTestingPblas
../SRC/PTOOLS/PB_Cwarn.c

PB_Cabort.o:
     $(CC) -c $(CCFLAGS) $(CDEFS) -I../SRC -o PB_Cabort.o -DTestingPblas
../SRC/PTOOLS/PB_Cabort.c

for those who need -DNoChange
otherwise you get

mpixlf95_r -qfixed -L/bgsys/drivers/ppcfloor//lib -g
-Wl,-allow-multiple-definition -o xspblas1tst psblas1tst.o psblastst.o
slamch.o pblastst.o PB_Cwarn.o PB_Cabort.o ../../libscalapack.a
-L/bgsys/local/lapack/3.3.0/lib -llapack -L/opt/ibmmath/essl/4.4/lib
-lesslbg
PB_Cwarn.o: In function `PB_Cwarn':
../SRC/PTOOLS/PB_Cwarn.c:120: undefined reference to `pb_noabort_'
PB_Cabort.o: In function `PB_Cabort':
../SRC/PTOOLS/PB_Cabort.c:125: undefined reference to `pb_noabort_'
make[1]: *** [xspblas1tst] Error 1

because of the false _ in the end.

Sincerely
Inge Gutheil

--
--

Inge Gutheil
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

       Phone:   +49-2461-61-3135
       Fax:     +49-2461-61-6656
       E-mail:i.gutheil@Domain.Removed


-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

Kennen Sie schon unsere app? http://www.fz-juelich.de/app

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or