Uniform build system cmake to build all components#56
Open
samcom12 wants to merge 4 commits intoICME-India:mainfrom
Open
Uniform build system cmake to build all components#56samcom12 wants to merge 4 commits intoICME-India:mainfrom
samcom12 wants to merge 4 commits intoICME-India:mainfrom
Conversation
- Add top-level CMakeLists.txt with per-solver opt-in flags - Add Grand_Potential_Serial/CMakeLists.txt (gcc + libm) - Add Grand_Potential_MPI/CMakeLists.txt (MPI + HDF5 + GSL) - Add KKS_CuFFT/CMakeLists.txt (CUDA + cuFFT) - Add KKS_FD_CUDA_MPI/CMakeLists.txt (CUDA separable + MPI + HDF5 + GSL) - Add KKS_OpenCl/CMakeLists.txt (MPI + OpenCL + HDF5 + GSL) - Add Cahn_Hilliard_FFT_2D/CMakeLists.txt (FFTW3) - Add cmake/FindFFTW3.cmake custom find module - Add docs/cmake_upgrade.md migration guide Agent-Logs-Url: https://github.com/samcom12/MicroSim/sessions/653f1394-fccb-4a78-a946-ddc1e529fd46 Co-authored-by: samcom12 <13285627+samcom12@users.noreply.github.com>
Agent-Logs-Url: https://github.com/samcom12/MicroSim/sessions/653f1394-fccb-4a78-a946-ddc1e529fd46 Co-authored-by: samcom12 <13285627+samcom12@users.noreply.github.com>
…efaults - Grand_Potential_MPI: replace /share/apps/gsl/* with GSL_ROOT_DIR auto-detected via gsl-config, fully overridable - KKS_OpenCl: replace $(HOME)/gsl_2_7, /usr/local/cuda, /usr/include/hdf5 with CUDA_HOME / GSL_ROOT_DIR / HDF5_INC_DIR variables - KKS_FD_CUDA_MPI: remove spack-hash HDF5 and GSL paths; use empty defaults with inline instructions; fix NVHPC_ROOT default path Build verified: Grand_Potential_Serial produces microsim_gp executable via both `make` and `cmake --build`. Agent-Logs-Url: https://github.com/samcom12/MicroSim/sessions/83c47819-1f44-4cb4-a635-26b7e4367139 Co-authored-by: samcom12 <13285627+samcom12@users.noreply.github.com>
…make feat: upgrade build system to CMake, remove hardcoded paths, and add migration documentation
Author
|
this will resolve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will be useful to install microsim with cmake build system removing hardcoded dependency paths