JSON validation error

I am trying to install precice-2.2.1 on Centos linux using cmake. I get JSON validation error. I was taking to Fernandes in a thread. Since i ended rebooting my machine i lost communication.

Here is the cmake info and error message

        -DPRECICE_PETScMapping=ON \
        -DPETSc_INCLUDE_DIRS=${PETSC_DIR}/include \
        -DCMAKE_C_COMPILER=mpiicc \
        -DCMAKE_CXX_COMPILER=mpiicpc \
        -DCMAKE_CXX_FLAGS="-std=c++11" \
        -DCMAKE_CXX_LINKER="-L${MPI_ROOT}/lib -lmpicxx -lmpi" \
        -DBoost_NO_WARN_NEW_VERSIONS=1 \
        -DPETSc_LIBRARIES=${PETSC_DIR}/lib/libpetsc.so  -DPRECICE_PythonActions=ON ..
  CMakeLists.txt:179 (precice_validate_json)

-- Configuring incomplete, errors occurred!
See also "/media/ephemeral0/install_install_precice-3.17.1/precice-2.2.1/build/CMakeFiles/CMakeOutput.log".
++ nproc
+ make VERBOSE=1 -j8
make: *** No targets specified and no makefile found.  Stop.
+ make install

Hi! Could you upload the file /media/ephemeral0/install_install_precice-3.17.1/precice-2.2.1/build/CMakeFiles/CMakeOutput.log so we can take a look whether something useful is mentioned there?

Additionally, you could go into the validation directory and try to compile the validation test for JSON manually to see what the output is.

cd /media/ephemeral0/install_install_precice-3.17.1/precice-2.2.1/build/validation
mpiicpc -I ../../thirdparty/json/include validateJSON.cpp

Additionally, you could try compiling the JSON test using your additional compile flags. That means you could try to compile it with the following line

mpiicpc -std=c++11 -L${MPI_ROOT}/lib -lmpicxx -lmpi -I ../../thirdparty/json/include validateJSON.cpp

As an update since we discussed this a bit on Gitter:

The problem seems to stem from an incompatibal combination of GCC 8.1.0 and the Intel Compilers 18.0.3. The Intel compiler does only support GCC up to GCC 6.3 as mentioned on the Intel forum.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.