jvencels / EOF-Library

Efficient two-way coupling between Elmer FEM and OpenFOAM
https://eof-library.com/
GNU General Public License v3.0
70 stars 25 forks source link

Mac Silicon manual installation error #11

Open AkthemRehab opened 1 year ago

AkthemRehab commented 1 year ago

Thank you for the amazing work. Let me first share that I setup EOF-Library using the docker option on mac silicon successfully. I am trying to install it manually to complement an environment I am building natively on mac silicone comprised of FreeCAD, Gmsh, Paraview, OpenFOAM, and elmerFEM under the overarching umbrella of FreeCAD FEM & CFD-OF workbenches.

This environment is still missing, from my humble perspective and based on my requirements, the EOF-Library, cfmesh, and mbdyn. All of which, I did not succeed yet in installing natively on a mac silicon environment. I hope you can help with EOF-Library.

I follow the manual installation instructions till I get to the eofCompile command. I get the following:

`Akthem@X-mbp EOF-Library % eofCompile

eofCompile:1: command not found: wmake no elmerice /opt/homebrew/bin/gfortran -o /Users/Akthem/../libs/Elmer2OpenFOAM.so -J/Users/Akthem/../libs /Users/Akthem/../libs/Elmer2OpenFOAM.F90 -fallow-argument-mismatch -DCONTIG= -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O2 -g -DNDEBUG -fPIC -dynamiclib -Wl,-headerpad_max_install_names -I/Users/Akthem/elmer/install//share/elmersolver/include -L/Users/Akthem/elmer/install//lib/elmersolver -shared -lelmersolver f951: Warning: Nonexistent include directory '/Users/Akthem/../libs' [-Wmissing-include-dirs] f951: Fatal Error: /Users/Akthem/../libs/Elmer2OpenFOAM.F90: No such file or directory compilation terminated. no elmerice /opt/homebrew/bin/gfortran -o /Users/Akthem/../libs/OpenFOAM2Elmer.so -J/Users/Akthem/../libs /Users/Akthem/../libs/OpenFOAM2Elmer.F90 -fallow-argument-mismatch -DCONTIG= -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O2 -g -DNDEBUG -fPIC -dynamiclib -Wl,-headerpad_max_install_names -I/Users/Akthem/elmer/install//share/elmersolver/include -L/Users/Akthem/elmer/install//lib/elmersolver -shared -lelmersolver f951: Warning: Nonexistent include directory '/Users/Akthem/../libs' [-Wmissing-include-dirs] f951: Fatal Error: /Users/Akthem/../libs/OpenFOAM2Elmer.F90: No such file or directory compilation terminated.`