miwa@pmpc1720 ~$ cmake --version cmake version 3.22.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). miwa@pmpc1720 ~$ gfortran --version GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. miwa@pmpc1720 ~$ git clone --recursive https://github.com/gotm-model/code.git gotm Cloning into 'gotm'... remote: Enumerating objects: 20659, done. remote: Counting objects: 100% (1172/1172), done. remote: Compressing objects: 100% (404/404), done. remote: Total 20659 (delta 791), reused 1093 (delta 739), pack-reused 19487 Receiving objects: 100% (20659/20659), 8.93 MiB | 9.87 MiB/s, done. Resolving deltas: 100% (15102/15102), done. Updating files: 100% (218/218), done. Submodule 'extern/CVMix-src' (https://github.com/CVMix/CVMix-src.git) registered for path 'extern/CVMix-src' Submodule 'extern/fabm' (https://github.com/fabm-model/fabm) registered for path 'extern/fabm' Submodule 'extern/flexout' (https://github.com/BoldingBruggeman/flexout) registered for path 'extern/flexout' Submodule 'extern/gsw-fortran' (https://github.com/TEOS-10/GSW-Fortran.git) registered for path 'extern/gsw' Submodule 'extern/stim' (https://github.com/BoldingBruggeman/stim) registered for path 'extern/stim' Cloning into '/users/modellers/miwa/gotm/extern/CVMix-src'... remote: Enumerating objects: 3334, done. remote: Counting objects: 100% (10/10), done. remote: Compressing objects: 100% (8/8), done. remote: Total 3334 (delta 2), reused 9 (delta 2), pack-reused 3324 Receiving objects: 100% (3334/3334), 5.15 MiB | 9.72 MiB/s, done. Resolving deltas: 100% (2399/2399), done. Cloning into '/users/modellers/miwa/gotm/extern/fabm'... remote: Enumerating objects: 17220, done. remote: Counting objects: 100% (1988/1988), done. remote: Compressing objects: 100% (636/636), done. remote: Total 17220 (delta 1291), reused 1877 (delta 1209), pack-reused 15232 Receiving objects: 100% (17220/17220), 17.85 MiB | 14.82 MiB/s, done. Resolving deltas: 100% (12046/12046), done. Cloning into '/users/modellers/miwa/gotm/extern/flexout'... remote: Enumerating objects: 1054, done. remote: Counting objects: 100% (140/140), done. remote: Compressing objects: 100% (87/87), done. remote: Total 1054 (delta 75), reused 100 (delta 39), pack-reused 914 Receiving objects: 100% (1054/1054), 248.34 KiB | 970.00 KiB/s, done. Resolving deltas: 100% (498/498), done. Cloning into '/users/modellers/miwa/gotm/extern/gsw'... remote: Enumerating objects: 1093, done. remote: Counting objects: 100% (114/114), done. remote: Compressing objects: 100% (55/55), done. remote: Total 1093 (delta 58), reused 95 (delta 51), pack-reused 979 Receiving objects: 100% (1093/1093), 11.05 MiB | 12.01 MiB/s, done. Resolving deltas: 100% (739/739), done. Cloning into '/users/modellers/miwa/gotm/extern/stim'... remote: Enumerating objects: 314, done. remote: Counting objects: 100% (53/53), done. remote: Compressing objects: 100% (13/13), done. remote: Total 314 (delta 45), reused 40 (delta 40), pack-reused 261 Receiving objects: 100% (314/314), 163.34 KiB | 1.78 MiB/s, done. Resolving deltas: 100% (186/186), done. Submodule path 'extern/CVMix-src': checked out '365591d2269cbffe4e5873d7a7254b3d092fbb68' Submodule path 'extern/fabm': checked out 'a0d56f0ce590dc35168e75a2ac1ca7bffd911fb6' Submodule path 'extern/flexout': checked out '9d1dd085c6bb7e91f94976caacdab2d52ed84ec4' Submodule 'lib/fortran-yaml' (https://github.com/BoldingBruggeman/fortran-yaml) registered for path 'extern/flexout/extern/fortran-yaml' Cloning into '/users/modellers/miwa/gotm/extern/flexout/extern/fortran-yaml'... remote: Enumerating objects: 301, done. remote: Counting objects: 100% (49/49), done. remote: Compressing objects: 100% (34/34), done. remote: Total 301 (delta 30), reused 33 (delta 15), pack-reused 252 Receiving objects: 100% (301/301), 93.14 KiB | 1.22 MiB/s, done. Resolving deltas: 100% (153/153), done. Submodule path 'extern/flexout/extern/fortran-yaml': checked out '02ce4ab152e14f7c072781c3ba0d581384c7a86a' Submodule path 'extern/gsw': checked out '3b8bd0194595c788f680a842444f574fa77a65e7' Submodule path 'extern/stim': checked out 'c5537cebe0c85375e5e8aed1bb38c35ffb2f3c60' miwa@pmpc1720 ~$ git clone https://github.com/fabm-model/fabm Cloning into 'fabm'... remote: Enumerating objects: 17220, done. remote: Counting objects: 100% (1988/1988), done. remote: Compressing objects: 100% (635/635), done. remote: Total 17220 (delta 1292), reused 1877 (delta 1210), pack-reused 15232 Receiving objects: 100% (17220/17220), 17.84 MiB | 18.22 MiB/s, done. Resolving deltas: 100% (12047/12047), done. Updating files: 100% (287/287), done. miwa@pmpc1720 ~$ mkdir -p ~/build/fabm-0d && cd ~/build/fabm-0d miwa@pmpc1720 ~/build/fabm-0d$ cmake ~/fabm/src/drivers/0d -DGOTM_BASE=~/gotm -- The Fortran compiler identification is GNU 11.4.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/bin/f95 - skipped CMake Warning (dev) at /users/modellers/miwa/gotm/extern/gsw/CMakeLists.txt:18 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'GSW_BUILD_STATIC_LIBS'. This warning is for project developers. Use -Wno-dev to suppress it. -- Option: GSW_BUILD_STATIC_LIBS: ON -- Option: GSW_BUILD_SHARED_LIBS: OFF -- Found NetCDF: -L/usr/lib/x86_64-linux-gnu -lnetcdff -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -lnetcdf -lnetcdf -lm CMake Warning (dev) at /users/modellers/miwa/fabm/src/CMakeLists.txt:62 (if): Policy CMP0057 is not set: Support new IN_LIST if() operator. Run "cmake --help-policy CMP0057" for policy details. Use the cmake_policy command to set the policy and suppress this warning. IN_LIST will be interpreted as an operator when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /users/modellers/miwa/fabm/src/CMakeLists.txt:62 (if): Policy CMP0057 is not set: Support new IN_LIST if() operator. Run "cmake --help-policy CMP0057" for policy details. Use the cmake_policy command to set the policy and suppress this warning. IN_LIST will be interpreted as an operator when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /users/modellers/miwa/fabm/src/CMakeLists.txt:62 (if): if given arguments: "institute" "IN_LIST" "DEFAULT_INSTITUTES" "AND" "NOT" "institute" "IN_LIST" "OPTIONAL_INSTITUTES" Unknown arguments specified -- Configuring incomplete, errors occurred! See also "/users/modellers/miwa/build/fabm-0d/CMakeFiles/CMakeOutput.log".