ContactEngineering / ContactMechanics

Contact mechanics using elastic half-space methods
https://contactengineering.github.io/ContactMechanics/
MIT License
21 stars 5 forks source link

Problem while installing ContactMechanics #46

Closed hans-td closed 2 years ago

hans-td commented 2 years ago

Hello developers, I am trying to install ContactMechanics. I work on Ubuntu 20.10, and I have Python 3 and FFTW3 installed. However, installation fails when I install the dependencies (as specified in the documentation under 'Installation'). Installation of MuFFT and SurfaceTopography fail. I include the errors in a separate text file. error_message.txt I already tried the advices written in the documentation (regarding FFTW3 path, and LAPACK and OPENBLAS), with no effect. I would be happy if you could provide me with any pointers on what could be the issue.

Hans

sannant commented 2 years ago

Dear Hans,

I think what is missing is netCDF. The easiest way to get it is through the apt-get if that is an option for you. For an example of installation on Ubuntu, you can have a look on our singularity containers: https://github.com/ContactEngineering/SurfaceTopography/blob/master/singularity/SurfaceTopography_serial.def

pastewka commented 2 years ago

@hans-td did this solve your problem?

hans-td commented 2 years ago

@AntoineSIMTEK @pastewka I installed netCDF and it works! thanks for your help

sannant commented 2 years ago

You are welcome ! I will update the installation instructions.

sannant commented 2 years ago

Closed by https://github.com/ContactEngineering/ContactMechanics/commit/26fe38be5115718de9bbb326679c345cf0202deb