forked from t-weber/takin2
-
Notifications
You must be signed in to change notification settings - Fork 6
Compiling the Magnon Modules
Tobias Weber (Institut Laue-Langevin) edited this page Sep 4, 2024
·
9 revisions
- After having cloned the source repository (see Compiling Takin), go to the plugin's directory:
cd takin/magnon-plugin
. - Create a "build" directory:
mkdir build && cd build
. - Build the plugin:
cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4
. - Create Takin's plugin directory if needed:
mkdir -p ~/.takin/plugins
. - Copy the plugin to the plugin directory:
- On Mac:
cp libmagnonmod.dylib ~/.takin/plugins/
, - On Linux:
cp libmagnonmod.so ~/.takin/plugins/
.
- On Mac:
- After having cloned the source repository (see Compiling Takin), go to the module's directory:
cd takin/mag-core/tools_py/magdyn/
. - Create a "build" directory:
mkdir build && cd build
. - Build the Python package:
cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4
. - Install the Python package:
sudo make install
.
- After having cloned the source repository (see Compiling Takin), go to the module's directory:
cd takin/mag-core/tools/magdyn/
. - Create a "build" directory:
mkdir build && cd build
. - Build the Python package:
cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4
.