Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Using oneAPI on Ubuntu 22.04

WilliamWright
Beginner
577 Views

I installed the oneAPI C++ and fortran compiler on WSL2 and tried to compile a program that has both fortran and C++ routines. I get an error message during installation that it could not find g++.

However g++ is installed by default, i.e.

wbwright@GRLWL0224100067:~/glennice/glennice-home$ which g++
/usr/bin/g++
wbwright@GRLWL0224100067:~/glennice/glennice-home$ g++ --version
g++ (GCC) 12.4.1 20241226
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I can compile some programs, except when I try to use mpi

Again, mpich 4.0.3 comes with the distribution.

0 Kudos
1 Reply
yzh_intel
Moderator
482 Views

Hi, could you give some more details about the error you saw ?

It seems like you're trying to compile a mpi code, could you post the command and maybe also a sample code that can be used to demo the issue ?

0 Kudos
Reply