![]() ![]() ![]() set "Where is the source code" to and pick an empty directory for "Where to build the binaries".Step-by-step instructions can be found below. If this is not the right one, override it by adding -DCMAKE_Fortran_COMPILER= in the call to cmake. Cmake will try to auto-detect your Fortran compiler and tell you which one it has selected. is the name of the host that FABM is built for it must match the name of one of the subdirectories under /src/drivers. In the above, is the path to the directory with FABM source code. This will create the FABM library and necessary include files at ~/local/fabm/. CMake in turn generates platform-specific build systems, for instance makefiles on Linux, and Visual Studio solutions on Windows. #Harms of installing macports how toThe following instructions show how to build FABM as a library, which can then be linked against when building the host itself.įABM uses a build system based on CMake. Building and installingīefore you begin: if your target host is listed in the right-hand panel under "User guide", "Specific hosts", then start there as custom installation instructions are usually available. For Intel Visual Fortran on Windows, we therefore provide pre-compiled NetCDF 3 libraries. ![]() It can be particularly difficult to source suitable NetCDF libraries on Windows. This often includes the NetCDF library used by numerous hydrodynamic models. This is a particular concern for prebuilt dependencies that are distributed as binary. However, it is worth noting that all Fortran codes that are used in your application - the hydrodynamic model, FABM itself, and any dependencies with a Fortran component - typically need to be built with the same compiler. Discussing these is beyond the scope of this guide. If you are embedding FABM in a hydrodynamic model, that may have additional requirements of its own. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |