cmake-gui ../
Now a cmake GUI window will open in which do the following:
- click Configure,
it may ask to “Specify the generator for the project”, select “Use default native compiler” and click “Done/Finish”
- click Configure,
Now you just need to select the Values for the variables (Name) starting with AParMooN_
- double click the Value of AParMooN_ARCH
select one of the values LINUX64, MAC64, INTEL64, etc
- double click the Value of AParMooN_GEO
select one of the values 2D, 3D.
Click Configure before go the next step, if you change this value
- double click the Value of AParMooN_MODEL
select the 2D or 3D main program that you want. Note if you changed AParMooN_GEO value, click Configure once again to see the respective 2D and 3D main program. for the considered example, select ``.../ParMooN/2D_Programs/CD2D_ParMoon.C''
- double click the Value of AParMooN_OUTPUT_DIR
select one of the values where you want to save your exe file (execution directory)
for the considered example select ....ParMooN/OutPut/cd2d/
- double click the Value of AParMooN_PARALLEL_TYPE
select one of the values SEQUENTIAL, SMPI, MPI, OMPONLY, HYBRID,
select SEQUENTIAL if your are not using a parallel solver
- click Configure
- click Generate
- close Cmake