Skip to content

ifx / ifort confusion #3901

@VictorEijkhout

Description

@VictorEijkhout

I've specified ifx as option (isn't it weird to have a hardcoded compiler name as option? Why don't you query the FC environment variable?) and:

^[[0m==============================^[[0m
^[[0mCharm++ 8.0.0 configuration: ^[[0m
^[[0m  OS version:      Linux (Linux 5.14.0-503.23.2.el9_5.x86_64, x86_64)^[[0m
^[[0m  Charm++ version: v80000 ^[[0m
^[[0m  Hostname:        staff.stampede3.tacc.utexas.edu^[[0m
^[[0m  Machine layer:   mpi-linux-x86_64^[[0m
^[[0m  Build target:    charm++^[[0m
^[[0m  Build type:      Release^[[0m
^[[0m  C compiler:      /scratch/projects/compilers/intel25.1/compiler/2025.1/bin/icx [IntelLLVM 2025.1.1]^[[0m
^[[0m  C++ compiler:    /scratch/projects/compilers/intel25.1/compiler/2025.1/bin/icpx [IntelLLVM 2025.1.1]^[[0m
^[[0m  F90 compiler:    /scratch/projects/compilers/intel25.1/compiler/2025.1/bin/ifx [IntelLLVM 2025.1.1]^[[0m
^[[0m  CMake:           /home1/apps/cmake/3.31.5/bin/cmake [3.31.5]^[[0m
^[[0m  Charmc flags:    -optimize -production^[[0m
^[[0m  Enabled options: TRACING ZLIB ^[[0m
^[[0m==============================^[[0m

However, during build somehow ifort is used:

[  2%] ^[[32mBuilding Fortran object CMakeFiles/conv-utilf.dir/pup_f.f90.o^[[0m
/work2/00434/eijkhout/charmpp/charmpp-8.0.1/mpi-linux-x86_64-ifx/bin/charmc: line 230: ifort: command not found
Fatal Error by charmc in directory /work2/00434/eijkhout/charmpp/charmpp-8.0.1/mpi-linux-x86_64-ifx
   Command ifort -auto -fpic -I/work2/00434/eijkhout/charmpp/charmpp-8.0.1/mpi-linux-x86_64-ifx/include -DAMPI_ERRHANDLER_RETURN=0 -O2 -O3 -c /work2/00434/eijkhout/charmpp/charmpp-8.0.1/mpi-linux-x86_\
64-ifx/pup_f.f90 -o CMakeFiles/conv-utilf.dir/pup_f.f90.o returned error code 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions