...
Depending on which machine you work and which compiler or environment you want to use the commands differ a little. Here are some options:
At UQAM
• If you want to use the Intel compiler set:
...
module load openmpi/3.1.5-gcc-8.3
cmake -DCOMPILER=gnu -DCMAKE_VERBOSE_MAKEFILE=ON -DWORK_PREFIX=${MY_WORK_DIR} ${MY_GEM_DIR}/project
On Beluga
module load intel/2019.3
module load openmpi
module load cmake/3.16.3
module load fftw-mpi
cmake -DCOMPILER=intel -DCMAKE_VERBOSE_MAKEFILE=ON -DWORK_PREFIX=${MY_WORK_DIR} ${MY_GEM_DIR}/project
On Niagara
• using the native environment (recommended)
...
./runprep -dircfg configurations/GY_cfgs
./runmod -dircfg configurations/GY_cfgs -ptopo 2x2x1
Changing the code
Before making any changed to the source code it is recommended to create a new branch, for example:
...