setup-fortran icon indicating copy to clipboard operation
setup-fortran copied to clipboard

intel + windows + fpm issue

Open jalvesz opened this issue 1 year ago • 1 comments

Hi, I have a compile problem with the setup currently with the combo intel (ifort/ifx) + windows that I don't manage to see where it comes from: https://github.com/jalvesz/fast_math/actions/runs/7534919393/job/20510066540

Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.10.0 Build 20230609_000000
<ERROR> Compilation failed for object " test_fast_math.exe "
Copyright (C) 1985-2023 Intel Corporation.  All rights reserved.

ifort: command line warning #10006: ignoring unknown option '/xhost'
ifort: command line warning #10161: unrecognized source type 'build\ifort_5B04FF2A4A1[58](https://github.com/jalvesz/fast_math/actions/runs/7534919393/job/20510066540#step:6:59)0B5\fast_math\test_test_fast_math.f90.o'; object file assumed
link: unknown option -- s
Try 'link --help' for more information.
<ERROR> stopping due to failed compilation
STOP 1
Error: Process completed with exit code 1.

I have a windows machine locally and I can't reproduce this pb. does it ring any bells?

Thanks for any advice,

jalvesz avatar Jan 16 '24 12:01 jalvesz

Having a similar problem with both ifort (2021.10) and ifx (2024.1) on Windows runners:

Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.1.0 Build 20240308
<ERROR> Compilation failed for object " ex1.exe "
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
<ERROR> stopping due to failed compilation

STOP 1
link: unknown option -- d
Try 'link --help' for more information.
Error: Process completed with exit code 1.

minhqdao avatar Apr 24 '24 19:04 minhqdao