Skip to content

Compilation with amdflang fails #32

@fluidnumericsJoe

Description

@fluidnumericsJoe

On a system with ROCm 6.0.1 installed, attempts to install with spack install feq-parse % rocmcc fails with the following error

3 errors found in build log:
     49    [  2%] Building Fortran object src/CMakeFiles/feqparse.dir/FEQParse.F90.o
     50    cd /tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-build-mj5pd3f/src && /opt/spack/lib/spack/env/rocmcc/amdflang -Dfeqparse_EXPORTS  -O3 
           -DNDEBUG -J../include -fPIC -c /tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-src/src/FEQParse.F90 -o CMakeFiles/feqparse.dir/FEQParse.F
           90.o
     51    F90-S-0026-Unmatched quote (/tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-src/src/FEQParse.F90: 271)
     52      0 inform,   0 warnings,   1 severes, 0 fatal for tokenize
     53    F90-S-0026-Unmatched quote (/tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-src/src/FEQParse.F90: 1642)
     54      0 inform,   0 warnings,   1 severes, 0 fatal for priority
  >> 55    make[2]: *** [src/CMakeFiles/feqparse.dir/build.make:78: src/CMakeFiles/feqparse.dir/FEQParse.F90.o] Error 1
     56    make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-build-mj5pd3f'
  >> 57    make[1]: *** [CMakeFiles/Makefile2:123: src/CMakeFiles/feqparse.dir/all] Error 2
     58    make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-feq-parse-2.1.0-mj5pd3fuk5pau3org24ulsw7tedhwmo6/spack-build-mj5pd3f'
  >> 59    make: *** [Makefile:139: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions