precice / calculix-adapter

preCICE-adapter for the CSM code CalculiX
GNU General Public License v3.0
52 stars 20 forks source link

CalculiX installation Makefile #42

Closed mojtabaAmiraslanpour closed 4 years ago

mojtabaAmiraslanpour commented 4 years ago

I have installed all the dependencies using the conventional apt install method:

sudo apt install libarpack2-dev libspooles-dev libyaml-cpp-dev

Now when opening the makeFile in calculix-adaper I see this:

CCX             = $(HOME)/PathTo/CalculiX/ccx_2.16/src
# Path to SPOOLES main directory (e.g. $(HOME)/SPOOLES.2.2 )
SPOOLES         = $(HOME)/PathTo/SPOOLES
# Path to ARPACK main directory (e.g. $(HOME)/ARPACK )
ARPACK          = $(HOME)/PathTo/ARPACK
# Path to yaml-cpp prefix (e.g. $(HOME)/yaml-cpp, should contain "include" and "build")
YAML            = $(HOME)/PathTo/yaml-cpp

I did try to find the installation pathes for all these dependencies but I had problems finding arpack installation path. Any workaround to use the already-installed packages in the Makefile instead of giving them the pathes?

mojtabaAmiraslanpour commented 4 years ago

Issue is resolved. I just found the Make file options guide in here. In my guess it is better to put the "Makefile options" title before "Building the adapted CalculiX". I was searching how to change the Makefile myself and now I see it. Thanks