-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occured while running ccpp_prebuild.py - how to build fv3atm? #311
Labels
bug
Something isn't working
Comments
Thus far, nobody has tried to build fv3atm standalone. The CCPP code generator probably doesn't run, (see call in fv3atm/ccpp/CMakeLists.txt), because ${Python_EXECUTABLE}) is not set. Python is configured in the ufs-weather-model top-level CMakeLists.txt:
# Configure Python
find_package(Python 3 REQUIRED COMPONENTS Interpreter)
message("Found Python: ${Python_EXECUTABLE}")
… On May 24, 2021, at 5:02 AM, Edward Hartnett ***@***.***> wrote:
When I run cmake on fv3atm I get an error. When I look in /home/ed/fv3atm/b/ccpp/ccpp_prebuild.{out,err} as directed, both files are empty.
How does one get fv3atm to build?
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 10.2.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Setting build type to 'Release' as none was specified.
Calling CCPP code generator (ccpp_prebuild.py) for all available suites ...
CMake Error at ccpp/CMakeLists.txt:45 (message):
An error occured while running ccpp_prebuild.py, check
/home/ed/fv3atm/b/ccpp/ccpp_prebuild.{out,err}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#311>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RM2VFH6FBBU64KPWBLTPIW3DANCNFSM45NARPBQ>.
|
OK, now when I run I get this error: /home/ed/anaconda3/bin/python3.8: can't open file 'framework/scripts/ccpp_prebuild.py': [Errno 2] No such file or directory Where is this file? I'm going to guess it's in another repository, correct? ;-) |
Yes, when you check out fv3atm, you need to do that recursively, otherwise you don't have a dycore and you don't have physics. Pretty useless.
… On May 24, 2021, at 8:08 AM, Edward Hartnett ***@***.***> wrote:
OK, now when I run I get this error:
/home/ed/anaconda3/bin/python3.8: can't open file 'framework/scripts/ccpp_prebuild.py': [Errno 2] No such file or directory
Where is this file? I'm going to guess it's in another repository, correct? ;-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#311 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RMLSVSQKU3K3IDMJATTPJMU7ANCNFSM45NARPBQ>.
|
Ah! Sorry, forgot the recursive checkout. I will try again... |
Is this a duplicate / part of #94 ? |
Let's close this and I will circle around and try again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run cmake on fv3atm I get an error. When I look in /home/ed/fv3atm/b/ccpp/ccpp_prebuild.{out,err} as directed, both files are empty.
How does one get fv3atm to build?
The text was updated successfully, but these errors were encountered: