You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i followed following steps but i am facing an error please help me to fix this error.
Commands
edit Makefile from the fortran folder for you needs
run make
check that emc_gen and emc_calc are in your path $PATH (to print the $PATH variable do echo $PATH)
Error
gfortran emc_gen.f90 -o emc_gen emc_functions.o
emc_functions.o: In function __emc_functions_MOD_vect2g': emc_functions.f90:(.text+0x1a5): undefined reference to ddot_'
emc_functions.f90:(.text+0x289): undefined reference to ddot_' emc_functions.f90:(.text+0x36d): undefined reference to ddot_'
emc_functions.o: In function __emc_functions_MOD_inverse': emc_functions.f90:(.text+0x80a): undefined reference to dgetrf_'
emc_functions.f90:(.text+0x8cb): undefined reference to dgetri_' emc_functions.o: In function __emc_functions_MOD_puredegmv':
emc_functions.f90:(.text+0xe1d): undefined reference to dgemv_' emc_functions.o: In function _emc_functions_MOD_puredgesv':
emc_functions.f90:(.text+0x1035): undefined reference to `dgesv'
collect2: error: ld returned 1 exit status
make: *** [emc_gen] Error 1
Looking forward to your help.
The text was updated successfully, but these errors were encountered:
Hi afonari,
Thank you for your reply. i again installed lapack-3.8.0.tar.gz and added the path like
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
but still i am getting same error. please help me to fix this error.
Hi,
i followed following steps but i am facing an error please help me to fix this error.
Commands
make
$PATH
(to print the$PATH
variable doecho $PATH
)Error
gfortran emc_gen.f90 -o emc_gen emc_functions.o
emc_functions.o: In function
__emc_functions_MOD_vect2g': emc_functions.f90:(.text+0x1a5): undefined reference to
ddot_'emc_functions.f90:(.text+0x289): undefined reference to
ddot_' emc_functions.f90:(.text+0x36d): undefined reference to
ddot_'emc_functions.o: In function
__emc_functions_MOD_inverse': emc_functions.f90:(.text+0x80a): undefined reference to
dgetrf_'emc_functions.f90:(.text+0x8cb): undefined reference to
dgetri_' emc_functions.o: In function
__emc_functions_MOD_puredegmv':emc_functions.f90:(.text+0xe1d): undefined reference to
dgemv_' emc_functions.o: In function
_emc_functions_MOD_puredgesv':emc_functions.f90:(.text+0x1035): undefined reference to `dgesv'
collect2: error: ld returned 1 exit status
make: *** [emc_gen] Error 1
Looking forward to your help.
The text was updated successfully, but these errors were encountered: