PeleC icon indicating copy to clipboard operation
PeleC copied to clipboard

Issue with building/creating executable - cmake version

Open SRkumar97 opened this issue 9 months ago • 5 comments

Hello, Thanks for this code. I am trying to compile and build the code (GNU). I am following the commands listed in the main page git clone --recursive [email protected]:AMReX-Combustion/PeleC.git cd PeleC/Exec/RegTests/PMF make TPLrealclean && make realclean && make TPL && make -j ./Pele3d.xxx.yyy.ex example.inp Here, I face an issue as soon as I run the third command cmake_version_error_PeleC It says cmake version 3.12 or higher is required. The default cmake is standard cmake - cmake 2.8.12.2 in /usr/bin/cmake. The system does have cmake3 in the same top directory as cmake i.e. /usr/bin/cmake3 I tried using alias and setting cmake to cmake3, but this didn't wotk as the code still used the standard cmake. How do I tell the code to compile using this cmake3, in place of standard cmake? In which make files do I need to change and update? Requesting for help

SRkumar97 avatar May 22 '24 11:05 SRkumar97