Skip to content

several fpm tests fail when building fpm with ifort #898

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
perazz opened this issue May 2, 2023 · 1 comment
Closed

several fpm tests fail when building fpm with ifort #898

perazz opened this issue May 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@perazz
Copy link
Member

perazz commented May 2, 2023

Description

When running fpm test with the Intel Fortran compiler, several tests are not passed.

The final count is:

<ERROR> Execution for object " cli-test " returned exit code  17
<ERROR> Execution for object " fpm-test " returned exit code  135
<ERROR>*cmd_run*:stopping due to failed executions
17

Some errors I've collected:

test/fpm_test/test_manifest.f90(1355): error #7976: An allocatable dummy argument may only be argument associated with an allocatable actual argument.   [S]
        if (get_macros(id, package%preprocess(1)%macros, package%version%s()) /= " -DFOO -DBAR=2 -DVERSION=0.1.0") then
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable ARGS when it is not allocated

Image              PC                Routine            Line        Source
cli-test           000000000040E459  main_IP_parse_            254  cli_test.f90
cli-test           000000000040BB9E  MAIN__                    201  cli_test.f90
FAILED: TEST 11BAD STATUS: expected 0 0 actual 0 152 for [run proj1 p2 project3 --profile release]
forrtl: severe (17): syntax error in NAMELIST input, unit -5, file Internal Formatted NML Read, line -1, position 81
Image              PC                Routine            Line        Source
cli-test           0000000000580E6D  Unknown               Unknown  Unknown
cli-test           0000000000584B76  Unknown               Unknown  Unknown
cli-test           0000000000405211  MAIN__                    120  cli_test.f90

Expected Behaviour

All tests should pass

Version of fpm

0.8.1

Platform and Architecture

ubuntu 22.04, x86_64, ifort 2023

Additional Information

No response

@perazz perazz added the bug Something isn't working label May 2, 2023
@perazz perazz mentioned this issue May 3, 2023
9 tasks
@perazz
Copy link
Member Author

perazz commented May 31, 2023

Addressed by #901 .

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant