Skip to content
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

Closed
edwardhartnett opened this issue May 24, 2021 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@edwardhartnett
Copy link
Collaborator

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}


@edwardhartnett edwardhartnett added the bug Something isn't working label May 24, 2021
@climbfuji
Copy link
Collaborator

climbfuji commented May 24, 2021 via email

@edwardhartnett
Copy link
Collaborator Author

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? ;-)

@climbfuji
Copy link
Collaborator

climbfuji commented May 24, 2021 via email

@edwardhartnett
Copy link
Collaborator Author

Ah! Sorry, forgot the recursive checkout. I will try again...

@climbfuji
Copy link
Collaborator

Is this a duplicate / part of #94 ?

@edwardhartnett
Copy link
Collaborator Author

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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants