Running "make exe" errors

Post here if you have a question about the installation process

Running "make exe" errors

Postby gokop1 » Fri Jun 10, 2011 12:52 pm

Dear All,

I have insatlled ScalaPACK 1.8.0 and ran "make" successfully. But running the testing executables "make exe" and example "make example" gave errors. The problem is coming from my BLASLIB and LAPACKLIB seetings in the SLmake.inc file.

The errors for "make exe" are:

[scarf134@ui2 scalapack-1.8.0]$ make exe
( cd /home/scarf134/ScalaPACK/scalapack-1.8.0/PBLAS/TESTING; make single double complex complex16 )
make[1]: Entering directory `/home/scarf134/ScalaPACK/scalapack-1.8.0/PBLAS/TESTING'
rm -f PB_Cwarn.c PB_Cwarn.o
ln -s /home/scarf134/ScalaPACK/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c PB_Cwarn.c
gcc -c -O4 -Df77IsF2C -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cwarn.c
rm -f PB_Cabort.c PB_Cabort.o
ln -s /home/scarf134/ScalaPACK/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cabort.c PB_Cabort.c
gcc -c -O4 -Df77IsF2C -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cabort.c
make[1]: Warning: File `PB_Cabort.o' has modification time 0.0019 s in the future
g77 -o /home/scarf134/ScalaPACK/scalapack-1.8.0/TESTING/xspblas1tst psblas1tst.o psblastst.o slamch.o pblastst.o PB_Cwarn.o PB_Cabort.o /home/scarf134/ScalaPACK/scalapack-1.8.0/libscalapack.a /home/scarf134/BLACS/blacs-1.1-mpi/LIB/blacsF77init_MPI-LINUX-0.a /home/scarf134/BLACS/blacs-1.1-mpi/LIB/blacs_MPI-LINUX-0.a /home/scarf134/BLACS/blacs-1.1-mpi/LIB/blacsF77init_MPI-LINUX-0.a /home/scarf134/ATLAS3.8.4/lib/liblapack.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libatlas.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptcblas.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libcblas.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libf77blas.a /home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libtstatlas.a -L/opt/scali/lib64 -lfmpi -lmpio -lmpi
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptscal.o): In function `atl_f77wrap_sscal_':
ATL_F77wrap_scal.c:(.text+0x19): undefined reference to `ATL_sscal'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptasum.o): In function `atl_f77wrap_sasum_':
ATL_F77wrap_asum.c:(.text+0x12): undefined reference to `ATL_sasum'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_isptamax.o): In function `atl_f77wrap_isamax_':
ATL_F77wrap_amax.c:(.text+0xd): undefined reference to `ATL_isamax'
ATL_F77wrap_amax.c:(.text+0x2e): undefined reference to `ATL_isamax'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptaxpy.o): In function `atl_f77wrap_saxpy_':
ATL_F77wrap_axpy.c:(.text+0x24): undefined reference to `ATL_saxpy'
ATL_F77wrap_axpy.c:(.text+0x4b): undefined reference to `ATL_saxpy'
ATL_F77wrap_axpy.c:(.text+0x79): undefined reference to `ATL_saxpy'
ATL_F77wrap_axpy.c:(.text+0x90): undefined reference to `ATL_saxpy'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptcopy.o): In function `atl_f77wrap_scopy_':
ATL_F77wrap_copy.c:(.text+0x11): undefined reference to `ATL_scopy'
ATL_F77wrap_copy.c:(.text+0x2d): undefined reference to `ATL_scopy'
ATL_F77wrap_copy.c:(.text+0x50): undefined reference to `ATL_scopy'
ATL_F77wrap_copy.c:(.text+0x5c): undefined reference to `ATL_scopy'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptswap.o): In function `atl_f77wrap_sswap_':
ATL_F77wrap_swap.c:(.text+0x11): undefined reference to `ATL_sswap'
ATL_F77wrap_swap.c:(.text+0x2d): undefined reference to `ATL_sswap'
ATL_F77wrap_swap.c:(.text+0x50): undefined reference to `ATL_sswap'
ATL_F77wrap_swap.c:(.text+0x5c): undefined reference to `ATL_sswap'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptdot.o): In function `atl_f77wrap_sdot_':
ATL_F77wrap_dot.c:(.text+0x15): undefined reference to `ATL_sdot'
ATL_F77wrap_dot.c:(.text+0x38): undefined reference to `ATL_sdot'
ATL_F77wrap_dot.c:(.text+0x6a): undefined reference to `ATL_sdot'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0x51): undefined reference to `_gfortran_st_write'
xerbla.f:(.text+0x61): undefined reference to `_gfortran_transfer_character'
xerbla.f:(.text+0x71): undefined reference to `_gfortran_transfer_integer'
xerbla.f:(.text+0x79): undefined reference to `_gfortran_st_write_done'
xerbla.f:(.text+0x83): undefined reference to `_gfortran_stop_numeric'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptgemv.o): In function `atl_f77wrap_sgemv_':
ATL_F77wrap_gemv.c:(.text+0x9b): undefined reference to `ATL_sgemv'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptger.o): In function `atl_f77wrap_sger_':
ATL_F77wrap_ger.c:(.text+0x4b): undefined reference to `ATL_sger'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsymv.o): In function `atl_f77wrap_ssymv_':
ATL_F77wrap_symv.c:(.text+0x72): undefined reference to `ATL_ssymv'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsyr.o): In function `atl_f77wrap_ssyr_':
ATL_F77wrap_syr.c:(.text+0x25): undefined reference to `ATL_ssyr'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsyr2.o): In function `atl_f77wrap_ssyr2_':
ATL_F77wrap_syr2.c:(.text+0x4b): undefined reference to `ATL_ssyr2'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_spttrmv.o): In function `atl_f77wrap_strmv_':
ATL_F77wrap_trmv.c:(.text+0x33): undefined reference to `ATL_strmv'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_spttrsv.o): In function `atl_f77wrap_strsv_':
ATL_F77wrap_trsv.c:(.text+0x33): undefined reference to `ATL_strsv'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptgemm.o): In function `atl_f77wrap_sgemm_':
ATL_F77wrap_gemm.c:(.text+0x114): undefined reference to `ATL_sptsyrk'
ATL_F77wrap_gemm.c:(.text+0xbb): undefined reference to `ATL_sptgemm'
ATL_F77wrap_gemm.c:(.text+0x149): undefined reference to `ATL_ssyreflect'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsymm.o): In function `atl_f77wrap_ssymm_':
ATL_F77wrap_symm.c:(.text+0x58): undefined reference to `ATL_sptsymm'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsyr2k.o): In function `atl_f77wrap_ssyr2k_':
ATL_F77wrap_syr2k.c:(.text+0x58): undefined reference to `ATL_sptsyr2k'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_sptsyrk.o): In function `atl_f77wrap_ssyrk_':
ATL_F77wrap_syrk.c:(.text+0x3b): undefined reference to `ATL_sptsyrk'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_spttrmm.o): In function `atl_f77wrap_strmm_':
ATL_F77wrap_trmm.c:(.text+0x4b): undefined reference to `ATL_spttrmm'
/home/scarf134/ATLAS/ATLAS3.8.4/SRC/lib/libptf77blas.a(ATL_F77wrap_spttrsm.o): In function `atl_f77wrap_strsm_':
ATL_F77wrap_trsm.c:(.text+0x4b): undefined reference to `ATL_spttrsm'
collect2: ld returned 1 exit status
make[1]: *** [/home/scarf134/ScalaPACK/scalapack-1.8.0/TESTING/xspblas1tst] Error 1
make[1]: Leaving directory `/home/scarf134/ScalaPACK/scalapack-1.8.0/PBLAS/TESTING'
make: *** [pblasexe] Error 2


I am using redhat 5 linux system on X86_64 architecture. I have install GotoBLAS2.1.13, BLACS 1.1-mpi and acml4.4.0. I have tried to use all their liblapack.a and libblas.a but still got errors.

Any help is appreciated.

Regards
Gokop
gokop1
 
Posts: 1
Joined: Fri Jun 10, 2011 12:40 pm

Re: Running "make exe" errors

Postby admin » Sat Jun 11, 2011 2:32 pm

You should try the ScaLAPACK installer available at http://netlib.org/scalapack/.
The installer will set everything correctly.
Also see http://math-atlas.sourceforge.net/errata.html#LINK to get the correct linking sequence.
admin
Site Admin
 
Posts: 468
Joined: Wed Dec 08, 2004 7:07 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron