Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 Diskussionen

Linking issue when using 2023.2.1 and mvapich/3.0b

vanderwb
Anfänger
2.726Aufrufe

I am currently trying to test out the mvapich/3.0b beta version of that MPI library. The MPI library itself builds just fine with OneAPI 2023.2.1, but then when trying to configure the parallel-netcdf/1.12.3 library using this stack, I get the following linker error which I don't know what to do with:

configure:33518: checking if Fortran "integer*1" is
configure:33528: /glade/work/csgteam/spack-deployments/derecho/23.09/envs/build/opt/__spack_path_placeholder__/__spack_path_placeholder__/__spack/mvapich/3.0b/oneapi/2023.2.1/i6ow/bin/mpicc -c -O2 conftest.c
configure:33531: $? = 0
configure:33534: /glade/work/csgteam/spack-deployments/derecho/23.09/envs/build/opt/__spack_path_placeholder__/__spack_path_placeholder__/__spack/mvapich/3.0b/oneapi/2023.2.1/i6ow/bin/mpif90 -g -c conftestf.f
configure:33537: $? = 0
configure:33540: /glade/work/csgteam/spack-deployments/derecho/23.09/envs/build/opt/__spack_path_placeholder__/__spack_path_placeholder__/__spack/mvapich/3.0b/oneapi/2023.2.1/i6ow/bin/mpif90 -o conftest -g conftestf.o conftest.o
ifort: command line warning #10006: ignoring unknown option '-rpath'
ld: error: Failed to get a view of /glade/work/csgteam/spack-deployments/derecho/23.09/envs/build/opt/__spack_path_placeholder__/__spack_path_placeholder__/__spack/mvapich/3.0b/oneapi/2023.2.1/i6ow/lib
ld: /glade/u/apps/common/23.08/spack/opt/spack/intel-oneapi-compilers/2023.2.1/compiler/2023.2.1/linux/bin/intel64/../../bin/intel64/../../lib/icx-lto.so: plugin reported error claiming file
configure:33543: $? = 1
configure:33563: error: Could not link conftestf.o and conftest.o  

All of this is being installed using Spack. Other details relevant:

  1. Building in a SLES 15 environment.
  2. OS has binutils 2.37.
  3. Using icx, icpx, and ifort.
  4. Building on a Lustre file system, though compiler is on GPFS.

Any thoughts on what the issue may be? The only thing I found online was this comment in a RHEL bug thread for LLVM, but not sure how its getting triggered here... https://bugzilla.redhat.com/show_bug.cgi?id=1954375#c5

Thanks in advance!

-Brian

0 Kudos
1 Lösung
vanderwb
Anfänger
2.449Aufrufe

That configure issue was unrelated. That said, I'm happy to report that this issue, whatever it is, has gone away in the 2024.0.0 release.

Lösung in ursprünglichem Beitrag anzeigen

5 Antworten
Barbara_P_Intel
Mitarbeiter
2.686Aufrufe

Have you tried compiling with ifx, instead of, ifort?

 

vanderwb
Anfänger
2.677Aufrufe

Hi Barbara,

Thanks for the reply. Yes - I have tried that, and it fails on the same configure test for parallel-netcdf. The error message is a bit different, but I assume it's the same fundamental issue.

configure:33789: /glade/derecho/scratch/vanderwb/spack-tests/derecho/23.09/envs/build/opt/__spack_path_placeholder__/__spack_path_placeholder__/_/mvapich/3.0b/oneapi/2023.2.1/i6ow/bin/mpif90
 -o conftest -fPIC  conftestf.o conftest.o
ifx: command line warning #10006: ignoring unknown option '-rpath'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: read in flex scanner failed
configure:33792: $? = 1
configure:33812: error: Could not link conftestf.o and conftest.o

Regards,

Brian

Barbara_P_Intel
Mitarbeiter
2.653Aufrufe

I just remembered that there's a known issue with certain versions of configure. See the Fortran Release Notes, search for "Configure Script Reports". 

It's not quite the error you are seeing, but might be worth a shot.

 

vanderwb
Anfänger
2.450Aufrufe

That configure issue was unrelated. That said, I'm happy to report that this issue, whatever it is, has gone away in the 2024.0.0 release.

Barbara_P_Intel
Mitarbeiter
2.447Aufrufe

YAY!  Thanks for letting us know!

Antworten