Ivanlh20 / multem

MULTEM is a powerful and advanced collection of C++ routines with CUDA support, designed to perform efficient and accurate multislice simulations for various TEM experiments such as HRTEM, STEM, ISTEM, ED, PED, CBED, ADF-TEM, ABF-HC, EFTEM, and EELS.
GNU General Public License v3.0
65 stars 26 forks source link

Compiling on Linux CentOS #18

Open thomasaarholt opened 6 years ago

thomasaarholt commented 6 years ago

I'm trying to compile on a supercomputer running CentOS. Since I don't have sudo rights, I've compiled FFTW3 into a custom directory.

I've tried adding the fftw path, /lib and /include all to $PATH, but running compile_mex_multem returns in error for amongst others, - lfftw3.

Do you have any suggestions? Does fftw need to be compiled with particular options?

Ivanlh20 commented 6 years ago

Hi Thomas, I am back from holidays. Did you solve the problem? Ivan

2017-12-26 16:03 GMT+01:00 Thomas Aarholt notifications@github.com:

I'm trying to compile on a supercomputer running CentOS. Since I don't have sudo rights, I've compiled FFTW3 into a custom directory.

I've tried adding the fftw path, /lib and /include all to $PATH, but running compile_mex_multem returns in error for amongst others, - lfftw3.

Do you have any suggestions? Does fftw need to be compiler with particular options?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ivanlh20/MULTEM/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AIMYt0aeHGxdStkEKLLzgeAHVRxh-1A5ks5tEQrIgaJpZM4RM0jr .

thomasaarholt commented 6 years ago

I ran into some troubles where fftw (and more) has been compiled using intel compilers rather than gcc. I'm looking at workarounds, including compiling things myself, but I've paused this work for the moment.