ian@ian-Aspire-One-753:~$ cd fortran2018*
ian@ian-Aspire-One-753:~/fortran2018examples$ ls
abi_check CMakeCache.txt _deps namelist real
array CMakeFiles fortran2018-examples openmp standard
benchmarks compile git overloading submodule
block contiguous io pointer system
character debug maximum random
ian@ian-Aspire-One-753:~/fortran2018examples$ cmake fortran2018-examples
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/share/cmake-3.16
CMake Error: Error executing cmake::LoadCache(). Aborting.
ian@ian-Aspire-One-753:~/fortran2018examples$ sudo cmake fortran2018-examples
fatal: not a git repository (or any of the parent directories): .git
CMake Error at git/CMakeLists.txt:14 (string):
string sub-command SUBSTRING requires four arguments.
fatal: not a git repository (or any of the parent directories): .git
CMake Error at git/CMakeLists.txt:18 (string):
string sub-command SUBSTRING requires four arguments.
fatal: not a git repository (or any of the parent directories): .git
-- Fortran2018Examples git revision: git_branch: git_porcelain: .true.
-- CMake at least through 3.20.1 and Make have a bug with this Fortran Syntax. CMake + Ninja works OK.
--
Openmp, tests using OpenMP
-- Configuring incomplete, errors occurred!
See also "/home/ian/fortran2018examples/CMakeFiles/CMakeOutput.log".
See also "/home/ian/fortran2018examples/CMakeFiles/CMakeError.log".
ian@ian-Aspire-One-753:~$ cd fortran2018* ian@ian-Aspire-One-753:~/fortran2018examples$ ls abi_check CMakeCache.txt _deps namelist real array CMakeFiles fortran2018-examples openmp standard benchmarks compile git overloading submodule block contiguous io pointer system character debug maximum random ian@ian-Aspire-One-753:~/fortran2018examples$ cmake fortran2018-examples CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/local/share/cmake-3.16 CMake Error: Error executing cmake::LoadCache(). Aborting.
ian@ian-Aspire-One-753:~/fortran2018examples$ sudo cmake fortran2018-examples fatal: not a git repository (or any of the parent directories): .git CMake Error at git/CMakeLists.txt:14 (string): string sub-command SUBSTRING requires four arguments.
fatal: not a git repository (or any of the parent directories): .git CMake Error at git/CMakeLists.txt:18 (string): string sub-command SUBSTRING requires four arguments.
fatal: not a git repository (or any of the parent directories): .git -- Fortran2018Examples git revision: git_branch: git_porcelain: .true. -- CMake at least through 3.20.1 and Make have a bug with this Fortran Syntax. CMake + Ninja works OK. --
-- Configuring incomplete, errors occurred! See also "/home/ian/fortran2018examples/CMakeFiles/CMakeOutput.log". See also "/home/ian/fortran2018examples/CMakeFiles/CMakeError.log".