...
this error often happens when LAPACK is not linked properly.
Solution:
edit the link.txt for gmt and manually add in the liblapack.so
NOTE: the lapack modules provided in modules on Mahuika is built using f77 instead of f90. using this module may result in crashes.
use try to use the one located in /usr/lib64 first.
see below for an example.
...