CLAMR icon indicating copy to clipboard operation
CLAMR copied to clipboard

cannot convert 'state_t*** {aka float***}' to 'double***' in assignment ( gentrimatrix_p(knum, jnum, inum, elsize, __FILE__, __LINE_ 2956 _) )

Open junghans opened this issue 6 years ago • 1 comments

Spack CI found:

/tmp/spack-stage/ci/clamr-master-gpvlo4l5oyt7p3hnhphclvkd5g4aq4wd/spack-src/genmalloc/genmalloc.h:72:70: error: cannot convert 'state_t*** {aka float***}' to 'double***' in assignment ( gentrimatrix_p(knum, jnum, inum, elsize, __FILE__, __LINE__) )

Details see here: https://travis-ci.org/proxyapps/proxy-ci/jobs/580050392

We only need to build against master as there is still no release (#55), please tag one.

junghans avatar Sep 03 '19 12:09 junghans

No issue:

==> Error: ProcessError: Command exited with status 1:
    'cmake' '/tmp/ci/spack-stage/spack-stage-clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif/spack-src' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:PATH=/home/ci/spack/opt/spack/linux-ubuntu18.04-haswell/gcc-7.4.0/clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/home/ci/spack/opt/spack/linux-ubuntu18.04-haswell/gcc-7.4.0/clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif/lib;/home/ci/spack/opt/spack/linux-ubuntu18.04-haswell/gcc-7.4.0/clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif/lib64;/usr/lib;/usr/lib' '-DCMAKE_PREFIX_PATH:STRING=' '-DGRAPHICS_TYPE=OpenGL' '-DPRECISION_TYPE=mixed_precision'
1 error found in build log:
     51    -- Check for working Fortran compiler: /home/ci/spack/lib/spack/env/
           gcc/gfortran
     52    -- Check for working Fortran compiler: /home/ci/spack/lib/spack/env/
           gcc/gfortran  -- works
     53    -- Detecting Fortran compiler ABI info
     54    -- Detecting Fortran compiler ABI info - done
     55    -- Checking whether /home/ci/spack/lib/spack/env/gcc/gfortran suppor
           ts Fortran 90
     56    -- Checking whether /home/ci/spack/lib/spack/env/gcc/gfortran suppor
           ts Fortran 90 -- yes
  >> 57    CMake Error: The following variables are used in this project, but t
           hey are set to NOTFOUND.
     58    Please set them or make sure they are set and tested correctly in th
           e CMake files:
     59    OpenCL_LIBRARY (ADVANCED)
     60        linked by target "clamr_cpuonly" in directory /tmp/ci/spack-stag
           e/spack-stage-clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif/spack-sr
           c
     61    
     62    -- Configuring incomplete, errors occurred!
     63    See also "/tmp/ci/spack-stage/spack-stage-clamr-master-6ey2bpfh7owd6
           jzfkr6klag3c7wxdhif/spack-build/CMakeFiles/CMakeOutput.log".
See build log for details:
  /tmp/ci/spack-stage/spack-stage-clamr-master-6ey2bpfh7owd6jzfkr6klag3c7wxdhif/spack-build-out.txt
The command '/bin/sh -c ${SPACK} ${INSECURE} install --source -j4 --only package ${VERBOSE} ${APP}' returned a non-zero code: 1

junghans avatar Nov 18 '19 23:11 junghans