Re: [OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread Nathan Hjelm via users
Giles is correct. If mpicc is showing errors like those in your original email then it is not invoking a C compiler. C does not have any concept of try or catch. No modern C compiler will complain about a variable named “try” as it is not a reserved keyword in the C language. Example: foo.c:

Re: [OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread Gilles Gouaillardet
Do not get fooled by the symlinks to opal_wrapper ! opal_wrapper checks how it is invoked (e.g. check argv[0] in main()) and the behavior is different if it is invoked as mpicc, mpiCC, mpifort and other If the error persists with mpicc, you can manually extract the mpicc command line, and m

Re: [OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread afernandez
Sam and Jeff, Thank you for your answers. My first attempts actually used mpicc rather than mpiCC, switching to mpiCC was simply to check out if the problem persisted. I noticed that both mpicc and mpiCC are linked to the same file (opal_wrapper) and didn't bother switching it back. I'm not sur

Re: [OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread Jeff Hammond
Indeed, you cannot use "try" as a variable name in C++ because it is a https://en.cppreference.com/w/cpp/keyword. As already suggested, use a C compiler, or you can replace "try" with "xtry" or any other non-reserved word. Jeff On Wed, Apr 3, 2019 at 1:41 PM Gutierrez, Samuel K. via users < user

Re: [OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread Gutierrez, Samuel K. via users
Hi, It looks like you are using the C++ wrapper compiler (mpiCC) instead of the C wrapper compiler (mpicc). Perhaps using mpicc instead of mpiCC will resolve your issue. Best, Sam On Apr 3, 2019, at 12:38 PM, afernan...@odyhpc.com wrote: Hello, I'm trying to co

[OMPI users] Issues compiling HPL with OMPIv4.0.0

2019-04-03 Thread afernandez
Hello, I'm trying to compile HPL(v2.3) with OpenBLAS and OMPI. The compilation succeeds when using the old OMPI (v1.10.8) but fails with OMPI v4.0.0 (I'm still not using v4.0.1). The error is for an old subroutine that determines machine-specific arithmetic constants: mpiCC -o HPL_dlamch.o -c