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

Compilation Error #10

Open
AxelDora opened this issue Sep 1, 2018 · 5 comments
Open

Compilation Error #10

AxelDora opened this issue Sep 1, 2018 · 5 comments

Comments

@AxelDora
Copy link

AxelDora commented Sep 1, 2018

Describe the bug

Compiling the code on the HPC returns an error in the code that seems to be linked to how functions/constructors are defined in the code

Expected Result
Full compilation

Actual Result
I got a litany of errors which are given below:

[ 19%] Building CXX object channelflow/CMakeFiles/chflow.dir/nse.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/bandedtridiag.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/bandedtridiag.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/basisfunc.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/basisfunc.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/chebyshev.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/cfmpi.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/diffops.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/diffops.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/dnsflags.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsflags.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/dnsalgo.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsalgo.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -std=c++11 -o CMakeFiles/chflow.dir/nse.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/nse.cpp
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.cpp:10:0:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.cpp:13:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsalgo.h:18,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsalgo.cpp:8:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/diffops.h:18,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/diffops.cpp:8:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsflags.h:17,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsflags.cpp:8:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/diffops.h:18,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/nse.h:15,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/nse.cpp:6:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
In file included from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.h:15:0,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/basisfunc.h:15,
from /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/basisfunc.cpp:10:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:113:18: error: ‘channelflow::CfMPI::CfMPI’ names constructor
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h: In static member function ‘static channelflow::CfMPI_single& channelflow::CfMPI_single::getInstance()’:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: error: no matching function for call to ‘channelflow::CfMPI_single::CfMPI_single(int, int)’
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:118:42: note: candidate is:
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: channelflow::CfMPI_single::CfMPI_single(const channelflow::CfMPI_single&)
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.h:106:7: note: candidate expects 1 argument, 2 provided
make[2]: *** [channelflow/CMakeFiles/chflow.dir/cfmpi.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [channelflow/CMakeFiles/chflow.dir/chebyshev.cpp.o] Error 1
make[2]: *** [channelflow/CMakeFiles/chflow.dir/dnsflags.cpp.o] Error 1
make[2]: *** [channelflow/CMakeFiles/chflow.dir/dnsalgo.cpp.o] Error 1
make[2]: *** [channelflow/CMakeFiles/chflow.dir/nse.cpp.o] Error 1
make[2]: *** [channelflow/CMakeFiles/chflow.dir/diffops.cpp.o] Error 1
make[2]: *** [channelflow/CMakeFiles/chflow.dir/basisfunc.cpp.o] Error 1
make[2]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' make[1]: *** [channelflow/CMakeFiles/chflow.dir/all] Error 2 make[1]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
make: *** [all] Error 2

Steps to reproduce the issue
This is the code I used to run the compilation:

module purge
module load cmake
module load gcc/4.7.2

BUILDDIR=build
if [ -d "$BUILDDIR" ]
then
rm -rf $BUILDDIR
fi
mkdir $BUILDDIR
cd $BUILDDIR

HDF5_ROOT=/bglocal/cn/pub/HDF5/1.10.1_shared/seq cmake /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/
-DCMAKE_BUILD_TYPE=release
-DWITH_FFTW=/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib
-DFFTW_LIBDIR=/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib
-DNETCDF_DIR=/bglocal/cn/pub/NetCDF/4.3.3.1/mpi
-DHDF5_ROOT=/bglocal/cn/pub/HDF5/1.10.1_shared/par
-DWITH_HDF5CXX=ON
-DWITH_GTEST=OFF
-DCMAKE_C_COMPILER=/bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicc
-DCMAKE_CXX_COMPILER=/bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx 2>&1 | tee configure.log

VERBOSE=1 make -j 8 2>&1 | tee make.log

================================================================
Any help or guidance would be appreciated. Thanks and best

@symtor
Copy link
Collaborator

symtor commented Sep 2, 2018

Hi @AxelDora , and thank you for checking out channelflow!

I compiled the code with the options you used, and could not reproduce your errors. However, I notice that you used g++/4.7.2 in your modules, whereas our systems use g++ 4.8 or later. g++ 4.7 does not yet implement the full C++11 standard, and as such will have problems with some of the advanced C++ features channelflow uses.

Do you have a module for a higher-version C++ compiler? The code is tested on 4.8.4, g++-6, g++-7, g++-8, and clang-6.0. The minimum compiler requirements are not yet listed in the readme; we'll fix that.

Technical analysis
Singleton initializer CfMPI_single::getInstance() uses constructor CfMPI::CfMPI(int nproc0, int nproc) of parent class CfMPI, which is made available via using CfMPI::CfMPI; in CfMPI_single. This constructor inheritance was added with C++11.

@AxelDora
Copy link
Author

AxelDora commented Sep 4, 2018

Thanks for such a prompt reply.
I understand the issue now. Is there any way around it if I don't have a higher gcc. I tried clang 3.6, which I am guessing is the reason the code didnt compile again. I am attaching the most recent error report, just in case the error is due to something else

$ ./compile.sh
(remove) clang version 3.6.0
(load) cmake version 3.5.2
(load) clang version 3.6.0
-- The C compiler identification is Clang 3.6.0
-- The CXX compiler identification is Clang 3.6.0
-- Check for working C compiler: /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicc
-- Check for working C compiler: /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicc -- 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: /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx
-- Check for working CXX compiler: /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

-- configuring channelflow version 2.0.2

-- Starting system introspection
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for include file wordexp.h
-- Looking for include file wordexp.h - found
-- Found Eigen3: /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 (Required is at least version "2.91.0")
-- Found FFTW
-- FFTW_LIBRARY=/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3.so
-- FFTW_OMP_LIBRARY=/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3_omp.so
-- FFTW_MPI_LIBRARY=/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3_mpi.a
-- Looking for include file fftw3.h
-- Looking for include file fftw3.h - found
-- Found MPI_C: /bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpich-xl.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libopa-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpl-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libpami-gcc.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI.a;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI_cnk.a;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/librt.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libstdc++.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so
-- Found MPI_CXX: /bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpichcxx-xl.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpich-xl.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libopa-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpl-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libpami-gcc.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI.a;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI_cnk.a;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/librt.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libstdc++.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so
-- MPI libs: /bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpichcxx-xl.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpich-xl.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libopa-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libmpl-xl.so;/bgsys/drivers/V1R2M5/ppc64/comm/lib/libpami-gcc.ndebug.so;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI.a;/bgsys/drivers/V1R2M5/ppc64/spi/lib/libSPI_cnk.a;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/librt.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libstdc++.so;/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so
-- FFTW_MPI library: /bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3_mpi.a
-- Found NetCDF: /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/lib/libnetcdf.a
-- NetCDF include dir: /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include
-- Looking for include file netcdf.h
-- Looking for include file netcdf.h - found
-- Found HDF5: /bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5_cpp.so;/bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5.so;/bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5_hl_cpp.so;/bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5_cpp.so;/bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5_hl.so;/bglocal/cn/pub/HDF5/1.10.1_shared/seq/lib/libhdf5.so;/usr/lib64/librt.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.1")
-- Checking if hdf5 library functions in are working correctly.
-- Looking for include file hdf5.h
-- Looking for include file hdf5.h - found
-- Looking for H5D_init in hdf5
-- Looking for H5D_init in hdf5 - not found
-- Looking for H5Dopen2 in hdf5_hl
-- Looking for H5Dopen2 in hdf5_hl - not found
-- Looking for H5Eprint2 in hdf5_cpp
-- Looking for H5Eprint2 in hdf5_cpp - not found

-- Include directories:
-- Git revision GITDIR-NOTFOUND

###############################################
########### Configuration summary ###########
###############################################
Compiler: Clang 3.6.0
Build type: release
Install prefix: /usr/local
Building shared library: yes
Linking programs to: shared library

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

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

-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

HDF5_ROOT

-- Build files have been written to: /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build
/gpfs4l/bglocal/fe/pub/CMake/3.5.2/bin/cmake -H/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -B/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build --check-build-system CMakeFiles/Makefile.cmake 0
/gpfs4l/bglocal/fe/pub/CMake/3.5.2/bin/cmake -E cmake_progress_start /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/CMakeFiles /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' make -f nsolver/CMakeFiles/nsolver.dir/build.make nsolver/CMakeFiles/nsolver.dir/depend make[2]: Entering directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build && /gpfs4l/bglocal/fe/pub/CMake/3.5.2/bin/cmake -E cmake_depends "Unix Makefiles" /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver/CMakeFiles/nsolver.dir/DependInfo.cmake --color=
Dependee "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver/CMakeFiles/nsolver.dir/DependInfo.cmake" is newer than depender "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver/CMakeFiles/nsolver.dir/depend.internal".
Dependee "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver/CMakeFiles/nsolver.dir/depend.internal".
Scanning dependencies of target nsolver
make[2]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' make -f nsolver/CMakeFiles/nsolver.dir/build.make nsolver/CMakeFiles/nsolver.dir/build make[2]: Entering directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
[ 2%] Building CXX object nsolver/CMakeFiles/nsolver.dir/lanczos.cpp.o
[ 2%] Building CXX object nsolver/CMakeFiles/nsolver.dir/arnoldi.cpp.o
[ 3%] Building CXX object nsolver/CMakeFiles/nsolver.dir/bicgstab.cpp.o
[ 5%] Building CXX object nsolver/CMakeFiles/nsolver.dir/continuation.cpp.o
[ 5%] Building CXX object nsolver/CMakeFiles/nsolver.dir/dsi.cpp.o
[ 6%] Building CXX object nsolver/CMakeFiles/nsolver.dir/gmres.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/lanczos.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/lanczos.cpp
[ 7%] Building CXX object nsolver/CMakeFiles/nsolver.dir/fgmres.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/arnoldi.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/arnoldi.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/bicgstab.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/bicgstab.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/continuation.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/continuation.cpp
[ 7%] Building CXX object nsolver/CMakeFiles/nsolver.dir/newtonalgorithm.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/dsi.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/dsi.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/gmres.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/gmres.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/fgmres.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/fgmres.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/newtonalgorithm.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/newtonalgorithm.cpp
[ 8%] Building CXX object nsolver/CMakeFiles/nsolver.dir/newton.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/newton.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/newton.cpp
[ 9%] Building CXX object nsolver/CMakeFiles/nsolver.dir/eigenvals.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/eigenvals.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/eigenvals.cpp
[ 10%] Building CXX object nsolver/CMakeFiles/nsolver.dir/multiShootingDSI.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dnsolver_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/nsolver.dir/multiShootingDSI.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/nsolver/multiShootingDSI.cpp
[ 11%] Linking CXX shared library libnsolver.so
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/nsolver && /gpfs4l/bglocal/fe/pub/CMake/3.5.2/bin/cmake -E cmake_link_script CMakeFiles/nsolver.dir/link.txt --verbose=1
/bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -fPIC -O3 -DNDEBUG -shared -Wl,-soname,libnsolver.so -o libnsolver.so CMakeFiles/nsolver.dir/lanczos.cpp.o CMakeFiles/nsolver.dir/arnoldi.cpp.o CMakeFiles/nsolver.dir/bicgstab.cpp.o CMakeFiles/nsolver.dir/continuation.cpp.o CMakeFiles/nsolver.dir/dsi.cpp.o CMakeFiles/nsolver.dir/gmres.cpp.o CMakeFiles/nsolver.dir/fgmres.cpp.o CMakeFiles/nsolver.dir/newtonalgorithm.cpp.o CMakeFiles/nsolver.dir/newton.cpp.o CMakeFiles/nsolver.dir/eigenvals.cpp.o CMakeFiles/nsolver.dir/multiShootingDSI.cpp.o /bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3_mpi.a /bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib/libfftw3.so -Wl,-rpath,/bglocal/cn/pub/FFTW/3.3.7_omp_shared/lib:::::::::::::::
make[2]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' [ 11%] Built target nsolver make -f channelflow/CMakeFiles/chflow.dir/build.make channelflow/CMakeFiles/chflow.dir/depend make[2]: Entering directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build && /gpfs4l/bglocal/fe/pub/CMake/3.5.2/bin/cmake -E cmake_depends "Unix Makefiles" /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow/CMakeFiles/chflow.dir/DependInfo.cmake --color=
Dependee "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow/CMakeFiles/chflow.dir/DependInfo.cmake" is newer than depender "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow/CMakeFiles/chflow.dir/depend.internal".
Dependee "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow/CMakeFiles/chflow.dir/depend.internal".
Scanning dependencies of target chflow
make[2]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' make -f channelflow/CMakeFiles/chflow.dir/build.make channelflow/CMakeFiles/chflow.dir/build make[2]: Entering directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
[ 12%] Building CXX object channelflow/CMakeFiles/chflow.dir/bandedtridiag.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/bandedtridiag.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/bandedtridiag.cpp
[ 16%] Building CXX object channelflow/CMakeFiles/chflow.dir/chebyshev.cpp.o
[ 15%] Building CXX object channelflow/CMakeFiles/chflow.dir/basisfunc.cpp.o
[ 16%] Building CXX object channelflow/CMakeFiles/chflow.dir/cfmpi.cpp.o
[ 16%] Building CXX object channelflow/CMakeFiles/chflow.dir/diffops.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/chebyshev.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/chebyshev.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/basisfunc.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/basisfunc.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/cfmpi.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/cfmpi.cpp
[ 17%] Building CXX object channelflow/CMakeFiles/chflow.dir/dnsflags.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/diffops.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/diffops.cpp
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/dnsflags.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsflags.cpp
[ 18%] Building CXX object channelflow/CMakeFiles/chflow.dir/dnsalgo.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/dnsalgo.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dnsalgo.cpp
[ 19%] Building CXX object channelflow/CMakeFiles/chflow.dir/nse.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/nse.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/nse.cpp
[ 20%] Building CXX object channelflow/CMakeFiles/chflow.dir/dns.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/dns.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/dns.cpp
[ 21%] Building CXX object channelflow/CMakeFiles/chflow.dir/flowfield.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/flowfield.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/flowfield.cpp
[ 22%] Building CXX object channelflow/CMakeFiles/chflow.dir/helmholtz.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/helmholtz.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/helmholtz.cpp
[ 23%] Building CXX object channelflow/CMakeFiles/chflow.dir/periodicfunc.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/periodicfunc.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/periodicfunc.cpp
[ 24%] Building CXX object channelflow/CMakeFiles/chflow.dir/poissonsolver.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/poissonsolver.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/poissonsolver.cpp
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/flowfield.cpp:246:19: error: argument type 'cfbasics::fieldstate *' doesn't match specified 'MPI' type tag that requires 'int *' [-Werror,-Wtype-safety]
MPI_Bcast(&xzstate_, 1, MPI_INT, 0, cfmpi_->comm_world);
^~~~~~~~~ ~~~~~~~
/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/flowfield.cpp:247:19: error: argument type 'cfbasics::fieldstate *' doesn't match specified 'MPI' type tag that requires 'int *' [-Werror,-Wtype-safety]
MPI_Bcast(&ystate_, 1, MPI_INT, 0, cfmpi_->comm_world);
^~~~~~~~ ~~~~~~~
[ 25%] Building CXX object channelflow/CMakeFiles/chflow.dir/realprofile.cpp.o
cd /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build/channelflow && /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx -Dchflow_EXPORTS -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn -I/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build -isystem /bglocal/cn/pub/NetCDF/4.3.3.1/mpi/include -isystem /bglocal/cn/pub/HDF5/1.10.1_shared/seq/include -isystem /bglocal/cn/pub/FFTW/3.3.7_omp_shared/include -isystem /workgpfs/rech/lau/rlau000/TV-channelflow/channelflow-devel-1.5.1-turing/eigen3 -O3 -DNDEBUG -fPIC -Wall -Werror -pedantic -Wdocumentation -std=c++11 -o CMakeFiles/chflow.dir/realprofile.cpp.o -c /workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/channelflow2_Tob_Schn/channelflow/realprofile.cpp
2 errors generated.
make[2]: *** [channelflow/CMakeFiles/chflow.dir/flowfield.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build' make[1]: *** [channelflow/CMakeFiles/chflow.dir/all] Error 2 make[1]: Leaving directory /gpfs5r/workgpfs/rech/lau/rlau000/aksh_Turing/CF_Parallel/build'
make: *** [all] Error 2

Thanks and best

@symtor
Copy link
Collaborator

symtor commented Sep 4, 2018

flowfield.cpp:246:19: error: argument type 'cfbasics::fieldstate *' doesn't match specified 'MPI' type tag that requires 'int *' [-Werror,-Wtype-safety]
MPI_Bcast(&xzstate_, 1, MPI_INT, 0, cfmpi_->comm_world);

@AxelDora clang-3.6 understands C++11, and the compile went much further than before. It appears that this time, the error is due to the high warning level we use (which is only configured this way with clang).
@sajjadazimi I remember that @mirkofarano suggested to use a different signature to transfer enums via MPI. Do you have time to investigate?

@alalazo
Copy link
Contributor

alalazo commented Sep 4, 2018

@AxelDora OT: If you have that much output to share you can attach log files to a comment. Also, when you cut and paste console output you can use markdown to format it better 😉

@sajjadazimi
Copy link
Member

@symtor and @mirkofarano my suggestion is to cast enum to int and then to transfer the int and then cast it to enum on other processors. What do you think?

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

4 participants