I compiled using the commands:
ifort -i_dynamic ../Bands.f90 -L/opt/mkl72/lib/32/ -lmkl_lapack64 -lmkl_ia32 -lmkl_lapack32
AND
ifort -i_dynamic ../Bands.f90 -L/opt/mkl72/lib/32/ -lmkl_lapack32 -lmkl_ia32 -lmkl_lapack64
getting a lot of 'undefined references' related with mkl_lapack32 for the first command and with mkl_lapack64 for the second. instead when writing:
ifort -i_dynamic ../Bands.f90 -L/opt/mkl72/lib/32/ -lmkl_lapack32 -lmkl_lapack64 -lmkl_ia32
it compiles very nice. Why is that? where can I find a short explanation about such kind of interdependences or options that shouldn't be used together?. Finally which would be the most complete command that a common student, as I am, should use in order to link all the available Lapack subroutines once and for all (needed or not) in a pentium 4 computer, in order to get the maximum performance?.
Message Edited by xavmontoya on 12-16-2004 08:01 AM



