- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page