Re: [OMPI users] [EXTERNAL] Shmem errors on Mac OS Catalina

2020-02-06 Thread Gutierrez, Samuel K. via users
Good afternoon,

I fear that files created with shm_open(), a call used in the posix shmem 
component, are not being cleaned up properly. To test this theory, can you 
please reboot your computer and try again? Rebooting should remove any 
temporary files created with shm_open().

Sam

On Feb 6, 2020, at 4:34 PM, Jin Tao via users 
mailto:users@lists.open-mpi.org>> wrote:

Hi,

I am running Open MPI on Mac OS Catalina and am running into an issue.

- I installed Open MPI and everything seemed to be working fine until a few 
hours ago.

- I make and run with the terminal command:

 make &&  mpiexec --mca shmem posix --oversubscribe -np 8 main.out

- When I do this, I get the following error:

opal_shmem_base_select failed
--> Returned value -1 instead of OPAL_SUCCESS

- If i remove some of the compiler flags, and run as follows, I get another 
error:

schmem: posix: file name search - max attempts exceeded.cannot continue with 
posix.

- In fact, now the program fails to compile at all, and just hangs when I run 
the make and run command outlined earlier.

The program was running correctly earlier today. Could someone please advise? I 
am new to MPI and would ideally like to develop a lot of skill in using this 
library for my work.

Thanks!



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 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   -I/home/centos/benchmarks/hpl-2.2/include 
-I/home/centos/benchmarks/hpl-2.2/include/impetus03  -I/opt/openmpi/include  
../HPL_dlamch.c
../HPL_dlamch.c: In function ‘void HPL_dlamc5(int, int, int, int, int*, 
double*)’:
../HPL_dlamch.c:749:67: error: expected unqualified-id before ‘try’
intexbits=1, expsum, i, lexp=1, nbits, try,
   ^
../HPL_dlamch.c:761:8: error: expected ‘{’ before ‘=’ token
try = (int)( (unsigned int)(lexp) << 1 );
^
../HPL_dlamch.c:761:8: error: expected ‘catch’ before ‘=’ token
../HPL_dlamch.c:761:8: error: expected ‘(’ before ‘=’ token
../HPL_dlamch.c:761:8: error: expected type-specifier before ‘=’ token
../HPL_dlamch.c:761:8: error: expected ‘)’ before ‘=’ token
../HPL_dlamch.c:761:8: error: expected ‘{’ before ‘=’ token
../HPL_dlamch.c:761:8: error: expected primary-expression before ‘=’ token
../HPL_dlamch.c:762:8: error: expected primary-expression before ‘try’
if( try <= ( -EMIN ) ) { lexp = try; exbits++; goto l_10; }
^
../HPL_dlamch.c:762:8: error: expected ‘)’ before ‘try’
../HPL_dlamch.c:762:36: error: expected primary-expression before ‘try’
if( try <= ( -EMIN ) ) { lexp = try; exbits++; goto l_10; }
^
../HPL_dlamch.c:762:36: error: expected ‘;’ before ‘try’
../HPL_dlamch.c:764:26: error: ‘uexp’ was not declared in this scope
if( lexp == -EMIN ) { uexp = lexp; } else { uexp = try; exbits++; }
  ^
../HPL_dlamch.c:764:48: error: ‘uexp’ was not declared in this scope
if( lexp == -EMIN ) { uexp = lexp; } else { uexp = try; exbits++; }
^
../HPL_dlamch.c:764:55: error: expected primary-expression before ‘try’
if( lexp == -EMIN ) { uexp = lexp; } else { uexp = try; exbits++; }
   ^
../HPL_dlamch.c:764:55: error: expected ‘;’ before ‘try’
../HPL_dlamch.c:770:10: error: ‘uexp’ was not declared in this scope
if( ( uexp+EMIN ) > ( -lexp-EMIN ) )
  ^
make[2]: *** [HPL_dlamch.o] Error 1
make[2]: Leaving directory `/home/centos/hpl-2.3/src/auxil/impetus03'
make[1]: *** [build_src] Error 2
make[1]: Leaving directory `/home/centos/hpl-2.3'
make: *** [build] Error 2

I don't understand the nature of the problem or why it works with the old OMPI 
version and not with the new. Any help or pointer would be appreciated.
Thanks.
AFernandez


___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users