- Install picongpu conda environment and activate it
- Install clion
sudo snap install clion --classic
- Start clion, choose 'Open' and set Toolchain:
- CMake: .../anaconda3/envs/picongpu/bin/cmake
- Build Tool: .../anaconda3/envs/picongpu/bin/make
- C Compiler: .../anaconda3/envs/picongpu/bin/x86_64-conda-linux-gnu-cc
- C++ Compiler: .../anaconda3/envs/picongpu/bin/x86_64-conda-linux-gnu-c++
- CMake Setting:
- CMake options:
-DCMAKE_CXX_FLAGS=-g -DCMAKE_INSTALL_PREFIX=. -DPIC_EXTENSION_PATH=/home/.../src/picongpu/share/picongpu/examples/KelvinHelmholtz -Dalpaka_ACC_CPU_B_OMP2_T_SEQ_ENABLE=ON -DCUPLA_STREAM_ASYNC_ENABLE=OFF -DPMACC_CPU_ARCH="native"
- Build directory: /home/.../picInput/clion_build
- Build options:
-- -j 2
- CMake options:
- In case of problems, first 'Reset Cache and Reload Project' from CMake dialog next to console at the bottom
Last active
September 7, 2023 09:03
-
-
Save steindev/871598519c499ceeabd400bf25f98bac to your computer and use it in GitHub Desktop.
CLion CMake Settings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment