I will try to put sevaral information about my machine Pentium 4
Linux (Debian) kernel 2.6.8.1 #1 SMP Wed Sep 15 19:20:39 BRT 2004 i686 GNU/Linux
FFTW Version: 3.0.1
ATLAS Version: 3.6.0
LAPACK Version: 3.0
MPI version: 1.2.5.2
PGF90 Version: 5.1
I have problems when I try to compile Vasp I don´t know what to do ...please someone can help me?
this mensage appear when I use make:
fft3dlib.o: In function `ftrigc_':
fft3dlib.o(.text+0x5c38): undefined reference to `__mth_i_dcosx'
fft3dlib.o(.text+0x5c50): undefined reference to `__mth_i_dsinx'
fft3dlib.o: In function `ftrigr_':
fft3dlib.o(.text+0x5cd0): undefined reference to `__mth_i_dcosx'
fft3dlib.o(.text+0x5ce8): undefined reference to `__mth_i_dsinx'
fft3dlib.o(.text+0x5d74): undefined reference to `__mth_i_dcosx'
fft3dlib.o(.text+0x5d8c): undefined reference to `__mth_i_dsinx'
make: *** [vasp] Error 2
My Makefile
http://scrodrigues.sites.uol.com.br/Makefile.pdf
extras about machines:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda6 24707412 254288 23198048 2% /
tmpfs 1870240 0 1870240 0% /dev/shm
/dev/hda2 15554 1896 12855 13% /boot
/dev/hda3 1968620 735948 1132668 40% /var
/dev/hda5 9843276 4229544 5113712 46% /usr
/dev/md0 115377576 19034312 90482356 18% /home
and here
http://scrodrigues.sites.uol.com.br/mensage.txt
Thank you
<span class='smallblacktext'>[ Edited ]</span>
HELP! Compilation
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 2
- Joined: Tue Jul 12, 2005 7:05 pm
HELP! Compilation
Last edited by srodrigues on Tue Jul 12, 2005 8:02 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
HELP! Compilation
the error is due to missing library functions (dsinx dcosx), which do not seem to be included
in any of the libraries you have linked.
try to do the following:
1) use Juergen Furthmueller's FFT routines instead,
subroutine ftrigc in his fft3dlib uses the generic sin and cos functions
2) have a look whether the library functions YYY that are missing are included in any
of the library archives you have installed. This can be found out by typing
ar -tv (library).a | grep YYY
if you find an appropriate library libXXX.a, include it in your makefile, e.g. as
LINK = -L/(lib-path)/ -lXXX
in any of the libraries you have linked.
try to do the following:
1) use Juergen Furthmueller's FFT routines instead,
subroutine ftrigc in his fft3dlib uses the generic sin and cos functions
2) have a look whether the library functions YYY that are missing are included in any
of the library archives you have installed. This can be found out by typing
ar -tv (library).a | grep YYY
if you find an appropriate library libXXX.a, include it in your makefile, e.g. as
LINK = -L/(lib-path)/ -lXXX
Last edited by admin on Wed Jul 13, 2005 10:00 am, edited 1 time in total.
-
- Newbie
- Posts: 2
- Joined: Tue Jul 12, 2005 7:05 pm
HELP! Compilation
Thank you ^^
I used the second option and I got to make the compilation ^^
again thanks
I used the second option and I got to make the compilation ^^
again thanks
Last edited by srodrigues on Mon Jul 18, 2005 6:58 pm, edited 1 time in total.