I have compile a .f90 code in Linux environment and get error like this:
/tmp/ifortqZz8NO.o: In function `MAIN__':
2_D_model.f90:(.text+0x4a): undefined reference to `dran_ini_'
2_D_model.f90:(.text+0x3c53): undefined reference to `i_dran_'
2_D_model.f90:(.text+0x41f9): undefined reference to `i_dran_'
2_D_model.f90:(.text+0x57ab): undefined reference to `dran_g_'
2_D_model.f90:(.text+0x8efc): undefined reference to `dran_u_'
2_D_model.f90:(.text+0x930f): undefined reference to `dran_u_'
2_D_model.f90:(.text+0x9419): undefined reference to `dran_u_'
2_D_model.f90:(.text+0x9729): undefined reference to `dran_u_'
2_D_model.f90:(.text+0x12e5a): undefined reference to `dran_u_'
2_D_model.f90:(.text+0x12ee2): undefined reference to `i_dran_'
2_D_model.f90:(.text+0x12eef): undefined reference to `dran_u_'
and my compile command is:
ifort -o 2_D_model 2_D_model.f90 -mkl $MKLROOT/include/mkl_dfti.f90
If any one knows what's the problem?