dynamics-of-stellar-systems / dynamite

dynamics, age and metallicity indicators tracing evolution
MIT License
15 stars 1 forks source link

Installation problems with galahad 2.3 #161

Closed FabioRigamonti closed 2 years ago

FabioRigamonti commented 3 years ago

After following the instructions for the installation of galahad 2.3 and dynamite 1.0.0 the installation process breaks after running the command: "make all" giving the following errors attached in the 2 screenshots:

installation_error_2 installation_error_1

The screenshots refer to a system with Linux Manjaro Xfce 64 bit using gfortran version 9.0 The same errors can be reproduced also on Linux CentOS 7 and Ubuntu 20.04.2.

We "solved" this problem by installing the latest version of galahad and changing a couple of lines in the makefile.

We changed GALAHADDIR in order to point to the new galahad directory. We added the following flags:

-lgalahad_spral -lgalahad_pardiso -lgalahad_wsmp -lgalahad_mkl_pardiso

in the triaxnnls_CRcut and triaxnnls_noCRcut compilation lines.

p.s. It seems that gfortran has the static libraries only in the ubuntu version, in the other cases it has been necessary to change line 84 of the makefile removing the "-static-libgfortran".

ejlilley commented 2 years ago

This should be fixed according to Makefile.linux and README.linux (this will be clarified in the documentation).