That error message is right in your original post, and I didn't even see
it:
configure:6541: icc -O2 conftest.c >&5
ld: cannot find -lstdc++
Well, that's an easy fix.
I guess my eyes stopped when I got to this:
configure: error: C compiler cannot create executables See `config.log' for
more details
You can ignore my message about /tmp being mounted noexec. ;)
Prentice
On 3/30/21 1:04 PM, bend linux4ms.net via users wrote:
I think I have found one of the issues. I took the check c program from openmpi
and tried to compile and got the following:
[root@jean-r8-sch24 benchmarks]# icc dummy.c
ld: cannot find -lstdc++
[root@jean-r8-sch24 benchmarks]# cat dummy.c
int
main ()
{
;
return 0;
}
[root@jean-r8-sch24 benchmarks]#
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
________________________________________
From: users <users-boun...@lists.open-mpi.org> on behalf of bend linux4ms.net via
users <users@lists.open-mpi.org>
Sent: Tuesday, March 30, 2021 12:00 PM
To: Open MPI Users
Cc: bend linux4ms.net
Subject: Re: [OMPI users] Newbie With Issues
Thanks Mr Heinz for responding.
It maybe the case with clang, but doing a intel setvars.sh then issuing the
following
compile gives me the message:
[root@jean-r8-sch24 openmpi-4.1.0]# icc
icc: command line error: no files specified; for help type "icc -help"
[root@jean-r8-sch24 openmpi-4.1.0]# icc -v
icc version 2021.1 (gcc version 8.3.1 compatibility)
[root@jean-r8-sch24 openmpi-4.1.0]#
Would lead me to believe that icc is still available to use.
This is a government contract and they want the latest and greatest.
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
________________________________________
From: Heinz, Michael William <michael.william.he...@cornelisnetworks.com>
Sent: Tuesday, March 30, 2021 11:52 AM
To: Open MPI Users
Cc: bend linux4ms.net
Subject: RE: Newbie With Issues
It looks like you're trying to build Open MPI with the Intel C compiler. TBH -
I think that icc isn't included with the latest release of oneAPI, I think
they've switched to including clang instead. I had a similar issue to yours but
I resolved it by installing a 2020 version of the Intel HPC software.
Unfortunately, those versions require purchasing a license.
-----Original Message-----
From: users <users-boun...@lists.open-mpi.org> On Behalf Of bend linux4ms.net
via users
Sent: Tuesday, March 30, 2021 12:42 PM
To: Open MPI Open MPI <users@lists.open-mpi.org>
Cc: bend linux4ms.net <b...@linux4ms.net>
Subject: [OMPI users] Newbie With Issues
Hello group, My name is Ben Duncan. I have been tasked with installing openMPI
and Intel compiler on a HPC systems. I am new to the the whole HPC and MPI
environment so be patient with me.
I have successfully gotten the Intel compiler (oneapi version from
l_HPCKit_p_2021.1.0.2684_offline.sh installed without any errors.
I am trying to install and configure the openMPI version 4.1.0 however trying
to run configuration for openmpi gives me the following error:
============================================================================
== Configuring Open MPI
============================================================================
*** Startup tests
checking build system type... x86_64-unknown-linux-gnu checking host system
type... x86_64-unknown-linux-gnu checking target system type...
x86_64-unknown-linux-gnu checking for gcc... icc checking whether the C
compiler works... no
configure: error: in `/p/app/openmpi-4.1.0':
configure: error: C compiler cannot create executables See `config.log' for
more details
With the error in config.log being:
configure:6499: $? = 0
configure:6488: icc -qversion >&5
icc: command line warning #10006: ignoring unknown option '-qversion'
icc: command line error: no files specified; for help type "icc -help"
configure:6499: $? = 1
configure:6519: checking whether the C compiler works
configure:6541: icc -O2 conftest.c >&5
ld: cannot find -lstdc++
configure:6545: $? = 1
configure:6583: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Open MPI"
| #define PACKAGE_TARNAME "openmpi"
| #define PACKAGE_VERSION "4.1.0"
| #define PACKAGE_STRING "Open MPI 4.1.0"
| #define PACKAGE_BUGREPORT
"https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.open-mpi.org%2Fcommunity%2Fhelp%2F&data=04%7C01%7Cmichael.william.heinz%40cornelisnetworks.com%7C452071550e3c40842a6008d8f39b1ab4%7C4dbdb7da74ee4b458747ef5ce5ebe68a%7C0%7C0%7C637527194795401887%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MqdORKp%2Fbf6mS7NQ51RjPUe0WVVcBITwP0HpxpYyBjI%3D&reserved=0"
| #define PACKAGE_URL ""
| #define OPAL_ARCH "x86_64-unknown-linux-gnu"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:6588: error: in `/p/app/openmpi-4.1.0':
configure:6590: error: C compiler cannot create executables See `config.log'
for more details
My configure line looks like:
./configure --prefix=/p/app/compilers/openmpi-4.1.0/openmpi-4.1.0.intel
--enable-wrapper-rpath --disable-libompitrace
--enable-mpirun-prefix-by-default --enable-mpi-fortran
SO what am I doing wrong , or is it something else ?
Thanks
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor