Community
cancel
Showing results for 
Search instead for 
Did you mean: 
89 Views

Linking Scalapack with MUMPS

I am testing a mpi based sparse solver MUMPS and link it with MKL Scalapack. I got following linking errors:

gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a ../lib/libmumps_common.a -L../PORD/lib/ -lpord -lmkl_scalapack_ilp64 -lmkl_blacs_intelmpi_ilp64 -lmpi -lblas -lpthread
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slaq5_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slamch_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `mkl_serv_mkl_print'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlartg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `chetrd_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slarfg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `sgbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dsytrd_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cladiv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `classq_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `stbtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlagts_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlae2_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `mkl_domatadd_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slapy3_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slanst_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slaev2_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zgetrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlarfg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ssytrd_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `crot_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlabad_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dstedc_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zgetrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlapy3_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dsteqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `clartg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cgetrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slagtf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlasrt_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `spbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlagtf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slasr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zgbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `icmax1_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slaswp_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slaed4_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlasr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlanst_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dtrtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlarnv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slacpy_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlaswp_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `clacpy_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlasr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dpbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ssteqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlartg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zladiv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dpttrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlaq5_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dtbtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ilaenv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cgbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dgetrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlaset_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlaset_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlacgv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ssterf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `claset_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `sbdsqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `sstedc_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlaq6_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cbdsqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dbdsqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `sgetrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `clanhs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlacpy_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `spotrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ctbtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `mkl_serv_allocate'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `sgetrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlascl_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlarfg_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dpotrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slagts_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ztbtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `clacgv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlassq_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zpttrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlacpy_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ctrtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zrot_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlanhs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zpotrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zbdsqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `spttrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `ztrtrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlasr3_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlassq_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `claswp_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zpbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cpbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slabad_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dzsum1_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlapy2_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `zlaswp_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cgetrs_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlaev2_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slahqr_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slamc3_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlamc3_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slapy2_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `cpotrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `mkl_serv_mkl_free'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slasrt_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dsterf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dlamch_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slaq6_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `slarnv_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined reference to `dgbtrf_'
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
/opt/intel/Compiler/11.1/046/mkl/lib/em64t/libmkl_scalapack_ilp64.so: undefined
collect2: ld returned 1 exit status
make[1]: *** [dsimpletest] Error 1

0 Kudos
1 Reply
89 Views

undefined are gone by including lapack lib:
gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a ../lib/libmumps_common.a -L../PORD/lib/ -lpord -lmkl_scalapack_lp64 -lmkl_gf_ilp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -lmpi -lblas -lpthread