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

cmake install fails on missing modules/viscoelastic/veutils.h #21

Closed
oneZeroOneZeroOne opened this issue Oct 5, 2019 · 1 comment
Closed

Comments

@oneZeroOneZeroOne
Copy link

Installation fails due to missing include file:

.../channelflow/python-wrapper/cfwrapper.cpp:12:10: fatal error: modules/viscoelastic/veutils.h: No such file or directory

This happens on a Debian system with the following cmake command:

cmake $HOME/Desktop/channelflow2/channelflow/ -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$HOME/Desktop/channelflow2/channelflow/install/ -DCMAKE_CXX_COMPILER=/usr/bin/mpicxx -DWITH_PYTHON=ON -DUSE_MPI=OFF

channelflow version: 2.0.2

The configuration summary is as follows:

   Build type:                     debug
   Install prefix:                 ~/Desktop/channelflow2/channelflow/install
   Building shared library:        yes
   Linking programs to:            shared library

   Libraries
   MPI:                            disabled
   netcdf (default file format):   enabled
   Parallel netcdf:                disabled
   HDF5 C++ (legacy file format):  disabled

   Channelflow components
   nsolver:                        enabled
   Python wrapper:                 enabled
   GTest unit testing:             enabled

quick FIX (for me):
comment out line #12 of
$HOME/Desktop/channelflow2/channelflow/python-wrapper/cfwrapper.cpp
which reads
#include "modules/viscoelastic/veutils.h"
-> afterwards make tests passes 54/54

@mirkofarano
Copy link
Collaborator

quick FIX (for me):
comment out line #12 of
$HOME/Desktop/channelflow2/channelflow/python-wrapper/cfwrapper.cpp
which reads
#include "modules/viscoelastic/veutils.h"

This is indeed the correct fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants