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
Thank you for sharing this package. In trying to install it, I came upon three small issues that could be fixed easily in the documentation/makefile and thus help others have a smoother installation process.
First, it would be helpful if it was specified that FFTW should also be installed with the --enable-shared configuration option. Otherwise there are problems when linking (message: relocation ... can not be used when making a shared object; recompile with -fPIC).
Second, it could also be specified that HEALPix should be installed with the shared C libraries, too (by default only a static library is linked).
Third, there were two typos in the Makefile generated by the configure script. Here are the lines: libnmt_la_LDFLAGS = $(OPENP_CFLAGS) -lfftw3 -lfftw3_omp -lgsl -lgslcblas -lcfitsio -lsharp -lfftpack -lc_utils -lm test_check_nmt_LDFLAGS = $(OPENP_CFLAGS) -L./ -lnmt -lfftw3 -lfftw3_omp -lgsl -lgslcblas -lcfitsio -lsharp -lfftpack -lc_utils -lm
OPENP_CFLAGS should actually read OPENMP_CFLAGS. Without -fopenmp the linking fails at the end.
I hope this helps.
Sincerely,
Robert Beck
The text was updated successfully, but these errors were encountered:
Dear Authors,
Thank you for sharing this package. In trying to install it, I came upon three small issues that could be fixed easily in the documentation/makefile and thus help others have a smoother installation process.
First, it would be helpful if it was specified that FFTW should also be installed with the --enable-shared configuration option. Otherwise there are problems when linking (message: relocation ... can not be used when making a shared object; recompile with -fPIC).
Second, it could also be specified that HEALPix should be installed with the shared C libraries, too (by default only a static library is linked).
Third, there were two typos in the Makefile generated by the configure script. Here are the lines:
libnmt_la_LDFLAGS = $(OPENP_CFLAGS) -lfftw3 -lfftw3_omp -lgsl -lgslcblas -lcfitsio -lsharp -lfftpack -lc_utils -lm
test_check_nmt_LDFLAGS = $(OPENP_CFLAGS) -L./ -lnmt -lfftw3 -lfftw3_omp -lgsl -lgslcblas -lcfitsio -lsharp -lfftpack -lc_utils -lm
OPENP_CFLAGS should actually read OPENMP_CFLAGS. Without -fopenmp the linking fails at the end.
I hope this helps.
Sincerely,
Robert Beck
The text was updated successfully, but these errors were encountered: