- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
I am trying to compile an electronic band structure program on p4-ifc-linux.
I have installed mkl 7.2.1, and fftw 3.0.1.
Below is the entry in the Makefile that include BLAS:
BLAS=-L/opt/intel/mkl721/lib/32 -lmkl_p4 -lguide
And this is the line that include FFT3D:
FFT3D = fftw3d.o fft3dlib.o /usr/lib/libfftw3.a
I encounter the following link error:
paw.o(.text+0x8338): In function `paw_mp_augsym_noncol_':
: undefined reference to `vmldSin2'
paw.o(.text+0x834f): In function `paw_mp_augsym_noncol_':
: undefined reference to `vmldSin2'
fft3dlib.o(.text+0x4e6c): In function `ftrigc_':
: undefined reference to `vmldSinCos2'
fft3dlib.o(.text+0x4fcf): In function `ftrigr_':
: undefined reference to `vmldSinCos2'
fft3dlib.o(.text+0x5181): In function `ftrigr_':
: undefined reference to `vmldSinCos2'
make: *** [vasp] Error 1
Any advice to fix this error will be highly appreciated.
Ravi
I am trying to compile an electronic band structure program on p4-ifc-linux.
I have installed mkl 7.2.1, and fftw 3.0.1.
Below is the entry in the Makefile that include BLAS:
BLAS=-L/opt/intel/mkl721/lib/32 -lmkl_p4 -lguide
And this is the line that include FFT3D:
FFT3D = fftw3d.o fft3dlib.o /usr/lib/libfftw3.a
I encounter the following link error:
paw.o(.text+0x8338): In function `paw_mp_augsym_noncol_':
: undefined reference to `vmldSin2'
paw.o(.text+0x834f): In function `paw_mp_augsym_noncol_':
: undefined reference to `vmldSin2'
fft3dlib.o(.text+0x4e6c): In function `ftrigc_':
: undefined reference to `vmldSinCos2'
fft3dlib.o(.text+0x4fcf): In function `ftrigr_':
: undefined reference to `vmldSinCos2'
fft3dlib.o(.text+0x5181): In function `ftrigr_':
: undefined reference to `vmldSinCos2'
make: *** [vasp] Error 1
Any advice to fix this error will be highly appreciated.
Ravi
Link kopiert
2 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
If you compile with -xW (or similar), you should
also link with this option.
also link with this option.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hey guys,
did you intend this thread for the compiler forum?

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite