Closed jarq6c closed 1 year ago
I run it on Red Hat Enterprise Linux 8 and build and run based on https://github.com/NOAA-OWP/ngen/blob/master/INSTALL.md. I got problems and fixed locally. Generation step: cmake -DCMAKE_BUILD_TYPE=Debug -DPACKAGE_TESTS:BOOL=ON -DBMI_C_LIB_ACTIVE:BOOL=ON -DBOOST_ROOT=/home/ec2-user/ngen/boost_1_72_0 -B ./cmake_build -S . Build step: cmake --build ./cmake_build I build all and skip the --target option. The build directory must be cmake_build because the code expects that this is the build directory. I have downloaded and installed boost_1_72_0 to /home/ec2-user/ngen/boost_1_72_0
@jarq6c two things to consider. First, if there is clock skew happening, contact your sys admin.
Second, while we supported gcc 4.8.5 at one point in time, it may no longer be sufficient. try doing this first to load a slightly newer compiler in you shell environment
scl enable devtoolset-8 bash
then try the build.
I haven't tried to run NGEN since submitting this ticket. I'll try again later when it's a bit easier for dummies like me to run it. Thanks for the suggestions. :)
I followed the tutorial linked below and was unable to build and run NGEN.
https://github.com/NOAA-OWP/ngen/wiki/NGen-Tutorial
Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Sat Feb 18 13:27:00 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Final error:
Specifically, I used these commands, listed under "TL;DR":
Current behavior
I receive several warnings, partially copied below:
Here's the cmake logs:
Expected behavior
Ability to build and run basic NGEN tutorial on NWC Linux machines.