Re: Library error for install openmx .. ( No.1 ) |
- Date: 2006/12/17 05:17
- Name: Pavel <PBSorokin@gmail.com>
- Hello!
I'm not sure but...try to remove last slash from paths in CC and LIB
Sincerely yours, Pavel Sorokin
|
Re: Library error for install openmx .. ( No.2 ) |
- Date: 2006/12/17 05:32
- Name: jessK
Hi,
The nature of these errors is obvious - linking of mixed 32-bit/64-bit objects. You should link with libg2c in /usr/lib64 directory.
jk
|
Re: Library error for install openmx .. ( No.3 ) |
- Date: 2006/12/20 08:57
- Name: Liger Chen <b89202066@ntu.edu.tw>
Hi :
thank you two.
I have changed that be ( use dafault library) :
mpicc = /opt/mpipgi/bin/mpicc CC = $(mpicc) -I/opt/fftw3/include LIB = -L/opt/fftw3/lib -lfftw3 -llapack -lblas -lg2c
the compile was not paused yet ...what should I do now, thank you again . those looks like the lapack error , but I dont know what make that error ....
there are:
/opt/pgi/linux86-64/6.1/lib/liblapack.a(dgesvd.o)(.text+0xdf): In function `dgesvd_': : undefined reference to `ftn_str_copy' /opt/pgi/linux86-64/6.1/lib/liblapack.a(dormbr.o)(.text+0x365): In function `dormbr_': : undefined reference to `ftn_str_copy' /opt/pgi/linux86-64/6.1/lib/liblapack.a(dormbr.o)(.text+0x3fd): In function `dormbr_': : undefined reference to `ftn_str_copy'
/opt/pgi/linux86-64/6.1/lib/liblapack.a(dlamch.o)(.text+0xb56): In function `dlamc2_': : undefined reference to `fio_fmtw_init' /opt/pgi/linux86-64/6.1/lib/liblapack.a(dlamch.o)(.text+0xb6d): In function `dlamc2_': : undefined reference to `fio_sc_fmt_write' /opt/pgi/linux86-64/6.1/lib/liblapack.a(dlamch.o)(.text+0xb72): In function `dlamc2_': : undefined reference to `fio_fmtw_end' /opt/pgi/linux86-64/6.1/lib/liblapack.a(zlanhe.o)(.text+0x1b0): In function `zlanhe_': : undefined reference to `__mth_i_cdabs' /opt/pgi/linux86-64/6.1/lib/liblapack.a(zlanhe.o)(.text+0x1d1): In function `zlanhe_': : undefined reference to `__mth_i_cdabs' /opt/pgi/linux86-64/6.1/lib/liblapack.a(zlanhe.o)(.text+0x1f2): In function `zlanhe_': : undefined reference to `__mth_i_cdabs' /opt/pgi/linux86-64/6.1/lib/liblapack.a(zlanhe.o)(.text+0x213): In function `zlanhe_': : undefined reference to `__mth_i_cdabs'
|
Re: Library error for install openmx .. ( No.4 ) |
- Date: 2006/12/20 09:45
- Name: jessK
I think you have to load some libraries in /opt/pgi/linux86-64/6.1/lib/ . You can grep to find which one is needed. Another way, more appropriate way (because it is a really BAD idea to use lapack/blas from pgi distribution) is to use acml library, which is free and contains much efficient lapack/blas.
jk
|
Re: Library error for install openmx .. ( No.5 ) |
- Date: 2007/07/12 05:26
- Name: Jonathan <Jon4389274@aol.com>
- Partial solution:
The likely problem is that it is trying to install as 32 bit (g++ -m32 ...). I am stuck on this problem myself. Apparently, you need the 32 bit libraries (for your 64 bit machine), although I do not know where to get them. The RPM package should be libc-dev-i386 or something simmilar, but I have not been able to find it. If you have /usr/lib32 on your machine, this is probably already installed, and may not be your problem. If anyone knows where to locate this package, please post a reply! Thanks.
|