Xyce compile issue with lapack

36 views
Skip to first unread message

Reuben Kraft

unread,
Sep 8, 2015, 9:57:59 AM9/8/15
to xyce-users
Dear All,

I hate to bother you with this install question, but I'm looking for some advice. I am getting this error with is related to my installs of blas or lapack. I'm not completely sure how to get rid of this link error. Any suggestions?   Here is the error:


*** Warning: Linking the shared library libxyce.la against the

*** static library /storage/home/rhk12/group/code/aci-b/lapack-3.5.0/INSTALL-RHK12/lib/liblapack.a is not portable!

copying selected object files to avoid basename conflicts...

  CXXLD    Xyce

/storage/home/rhk12/group/code/aci-b/trilinos-11.14.3-Source/MPI-INSTALL/lib/libaztecoo.a(az_precond.c.o): In function `AZ_calc_blk_diag_inv':

az_precond.c:(.text+0x33b): undefined reference to `dgetrf_'

az_precond.c:(.text+0x379): undefined reference to `dgetri_'

...

...

...



And here is my configure script:


/storage/group/rhk12_collab/code/aci-b/Xyce-6.3/configure \

--prefix=/storage/group/rhk12_collab/code/aci-b/Xyce-6.3/MPI-INSTALL  --enable-mpi --enable-static \

LIBS="/storage/home/rhk12/group/code/aci-b/lapack-3.5.0/INSTALL-RHK12/lib/liblapack.a \

-L/storage/home/rhk12/group/code/aci-b/BLAS/blas_LINUX.a " \

CXXFLAGS="-O3" \

LDFLAGS="-L/storage/home/rhk12/group/code/aci-b/trilinos-11.14.3-Source/MPI-INSTALL/lib \

-L/opt/aci/sw/suitesparse/4.4.2_gcc-4.9.2/lib  \

-L/opt/aci/sw/fftw/3.3.4_gcc-4.9.2-1/lib \

-L/opt/aci/sw/metis/5.1.0_gcc-4.9.2-1/lib \

-L/opt/aci/sw/parmetis/4.0.3_gcc-4.9.2-1/lib " \

CPPFLAGS="-I/opt/aci/sw/suitesparse/4.4.2_gcc-4.9.2/include \

-I/storage/home/rhk12/group/code/aci-b/trilinos-11.14.3-Source/MPI-INSTALL/include \

-I/opt/aci/sw/fftw/3.3.4_gcc-4.9.2-1/include \

-I/opt/aci/sw/parmetis/4.0.3_gcc-4.9.2-1/include \

-I/opt/aci/sw/metis/5.1.0_gcc-4.9.2-1/include " \

CXX=/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpiCC \

CC=/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpicc \

F77=/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpif77

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/storage/home/rhk12/group/code/aci-b/BLAS


Thanks,

Reuben 

Reuben Kraft

unread,
Sep 11, 2015, 8:10:35 AM9/11/15
to xyce-users
I'm not exactly sure what I did but I was able to get past this error. I went back rebuilt blas and lapack.  For suitesparse, I needed xblas (xblas-1.0.48) to get a good compile. 


Here is my updated configure script:

xycemoduleload

/storage/group/rhk12_collab/code/aci-b/Xyce-6.3/configure \

--prefix=/storage/group/rhk12_collab/code/aci-b/Xyce-6.3/MPI-INSTALL  --enable-mpi  \

LIBS="/storage/home/rhk12/group/code/aci-b/lapack-3.5.0/INSTALL-RHK12/lib/liblapack.a  \

-L/storage/home/rhk12/group/code/aci-b/BLAS/blas_LINUX.a" \

CXXFLAGS="-O3 -fPIC" \

LDFLAGS="-L/storage/home/rhk12/group/code/aci-b/trilinos-11.14.3-Source/MPI-INSTALL/lib \

-L/storage/home/rhk12/group/code/aci-b/SuiteSparse/INSTALL-RHK12/lib \

-L/opt/aci/sw/fftw/3.3.4_gcc-4.9.2-1/lib \

-L/opt/aci/sw/metis/5.1.0_gcc-4.9.2-1/lib \

-L/opt/aci/sw/parmetis/4.0.3_gcc-4.9.2-1/lib" \

CPPFLAGS="-I/storage/home/rhk12/group/code/aci-b/SuiteSparse/INSTALL-RHK12/include \

-I/storage/home/rhk12/group/code/aci-b/trilinos-11.14.3-Source/MPI-INSTALL/include \

-I/opt/aci/sw/fftw/3.3.4_gcc-4.9.2-1/include \

-I/opt/aci/sw/parmetis/4.0.3_gcc-4.9.2-1/include \

-I/opt/aci/sw/metis/5.1.0_gcc-4.9.2-1/include " \

CXX="/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpicxx " \

CC="/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpicc " \

F77="/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpif77 " \

F90="/opt/aci/sw/openmpi/1.8.4_gcc-4.9.2-1/bin/mpif90 "

Reply all
Reply to author
Forward
0 new messages